public class sun.security.ssl.HandshakeOutStream extends java.io.ByteArrayOutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.ssl.HandshakeOutStream
super_class: java.io.ByteArrayOutputStream
{
sun.security.ssl.OutputRecord outputRecord;
descriptor: Lsun/security/ssl/OutputRecord;
flags: (0x0000)
void <init>(sun.security.ssl.OutputRecord);
descriptor: (Lsun/security/ssl/OutputRecord;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.ByteArrayOutputStream.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.HandshakeOutStream.outputRecord:Lsun/security/ssl/OutputRecord;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeOutStream;
0 3 1 outputRecord Lsun/security/ssl/OutputRecord;
MethodParameters:
Name Flags
outputRecord
void complete();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.ssl.HandshakeOutStream.size:()I
iconst_4
if_icmpge 2
1: new java.lang.RuntimeException
dup
ldc "handshake message is not available"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeOutStream.outputRecord:Lsun/security/ssl/OutputRecord;
aload 0
getfield sun.security.ssl.HandshakeOutStream.buf:[B
iconst_0
aload 0
getfield sun.security.ssl.HandshakeOutStream.count:I
invokevirtual sun.security.ssl.OutputRecord.encodeHandshake:([BII)V
3: aload 0
invokevirtual sun.security.ssl.HandshakeOutStream.reset:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeOutStream;
Exceptions:
throws java.io.IOException
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ldc 16777216
invokestatic sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
1: aload 0
aload 1
iload 2
iload 3
invokespecial java.io.ByteArrayOutputStream.write:([BII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeOutStream;
0 3 1 b [B
0 3 2 off I
0 3 3 len I
MethodParameters:
Name Flags
b
off
len
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeOutStream.outputRecord:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/HandshakeOutStream;
Exceptions:
throws java.io.IOException
void putInt8(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
sipush 256
invokestatic sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
1: aload 0
iload 1
invokespecial java.io.ByteArrayOutputStream.write:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeOutStream;
0 3 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
void putInt16(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ldc 65536
invokestatic sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
1: aload 0
iload 1
bipush 8
ishr
invokespecial java.io.ByteArrayOutputStream.write:(I)V
2: aload 0
iload 1
invokespecial java.io.ByteArrayOutputStream.write:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/HandshakeOutStream;
0 4 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
void putInt24(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ldc 16777216
invokestatic sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
1: aload 0
iload 1
bipush 16
ishr
invokespecial java.io.ByteArrayOutputStream.write:(I)V
2: aload 0
iload 1
bipush 8
ishr
invokespecial java.io.ByteArrayOutputStream.write:(I)V
3: aload 0
iload 1
invokespecial java.io.ByteArrayOutputStream.write:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeOutStream;
0 5 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
void putBytes8(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
iconst_0
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
4: aload 0
aload 1
iconst_0
aload 1
arraylength
invokespecial java.io.ByteArrayOutputStream.write:([BII)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/HandshakeOutStream;
0 6 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void putBytes16(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
iconst_0
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
4: aload 0
aload 1
iconst_0
aload 1
arraylength
invokespecial java.io.ByteArrayOutputStream.write:([BII)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/HandshakeOutStream;
0 6 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
void putBytes24(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
iconst_0
invokevirtual sun.security.ssl.HandshakeOutStream.putInt24:(I)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.putInt24:(I)V
4: aload 0
aload 1
iconst_0
aload 1
arraylength
invokespecial java.io.ByteArrayOutputStream.write:([BII)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/HandshakeOutStream;
0 6 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private static void checkOverflow(int, int);
descriptor: (II)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
if_icmplt 6
1: new java.lang.RuntimeException
dup
2: new java.lang.StringBuilder
dup
ldc "Field length overflow, the field length ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") should be less than "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 length I
0 7 1 limit I
MethodParameters:
Name Flags
length
limit
}
SourceFile: "HandshakeOutStream.java"