final class sun.security.ssl.ClientHello$ClientHelloMessage extends sun.security.ssl.SSLHandshake$HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ClientHello$ClientHelloMessage
super_class: sun.security.ssl.SSLHandshake$HandshakeMessage
{
final int clientVersion;
descriptor: I
flags: (0x0010) ACC_FINAL
final sun.security.ssl.RandomCookie clientRandom;
descriptor: Lsun/security/ssl/RandomCookie;
flags: (0x0010) ACC_FINAL
final sun.security.ssl.SessionId sessionId;
descriptor: Lsun/security/ssl/SessionId;
flags: (0x0010) ACC_FINAL
final int[] cipherSuiteIds;
descriptor: [I
flags: (0x0010) ACC_FINAL
final java.util.List<sun.security.ssl.CipherSuite> cipherSuites;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lsun/security/ssl/CipherSuite;>;
final byte[] compressionMethod;
descriptor: [B
flags: (0x0010) ACC_FINAL
final sun.security.ssl.SSLExtensions extensions;
descriptor: Lsun/security/ssl/SSLExtensions;
flags: (0x0010) ACC_FINAL
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.ClientHello$ClientHelloMessage.NULL_COMPRESSION:[B
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.security.ssl.HandshakeContext, int, sun.security.ssl.SessionId, java.util.List<sun.security.ssl.CipherSuite>, java.security.SecureRandom);
descriptor: (Lsun/security/ssl/HandshakeContext;ILsun/security/ssl/SessionId;Ljava/util/List;Ljava/security/SecureRandom;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokespecial sun.security.ssl.SSLHandshake$HandshakeMessage.<init>:(Lsun/security/ssl/HandshakeContext;)V
1: aload 0
iload 2
putfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
2: aload 0
new sun.security.ssl.RandomCookie
dup
aload 5
invokespecial sun.security.ssl.RandomCookie.<init>:(Ljava/security/SecureRandom;)V
putfield sun.security.ssl.ClientHello$ClientHelloMessage.clientRandom:Lsun/security/ssl/RandomCookie;
3: aload 0
aload 3
putfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
4: aload 0
aload 4
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuites:Ljava/util/List;
5: aload 0
aload 4
invokestatic sun.security.ssl.ClientHello$ClientHelloMessage.getCipherSuiteIds:(Ljava/util/List;)[I
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
6: aload 0
new sun.security.ssl.SSLExtensions
dup
aload 0
invokespecial sun.security.ssl.SSLExtensions.<init>:(Lsun/security/ssl/SSLHandshake$HandshakeMessage;)V
putfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
7: aload 0
getstatic sun.security.ssl.ClientHello$ClientHelloMessage.NULL_COMPRESSION:[B
putfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
8: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
0 9 1 handshakeContext Lsun/security/ssl/HandshakeContext;
0 9 2 clientVersion I
0 9 3 sessionId Lsun/security/ssl/SessionId;
0 9 4 cipherSuites Ljava/util/List<Lsun/security/ssl/CipherSuite;>;
0 9 5 generator Ljava/security/SecureRandom;
Signature: (Lsun/security/ssl/HandshakeContext;ILsun/security/ssl/SessionId;Ljava/util/List<Lsun/security/ssl/CipherSuite;>;Ljava/security/SecureRandom;)V
MethodParameters:
Name Flags
handshakeContext
clientVersion
sessionId
cipherSuites
generator
static void readPartial(sun.security.ssl.TransportContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/TransportContext;Ljava/nio/ByteBuffer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
pop
1: new sun.security.ssl.RandomCookie
aload 1
invokespecial sun.security.ssl.RandomCookie.<init>:(Ljava/nio/ByteBuffer;)V
2: aload 1
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
pop
3: aload 1
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
pop
4: aload 1
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
pop
5: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmplt 20
6: aload 1
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 7: goto 19
8: StackMap locals: int
StackMap stack:
aload 1
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 9: aload 1
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 10: iload 2
iload 4
iconst_4
iadd
isub
istore 2
11: iload 3
getstatic sun.security.ssl.SSLExtension.CH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
getfield sun.security.ssl.SSLExtension.id:I
if_icmpne 18
12: iload 2
ifle 16
13: aload 0
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
14: ldc "pre_shared_key extension is not last"
15: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
16: StackMap locals: int int
StackMap stack:
aload 1
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
pop
17: return
18: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 4 end local 3 19: StackMap locals:
StackMap stack:
iload 2
ifgt 8
end local 2 20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 tc Lsun/security/ssl/TransportContext;
0 21 1 m Ljava/nio/ByteBuffer;
7 20 2 remaining I
9 19 3 id I
10 19 4 extLen I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tc
m
void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer, sun.security.ssl.SSLExtension[]);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;[Lsun/security/ssl/SSLExtension;)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial sun.security.ssl.SSLHandshake$HandshakeMessage.<init>:(Lsun/security/ssl/HandshakeContext;)V
1: aload 0
aload 2
invokevirtual java.nio.ByteBuffer.get:()B
sipush 255
iand
bipush 8
ishl
aload 2
invokevirtual java.nio.ByteBuffer.get:()B
sipush 255
iand
ior
putfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
2: aload 0
new sun.security.ssl.RandomCookie
dup
aload 2
invokespecial sun.security.ssl.RandomCookie.<init>:(Ljava/nio/ByteBuffer;)V
putfield sun.security.ssl.ClientHello$ClientHelloMessage.clientRandom:Lsun/security/ssl/RandomCookie;
3: aload 0
new sun.security.ssl.SessionId
dup
aload 2
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
invokespecial sun.security.ssl.SessionId.<init>:([B)V
putfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
4: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
invokevirtual sun.security.ssl.SessionId.checkLength:(I)V
5: goto 10
StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.SSLExtension[]
StackMap stack: javax.net.ssl.SSLProtocolException
6: astore 4
start local 4 7: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
8: getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
aload 4
9: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 4 10: StackMap locals:
StackMap stack:
aload 2
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
astore 4
start local 4 11: aload 4
arraylength
ifeq 12
aload 4
arraylength
iconst_1
iand
ifeq 16
12: StackMap locals: byte[]
StackMap stack:
aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
13: getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
14: ldc "Invalid ClientHello message"
15: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
16: StackMap locals:
StackMap stack:
aload 0
aload 4
arraylength
iconst_1
ishr
newarray 10
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
17: iconst_0
istore 5
start local 5 18: iconst_0
istore 6
start local 6 19: goto 24
20: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
iload 6
21: aload 4
iload 5
iinc 5 1
baload
sipush 255
iand
bipush 8
ishl
aload 4
iload 5
baload
sipush 255
iand
ior
22: iastore
23: iinc 5 1
iinc 6 1
StackMap locals:
StackMap stack:
24: iload 5
aload 4
arraylength
if_icmplt 20
end local 6 end local 5 25: aload 0
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
invokestatic sun.security.ssl.ClientHello$ClientHelloMessage.getCipherSuites:([I)Ljava/util/List;
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuites:Ljava/util/List;
26: aload 0
aload 2
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
putfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
27: aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 32
28: aload 0
29: new sun.security.ssl.SSLExtensions
dup
aload 0
aload 2
aload 3
invokespecial sun.security.ssl.SSLExtensions.<init>:(Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;[Lsun/security/ssl/SSLExtension;)V
30: putfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
31: goto 33
32: StackMap locals:
StackMap stack:
aload 0
new sun.security.ssl.SSLExtensions
dup
aload 0
invokespecial sun.security.ssl.SSLExtensions.<init>:(Lsun/security/ssl/SSLHandshake$HandshakeMessage;)V
putfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
33: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
0 34 1 handshakeContext Lsun/security/ssl/HandshakeContext;
0 34 2 m Ljava/nio/ByteBuffer;
0 34 3 supportedExtensions [Lsun/security/ssl/SSLExtension;
7 10 4 ex Ljavax/net/ssl/SSLProtocolException;
11 34 4 encodedIds [B
18 25 5 i I
19 25 6 j I
Exception table:
from to target type
4 5 6 Class javax.net.ssl.SSLProtocolException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
handshakeContext
m
supportedExtensions
byte[] ();
descriptor: ()[B
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: new sun.security.ssl.HandshakeOutStream
dup
aconst_null
invokespecial sun.security.ssl.HandshakeOutStream.<init>:(Lsun/security/ssl/OutputRecord;)V
astore 1
start local 1 1: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
bipush 8
iushr
sipush 255
iand
i2b
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
2: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
sipush 255
iand
i2b
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
3: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientRandom:Lsun/security/ssl/RandomCookie;
getfield sun.security.ssl.RandomCookie.randomBytes:[B
iconst_0
bipush 32
invokevirtual sun.security.ssl.HandshakeOutStream.write:([BII)V
4: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.getId:()[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
5: aload 1
aload 0
invokevirtual sun.security.ssl.ClientHello$ClientHelloMessage.getEncodedCipherSuites:()[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes16:([B)V
6: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
7: goto 9
StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.HandshakeOutStream
StackMap stack: java.io.IOException
8: pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.ssl.HandshakeOutStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
1 10 1 hos Lsun/security/ssl/HandshakeOutStream;
Exception table:
from to target type
1 7 8 Class java.io.IOException
private static int[] getCipherSuiteIds(java.util.List<sun.security.ssl.CipherSuite>);
descriptor: (Ljava/util/List;)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
ifnull 8
1: aload 0
invokeinterface java.util.List.size:()I
newarray 10
astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: java.util.List int[] int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.CipherSuite
astore 3
start local 3 5: aload 1
iload 2
iinc 2 1
aload 3
getfield sun.security.ssl.CipherSuite.id:I
iastore
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
areturn
end local 2 end local 1 8: StackMap locals: java.util.List
StackMap stack:
iconst_0
newarray 10
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 cipherSuites Ljava/util/List<Lsun/security/ssl/CipherSuite;>;
2 8 1 ids [I
3 8 2 i I
5 6 3 cipherSuite Lsun/security/ssl/CipherSuite;
Signature: (Ljava/util/List<Lsun/security/ssl/CipherSuite;>;)[I
MethodParameters:
Name Flags
cipherSuites
private static java.util.List<sun.security.ssl.CipherSuite> getCipherSuites(int[]);
descriptor: ([I)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: int[] java.util.List top int int int[]
StackMap stack:
2: aload 5
iload 3
iaload
istore 2
start local 2 3: iload 2
invokestatic sun.security.ssl.CipherSuite.valueOf:(I)Lsun/security/ssl/CipherSuite;
astore 6
start local 6 4: aload 6
ifnull 6
5: aload 1
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 2 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 2
8: aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 ids [I
1 9 1 cipherSuites Ljava/util/List<Lsun/security/ssl/CipherSuite;>;
3 6 2 id I
4 6 6 cipherSuite Lsun/security/ssl/CipherSuite;
Signature: ([I)Ljava/util/List<Lsun/security/ssl/CipherSuite;>;
MethodParameters:
Name Flags
ids
private java.util.List<java.lang.String> getCipherSuiteNames();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 1
start local 1 1: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage java.util.List top int int int[]
StackMap stack:
2: aload 5
iload 3
iaload
istore 2
start local 2 3: aload 1
new java.lang.StringBuilder
dup
iload 2
invokestatic sun.security.ssl.CipherSuite.nameOf:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokestatic sun.security.ssl.Utilities.byte16HexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 2
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
1 9 1 names Ljava/util/List<Ljava/lang/String;>;
3 6 2 id I
Signature: ()Ljava/util/List<Ljava/lang/String;>;
private byte[] getEncodedCipherSuites();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
arraylength
iconst_1
ishl
newarray 8
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage byte[] int top int int int[]
StackMap stack:
3: aload 6
iload 4
iaload
istore 3
start local 3 4: aload 1
iload 2
iinc 2 1
iload 3
bipush 8
ishr
i2b
bastore
5: aload 1
iload 2
iinc 2 1
iload 3
i2b
bastore
end local 3 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
1 9 1 encoded [B
2 9 2 i I
4 6 3 id I
public sun.security.ssl.SSLHandshake handshakeType();
descriptor: ()Lsun/security/ssl/SSLHandshake;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.ssl.SSLHandshake.CLIENT_HELLO:Lsun/security/ssl/SSLHandshake;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
public int messageLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: bipush 38
1: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.length:()I
2: iadd
3: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
arraylength
iconst_2
imul
4: iadd
5: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
arraylength
6: iadd
7: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
invokevirtual sun.security.ssl.SSLExtensions.length:()I
8: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
public void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.ssl.ClientHello$ClientHelloMessage.sendCore:(Lsun/security/ssl/HandshakeOutStream;)V
1: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
aload 1
invokevirtual sun.security.ssl.SSLExtensions.send:(Lsun/security/ssl/HandshakeOutStream;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
0 3 1 hos Lsun/security/ssl/HandshakeOutStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hos
void sendCore(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
bipush 8
iushr
i2b
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
1: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
i2b
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
2: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientRandom:Lsun/security/ssl/RandomCookie;
getfield sun.security.ssl.RandomCookie.randomBytes:[B
iconst_0
bipush 32
invokevirtual sun.security.ssl.HandshakeOutStream.write:([BII)V
3: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.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
invokevirtual sun.security.ssl.ClientHello$ClientHelloMessage.getEncodedCipherSuites:()[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes16:([B)V
5: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
0 7 1 hos Lsun/security/ssl/HandshakeOutStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hos
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.text.MessageFormat
dup
1: ldc "\"ClientHello\": '{'\n \"client version\" : \"{0}\",\n \"random\" : \"{1}\",\n \"session id\" : \"{2}\",\n \"cipher suites\" : \"{3}\",\n \"compression methods\" : \"{4}\",\n \"extensions\" : [\n{5}\n ]\n'}'"
2: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
3: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 4: bipush 6
anewarray java.lang.Object
dup
iconst_0
5: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
invokestatic sun.security.ssl.ProtocolVersion.nameOf:(I)Ljava/lang/String;
aastore
dup
iconst_1
6: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientRandom:Lsun/security/ssl/RandomCookie;
getfield sun.security.ssl.RandomCookie.randomBytes:[B
invokestatic sun.security.ssl.Utilities.toHexString:([B)Ljava/lang/String;
aastore
dup
iconst_2
7: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.toString:()Ljava/lang/String;
aastore
dup
iconst_3
8: aload 0
invokevirtual sun.security.ssl.ClientHello$ClientHelloMessage.getCipherSuiteNames:()Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_4
9: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
invokestatic sun.security.ssl.Utilities.toHexString:([B)Ljava/lang/String;
aastore
dup
iconst_5
10: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
invokevirtual sun.security.ssl.SSLExtensions.toString:()Ljava/lang/String;
invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;)Ljava/lang/String;
invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;)Ljava/lang/String;
aastore
11: astore 2
start local 2 12: aload 1
aload 2
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
4 13 1 messageFormat Ljava/text/MessageFormat;
12 13 2 messageFields [Ljava/lang/Object;
}
SourceFile: "ClientHello.java"
NestHost: sun.security.ssl.ClientHello
InnerClasses:
final ClientHelloMessage = sun.security.ssl.ClientHello$ClientHelloMessage of sun.security.ssl.ClientHello
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake