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
getfield sun.security.ssl.HandshakeMessage$ClientHello.sessionId:Lsun/security/ssl/SessionId;
aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.protocolVersion:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.SessionId.checkLength:(Lsun/security/ssl/ProtocolVersion;)V
6: 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;
7: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getBytes8:()[B
putfield sun.security.ssl.HandshakeMessage$ClientHello.compression_methods:[B
8: aload 0
invokevirtual sun.security.ssl.HandshakeMessage$ClientHello.messageLength:()I
iload 2
if_icmpeq 10
9: 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;
10: 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 11 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
0 11 1 s Lsun/security/ssl/HandshakeInStream;
0 11 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 addServerNameIndicationExtension(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield sun.security.ssl.HandshakeMessage$ClientHello.extensions:Lsun/security/ssl/HelloExtensions;
new sun.security.ssl.ServerNameExtension
dup
aload 2
invokespecial sun.security.ssl.ServerNameExtension.<init>:(Ljava/util/List;)V
invokevirtual sun.security.ssl.HelloExtensions.add:(Lsun/security/ssl/HelloExtension;)V
3: goto 5
StackMap locals: sun.security.ssl.HandshakeMessage$ClientHello java.lang.String java.util.ArrayList
StackMap stack: java.io.IOException
4: pop
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
0 6 1 hostname Ljava/lang/String;
1 6 2 hostnames Ljava/util/ArrayList<Ljava/lang/String;>;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
hostname
void addSignatureAlgorithmsExtension(java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.ssl.SignatureAlgorithmsExtension
dup
aload 1
invokespecial sun.security.ssl.SignatureAlgorithmsExtension.<init>:(Ljava/util/Collection;)V
1: astore 2
start local 2 2: 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
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/HandshakeMessage$ClientHello;
0 4 1 algorithms Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
2 4 2 signatureAlgorithm Lsun/security/ssl/HelloExtension;
Signature: (Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;)V
MethodParameters:
Name Flags
algorithms
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 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$ClientHello.clnt_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$ClientHello.sessionId:Lsun/security/ssl/SessionId;
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
6: 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
7: 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
8: 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
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$ClientHello;
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 ClientHello = sun.security.ssl.HandshakeMessage$ClientHello of sun.security.ssl.HandshakeMessage