final class sun.security.ssl.HandshakeMessage$ClientHello extends sun.security.ssl.HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.HandshakeMessage$ClientHello
super_class: sun.security.ssl.HandshakeMessage
{
sun.security.ssl.ProtocolVersion protocolVersion;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0000)
sun.security.ssl.RandomCookie clnt_random;
descriptor: Lsun/security/ssl/RandomCookie;
flags: (0x0000)
sun.security.ssl.SessionId sessionId;
descriptor: Lsun/security/ssl/SessionId;
flags: (0x0000)
private sun.security.ssl.CipherSuiteList cipherSuites;
descriptor: Lsun/security/ssl/CipherSuiteList;
flags: (0x0002) ACC_PRIVATE
byte[] compression_methods;
descriptor: [B
flags: (0x0000)
sun.security.ssl.HelloExtensions extensions;
descriptor: Lsun/security/ssl/HelloExtensions;
flags: (0x0000)
private static final byte[] NULL_COMPRESSION;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
newarray 8
putstatic sun.security.ssl.HandshakeMessage$ClientHello.NULL_COMPRESSION:[B
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.security.SecureRandom, sun.security.ssl.ProtocolVersion, sun.security.ssl.SessionId, sun.security.ssl.CipherSuiteList);
descriptor: (Ljava/security/SecureRandom;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/SessionId;Lsun/security/ssl/CipherSuiteList;)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 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$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
2: aload 0
aload 2
putfield sun.security.ssl.HandshakeMessage$ClientHello.protocolVersion:Lsun/security/ssl/ProtocolVersion;
3: aload 0
aload 3
putfield sun.security.ssl.HandshakeMessage$ClientHello.sessionId:Lsun/security/ssl/SessionId;
4: aload 0
aload 4
putfield sun.security.ssl.HandshakeMessage$ClientHello.cipherSuites:Lsun/security/ssl/CipherSuiteList;
5: aload 0
new sun.security.ssl.RandomCookie
dup
aload 1
invokespecial sun.security.ssl.RandomCookie.<init>:(Ljava/security/SecureRandom;)V
putfield sun.security.ssl.HandshakeMessage$ClientHello.clnt_random:Lsun/security/ssl/RandomCookie;
6: aload 0
getstatic sun.security.ssl.HandshakeMessage$ClientHello.NULL_COMPRESSION:[B
putfield sun.security.ssl.HandshakeMessage$ClientHello.compression_methods:[B
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
0 8 1 generator Ljava/security/SecureRandom;
0 8 2 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 8 3 sessionId Lsun/security/ssl/SessionId;
0 8 4 cipherSuites Lsun/security/ssl/CipherSuiteList;
MethodParameters:
Name Flags
generator
protocolVersion
sessionId
cipherSuites
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$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
2: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
invokestatic sun.security.ssl.ProtocolVersion.valueOf:(II)Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.HandshakeMessage$ClientHello.protocolVersion:Lsun/security/ssl/ProtocolVersion;
3: 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$ClientHello.clnt_random:Lsun/security/ssl/RandomCookie;
4: 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$ClientHello.sessionId:Lsun/security/ssl/SessionId;
5: aload 0
new sun.security.ssl.CipherSuiteList
dup
aload 1
invokespecial sun.security.ssl.CipherSuiteList.<init>:(Lsun/security/ssl/HandshakeInStream;)V
putfield sun.security.ssl.HandshakeMessage$ClientHello.cipherSuites:Lsun/security/ssl/CipherSuiteList;
6: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getBytes8:()[B
putfield sun.security.ssl.HandshakeMessage$ClientHello.compression_methods:[B
7: aload 0
invokevirtual sun.security.ssl.HandshakeMessage$ClientHello.messageLength:()I
iload 2
if_icmpeq 9
8: 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$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
9: StackMap locals: sun.security.ssl.HandshakeMessage$ClientHello sun.security.ssl.HandshakeInStream int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
0 10 1 s Lsun/security/ssl/HandshakeInStream;
0 10 2 messageLength I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
messageLength
sun.security.ssl.CipherSuiteList getCipherSuites();
descriptor: ()Lsun/security/ssl/CipherSuiteList;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.cipherSuites:Lsun/security/ssl/CipherSuiteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
void addRenegotiationInfoExtension(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.ssl.RenegotiationInfoExtension
dup
1: aload 1
iconst_0
newarray 8
2: invokespecial sun.security.ssl.RenegotiationInfoExtension.<init>:([B[B)V
astore 2
start local 2 3: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
aload 2
invokevirtual sun.security.ssl.HelloExtensions.add:(Lsun/security/ssl/HelloExtension;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
0 5 1 clientVerifyData [B
3 5 2 renegotiationInfo Lsun/security/ssl/HelloExtension;
MethodParameters:
Name Flags
clientVerifyData
void addExtendedMasterSecretExtension();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
new sun.security.ssl.ExtendedMasterSecretExtension
dup
invokespecial sun.security.ssl.ExtendedMasterSecretExtension.<init>:()V
invokevirtual sun.security.ssl.HelloExtensions.add:(Lsun/security/ssl/HelloExtension;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
int messageType();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
int messageLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: bipush 38
1: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.length:()I
2: iadd
3: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.cipherSuites:Lsun/security/ssl/CipherSuiteList;
invokevirtual sun.security.ssl.CipherSuiteList.size:()I
iconst_2
imul
4: iadd
5: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.compression_methods:[B
arraylength
6: iadd
7: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
invokevirtual sun.security.ssl.HelloExtensions.length:()I
8: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.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$ClientHello.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$ClientHello.clnt_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$ClientHello.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.getId:()[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
4: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.cipherSuites:Lsun/security/ssl/CipherSuiteList;
aload 1
invokevirtual sun.security.ssl.CipherSuiteList.send:(Lsun/security/ssl/HandshakeOutStream;)V
5: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.compression_methods:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
6: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
aload 1
invokevirtual sun.security.ssl.HelloExtensions.send:(Lsun/security/ssl/HandshakeOutStream;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
0 8 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 "*** ClientHello, "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.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$ClientHello.debug:Lsun/security/ssl/Debug;
ifnull 9
ldc "verbose"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 9
2: aload 1
ldc "RandomCookie: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.clnt_random:Lsun/security/ssl/RandomCookie;
aload 1
invokevirtual sun.security.ssl.RandomCookie.print:(Ljava/io/PrintStream;)V
3: aload 1
ldc "Session ID: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
4: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.sessionId:Lsun/security/ssl/SessionId;
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
5: aload 1
new java.lang.StringBuilder
dup
ldc "Cipher Suites: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.cipherSuites:Lsun/security/ssl/CipherSuiteList;
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
6: aload 1
ldc "Compression Methods"
aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.compression_methods:[B
invokestatic sun.security.ssl.Debug.println:(Ljava/io/PrintStream;Ljava/lang/String;[B)V
7: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
aload 1
invokevirtual sun.security.ssl.HelloExtensions.print:(Ljava/io/PrintStream;)V
8: aload 1
ldc "***"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
0 10 1 s Ljava/io/PrintStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "HandshakeMessage.java"
NestHost: sun.security.ssl.HandshakeMessage
InnerClasses:
final ClientHello = sun.security.ssl.HandshakeMessage$ClientHello of sun.security.ssl.HandshakeMessage