public class sun.security.ssl.HandshakeOutStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.ssl.HandshakeOutStream
super_class: java.io.OutputStream
{
private sun.security.ssl.SSLSocketImpl socket;
descriptor: Lsun/security/ssl/SSLSocketImpl;
flags: (0x0002) ACC_PRIVATE
private sun.security.ssl.SSLEngineImpl engine;
descriptor: Lsun/security/ssl/SSLEngineImpl;
flags: (0x0002) ACC_PRIVATE
sun.security.ssl.OutputRecord r;
descriptor: Lsun/security/ssl/OutputRecord;
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/security/ssl/HandshakeOutStream;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.security.ssl.HandshakeOutStream.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.security.ssl.ProtocolVersion, sun.security.ssl.ProtocolVersion, sun.security.ssl.HandshakeHash, sun.security.ssl.SSLSocketImpl);
descriptor: (Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;Lsun/security/ssl/SSLSocketImpl;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
aload 4
putfield sun.security.ssl.HandshakeOutStream.socket:Lsun/security/ssl/SSLSocketImpl;
2: aload 0
new sun.security.ssl.OutputRecord
dup
bipush 22
invokespecial sun.security.ssl.OutputRecord.<init>:(B)V
putfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
3: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.security.ssl.HandshakeOutStream.init:(Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeOutStream;
0 5 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 5 2 helloVersion Lsun/security/ssl/ProtocolVersion;
0 5 3 handshakeHash Lsun/security/ssl/HandshakeHash;
0 5 4 socket Lsun/security/ssl/SSLSocketImpl;
MethodParameters:
Name Flags
protocolVersion
helloVersion
handshakeHash
socket
void <init>(sun.security.ssl.ProtocolVersion, sun.security.ssl.ProtocolVersion, sun.security.ssl.HandshakeHash, sun.security.ssl.SSLEngineImpl);
descriptor: (Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;Lsun/security/ssl/SSLEngineImpl;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
aload 4
putfield sun.security.ssl.HandshakeOutStream.engine:Lsun/security/ssl/SSLEngineImpl;
2: aload 0
new sun.security.ssl.EngineOutputRecord
dup
bipush 22
aload 4
invokespecial sun.security.ssl.EngineOutputRecord.<init>:(BLsun/security/ssl/SSLEngineImpl;)V
putfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
3: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.security.ssl.HandshakeOutStream.init:(Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeOutStream;
0 5 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 5 2 helloVersion Lsun/security/ssl/ProtocolVersion;
0 5 3 handshakeHash Lsun/security/ssl/HandshakeHash;
0 5 4 engine Lsun/security/ssl/SSLEngineImpl;
MethodParameters:
Name Flags
protocolVersion
helloVersion
handshakeHash
engine
private void init(sun.security.ssl.ProtocolVersion, sun.security.ssl.ProtocolVersion, sun.security.ssl.HandshakeHash);
descriptor: (Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
aload 1
invokevirtual sun.security.ssl.OutputRecord.setVersion:(Lsun/security/ssl/ProtocolVersion;)V
1: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
aload 2
invokevirtual sun.security.ssl.OutputRecord.setHelloVersion:(Lsun/security/ssl/ProtocolVersion;)V
2: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
aload 3
invokevirtual sun.security.ssl.OutputRecord.setHandshakeHash:(Lsun/security/ssl/HandshakeHash;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/HandshakeOutStream;
0 4 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 4 2 helloVersion Lsun/security/ssl/ProtocolVersion;
0 4 3 handshakeHash Lsun/security/ssl/HandshakeHash;
MethodParameters:
Name Flags
protocolVersion
helloVersion
handshakeHash
void doHashes();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.doHashes:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/HandshakeOutStream;
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 8
1: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.availableDataBytes:()I
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 2: iload 4
ifne 5
3: aload 0
invokevirtual sun.security.ssl.HandshakeOutStream.flush:()V
4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
aload 1
iload 2
iload 4
invokevirtual sun.security.ssl.OutputRecord.write:([BII)V
6: iload 2
iload 4
iadd
istore 2
7: iload 3
iload 4
isub
istore 3
end local 4 8: StackMap locals:
StackMap stack:
iload 3
ifgt 1
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/HandshakeOutStream;
0 10 1 buf [B
0 10 2 off I
0 10 3 len I
2 8 4 howmuch I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
off
len
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.availableDataBytes:()I
iconst_1
if_icmpge 2
1: aload 0
invokevirtual sun.security.ssl.HandshakeOutStream.flush:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
invokevirtual sun.security.ssl.OutputRecord.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
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeOutStream.socket:Lsun/security/ssl/SSLSocketImpl;
ifnull 6
1: aload 0
getfield sun.security.ssl.HandshakeOutStream.socket:Lsun/security/ssl/SSLSocketImpl;
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.SSLSocketImpl.writeRecord:(Lsun/security/ssl/OutputRecord;)V
2: goto 7
StackMap locals:
StackMap stack: java.io.IOException
3: astore 1
start local 1 4: aload 0
getfield sun.security.ssl.HandshakeOutStream.socket:Lsun/security/ssl/SSLSocketImpl;
iconst_1
invokevirtual sun.security.ssl.SSLSocketImpl.waitForClose:(Z)V
5: aload 1
athrow
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeOutStream.engine:Lsun/security/ssl/SSLEngineImpl;
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
checkcast sun.security.ssl.EngineOutputRecord
invokevirtual sun.security.ssl.SSLEngineImpl.writeRecord:(Lsun/security/ssl/EngineOutputRecord;)V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/HandshakeOutStream;
4 6 1 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
Exceptions:
throws java.io.IOException
void setFinishedMsg();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.ssl.HandshakeOutStream.$assertionsDisabled:Z
ifne 1
aload 0
getfield sun.security.ssl.HandshakeOutStream.socket:Lsun/security/ssl/SSLSocketImpl;
ifnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
checkcast sun.security.ssl.EngineOutputRecord
invokevirtual sun.security.ssl.EngineOutputRecord.setFinishedMsg:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeOutStream;
void putInt8(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
sipush 256
invokevirtual sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
1: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
invokevirtual sun.security.ssl.OutputRecord.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: aload 0
iload 1
ldc 65536
invokevirtual sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
1: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.availableDataBytes:()I
iconst_2
if_icmpge 3
2: aload 0
invokevirtual sun.security.ssl.HandshakeOutStream.flush:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
bipush 8
ishr
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
4: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/HandshakeOutStream;
0 6 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: aload 0
iload 1
ldc 16777216
invokevirtual sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
1: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.availableDataBytes:()I
iconst_3
if_icmpge 3
2: aload 0
invokevirtual sun.security.ssl.HandshakeOutStream.flush:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
bipush 16
ishr
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
4: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
bipush 8
ishr
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
5: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeOutStream;
0 7 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
void putInt32(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.availableDataBytes:()I
iconst_4
if_icmpge 2
1: aload 0
invokevirtual sun.security.ssl.HandshakeOutStream.flush:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
bipush 24
ishr
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
3: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
bipush 16
ishr
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
4: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
bipush 8
ishr
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
5: aload 0
getfield sun.security.ssl.HandshakeOutStream.r:Lsun/security/ssl/OutputRecord;
iload 1
invokevirtual sun.security.ssl.OutputRecord.write:(I)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeOutStream;
0 7 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: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
sipush 256
invokevirtual sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
4: aload 0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
5: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.write:([BII)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeOutStream;
0 7 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: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
ldc 65536
invokevirtual sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
4: aload 0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
5: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.write:([BII)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeOutStream;
0 7 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: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
ldc 16777216
invokevirtual sun.security.ssl.HandshakeOutStream.checkOverflow:(II)V
4: aload 0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.putInt24:(I)V
5: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeOutStream.write:([BII)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeOutStream;
0 7 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
private void checkOverflow(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
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 1
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 2
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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeOutStream;
0 7 1 length I
0 7 2 overflow I
MethodParameters:
Name Flags
length
overflow
}
SourceFile: "HandshakeOutStream.java"