final class sun.security.ssl.HandshakeMessage$ServerHello extends sun.security.ssl.HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.HandshakeMessage$ServerHello
super_class: sun.security.ssl.HandshakeMessage
{
sun.security.ssl.ProtocolVersion protocolVersion;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0000)
sun.security.ssl.RandomCookie svr_random;
descriptor: Lsun/security/ssl/RandomCookie;
flags: (0x0000)
sun.security.ssl.SessionId sessionId;
descriptor: Lsun/security/ssl/SessionId;
flags: (0x0000)
sun.security.ssl.CipherSuite cipherSuite;
descriptor: Lsun/security/ssl/CipherSuite;
flags: (0x0000)
byte compression_method;
descriptor: B
flags: (0x0000)
sun.security.ssl.HelloExtensions extensions;
descriptor: Lsun/security/ssl/HelloExtensions;
flags: (0x0000)
int messageType();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_2
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeMessage$ServerHello;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.security.ssl.HandshakeMessage.<init>:()V
1: aload 0
new sun.security.ssl.HelloExtensions
dup
invokespecial sun.security.ssl.HelloExtensions.<init>:()V
putfield sun.security.ssl.HandshakeMessage$ServerHello.extensions:Lsun/security/ssl/HelloExtensions;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeMessage$ServerHello;
void <init>(sun.security.ssl.HandshakeInStream, int);
descriptor: (Lsun/security/ssl/HandshakeInStream;I)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.ssl.HandshakeMessage.<init>:()V
1: aload 0
new sun.security.ssl.HelloExtensions
dup
invokespecial sun.security.ssl.HelloExtensions.<init>:()V
putfield sun.security.ssl.HandshakeMessage$ServerHello.extensions:Lsun/security/ssl/HelloExtensions;
2: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
3: aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
4: invokestatic sun.security.ssl.ProtocolVersion.valueOf:(II)Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.HandshakeMessage$ServerHello.protocolVersion:Lsun/security/ssl/ProtocolVersion;
5: aload 0
new sun.security.ssl.RandomCookie
dup
aload 1
invokespecial sun.security.ssl.RandomCookie.<init>:(Lsun/security/ssl/HandshakeInStream;)V
putfield sun.security.ssl.HandshakeMessage$ServerHello.svr_random:Lsun/security/ssl/RandomCookie;
6: aload 0
new sun.security.ssl.SessionId
dup
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getBytes8:()[B
invokespecial sun.security.ssl.SessionId.<init>:([B)V
putfield sun.security.ssl.HandshakeMessage$ServerHello.sessionId:Lsun/security/ssl/SessionId;
7: aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.sessionId:Lsun/security/ssl/SessionId;
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.protocolVersion:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.SessionId.checkLength:(Lsun/security/ssl/ProtocolVersion;)V
8: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
invokestatic sun.security.ssl.CipherSuite.valueOf:(II)Lsun/security/ssl/CipherSuite;
putfield sun.security.ssl.HandshakeMessage$ServerHello.cipherSuite:Lsun/security/ssl/CipherSuite;
9: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
i2b
putfield sun.security.ssl.HandshakeMessage$ServerHello.compression_method:B
10: aload 0
invokevirtual sun.security.ssl.HandshakeMessage$ServerHello.messageLength:()I
iload 2
if_icmpeq 12
11: aload 0
new sun.security.ssl.HelloExtensions
dup
aload 1
invokespecial sun.security.ssl.HelloExtensions.<init>:(Lsun/security/ssl/HandshakeInStream;)V
putfield sun.security.ssl.HandshakeMessage$ServerHello.extensions:Lsun/security/ssl/HelloExtensions;
12: StackMap locals: sun.security.ssl.HandshakeMessage$ServerHello sun.security.ssl.HandshakeInStream int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/ssl/HandshakeMessage$ServerHello;
0 13 1 input Lsun/security/ssl/HandshakeInStream;
0 13 2 messageLength I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
messageLength
int messageLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 38
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.length:()I
iadd
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.extensions:Lsun/security/ssl/HelloExtensions;
invokevirtual sun.security.ssl.HelloExtensions.length:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeMessage$ServerHello;
void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.protocolVersion:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.major:B
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
1: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.protocolVersion:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.minor:B
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
2: aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.svr_random:Lsun/security/ssl/RandomCookie;
aload 1
invokevirtual sun.security.ssl.RandomCookie.send:(Lsun/security/ssl/HandshakeOutStream;)V
3: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.getId:()[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
4: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.cipherSuite:Lsun/security/ssl/CipherSuite;
getfield sun.security.ssl.CipherSuite.id:I
bipush 8
ishr
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
5: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.cipherSuite:Lsun/security/ssl/CipherSuite;
getfield sun.security.ssl.CipherSuite.id:I
sipush 255
iand
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
6: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.compression_method:B
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
7: aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.extensions:Lsun/security/ssl/HelloExtensions;
aload 1
invokevirtual sun.security.ssl.HelloExtensions.send:(Lsun/security/ssl/HandshakeOutStream;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/HandshakeMessage$ServerHello;
0 9 1 s Lsun/security/ssl/HandshakeOutStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
void print(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new java.lang.StringBuilder
dup
ldc "*** ServerHello, "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.protocolVersion:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic sun.security.ssl.HandshakeMessage$ServerHello.debug:Lsun/security/ssl/Debug;
ifnull 10
ldc "verbose"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 10
2: aload 1
ldc "RandomCookie: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.svr_random:Lsun/security/ssl/RandomCookie;
aload 1
invokevirtual sun.security.ssl.RandomCookie.print:(Ljava/io/PrintStream;)V
4: aload 1
ldc "Session ID: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
5: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.sessionId:Lsun/security/ssl/SessionId;
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
6: aload 1
new java.lang.StringBuilder
dup
ldc "Cipher Suite: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.cipherSuite:Lsun/security/ssl/CipherSuite;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: aload 1
new java.lang.StringBuilder
dup
ldc "Compression Method: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.compression_method:B
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: aload 0
getfield sun.security.ssl.HandshakeMessage$ServerHello.extensions:Lsun/security/ssl/HelloExtensions;
aload 1
invokevirtual sun.security.ssl.HelloExtensions.print:(Ljava/io/PrintStream;)V
9: aload 1
ldc "***"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/HandshakeMessage$ServerHello;
0 11 1 s Ljava/io/PrintStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "HandshakeMessage.java"
NestHost: sun.security.ssl.HandshakeMessage
InnerClasses:
final ServerHello = sun.security.ssl.HandshakeMessage$ServerHello of sun.security.ssl.HandshakeMessage