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
{
private final boolean isDTLS;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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
private byte[] cookie;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
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
aload 1
getfield sun.security.ssl.HandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
putfield sun.security.ssl.ClientHello$ClientHelloMessage.isDTLS:Z
2: aload 0
iload 2
putfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
3: 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;
4: aload 0
aload 3
putfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
5: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.isDTLS:Z
ifeq 8
6: aload 0
iconst_0
newarray 8
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
7: goto 9
8: StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.HandshakeContext int sun.security.ssl.SessionId java.util.List java.security.SecureRandom
StackMap stack:
aload 0
aconst_null
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
9: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuites:Ljava/util/List;
10: aload 0
aload 4
invokestatic sun.security.ssl.ClientHello$ClientHelloMessage.getCipherSuiteIds:(Ljava/util/List;)[I
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
11: 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;
12: aload 0
getstatic sun.security.ssl.ClientHello$ClientHelloMessage.NULL_COMPRESSION:[B
putfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
13: 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 14 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
0 14 1 handshakeContext Lsun/security/ssl/HandshakeContext;
0 14 2 clientVersion I
0 14 3 sessionId Lsun/security/ssl/SessionId;
0 14 4 cipherSuites Ljava/util/List<Lsun/security/ssl/CipherSuite;>;
0 14 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=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.TransportContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
istore 2
start local 2 1: aload 1
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
pop
2: new sun.security.ssl.RandomCookie
aload 1
invokespecial sun.security.ssl.RandomCookie.<init>:(Ljava/nio/ByteBuffer;)V
3: aload 1
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
pop
4: iload 2
ifeq 6
5: aload 1
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
pop
6: StackMap locals: int
StackMap stack:
aload 1
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
pop
7: aload 1
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
pop
8: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmplt 23
9: aload 1
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 10: goto 22
11: StackMap locals: int
StackMap stack:
aload 1
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 12: aload 1
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
istore 5
start local 5 13: iload 3
iload 5
iconst_4
iadd
isub
istore 3
14: iload 4
getstatic sun.security.ssl.SSLExtension.CH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
getfield sun.security.ssl.SSLExtension.id:I
if_icmpne 21
15: iload 3
ifle 19
16: aload 0
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
17: ldc "pre_shared_key extension is not last"
18: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
19: StackMap locals: int int
StackMap stack:
aload 1
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
pop
20: return
21: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 5
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
end local 5 end local 4 22: StackMap locals:
StackMap stack:
iload 3
ifgt 11
end local 3 23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 tc Lsun/security/ssl/TransportContext;
0 24 1 m Ljava/nio/ByteBuffer;
1 24 2 isDTLS Z
10 23 3 remaining I
12 22 4 id I
13 22 5 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 1
getfield sun.security.ssl.HandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
putfield sun.security.ssl.ClientHello$ClientHelloMessage.isDTLS:Z
2: 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
3: 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;
4: 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;
5: 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
6: goto 11
StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.SSLExtension[]
StackMap stack: javax.net.ssl.SSLProtocolException
7: astore 4
start local 4 8: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
9: getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
aload 4
10: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 4 11: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.isDTLS:Z
ifeq 14
12: aload 0
aload 2
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
15: StackMap locals:
StackMap stack:
aload 2
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
astore 4
start local 4 16: aload 4
arraylength
ifeq 17
aload 4
arraylength
iconst_1
iand
ifeq 21
17: StackMap locals: byte[]
StackMap stack:
aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
18: getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
19: ldc "Invalid ClientHello message"
20: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
21: StackMap locals:
StackMap stack:
aload 0
aload 4
arraylength
iconst_1
ishr
newarray 10
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
22: iconst_0
istore 5
start local 5 23: iconst_0
istore 6
start local 6 24: goto 29
25: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
iload 6
26: aload 4
iload 5
iinc 5 1
baload
sipush 255
iand
bipush 8
ishl
aload 4
iload 5
baload
sipush 255
iand
ior
27: iastore
28: iinc 5 1
iinc 6 1
StackMap locals:
StackMap stack:
29: iload 5
aload 4
arraylength
if_icmplt 25
end local 6 end local 5 30: 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;
31: aload 0
aload 2
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
putfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
32: aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 37
33: aload 0
34: 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
35: putfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
36: goto 38
37: 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;
38: 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 39 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
0 39 1 handshakeContext Lsun/security/ssl/HandshakeContext;
0 39 2 m Ljava/nio/ByteBuffer;
0 39 3 supportedExtensions [Lsun/security/ssl/SSLExtension;
8 11 4 ex Ljavax/net/ssl/SSLProtocolException;
16 39 4 encodedIds [B
23 30 5 i I
24 30 6 j I
Exception table:
from to target type
5 6 7 Class javax.net.ssl.SSLProtocolException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
handshakeContext
m
supportedExtensions
void setHelloCookie(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
0 2 1 cookie [B
MethodParameters:
Name Flags
cookie
byte[] getHelloCookieBytes();
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: 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
8: goto 10
StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.HandshakeOutStream
StackMap stack: java.io.IOException
9: pop
10: 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 11 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
1 11 1 hos Lsun/security/ssl/HandshakeOutStream;
Exception table:
from to target type
1 8 9 Class java.io.IOException
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.isDTLS:Z
ifeq 4
iconst_1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
arraylength
iadd
goto 5
StackMap locals:
StackMap stack: int
4: iconst_0
5: StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage
StackMap stack: int int
iadd
6: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuiteIds:[I
arraylength
iconst_2
imul
7: iadd
8: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
arraylength
9: iadd
10: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
invokevirtual sun.security.ssl.SSLExtensions.length:()I
11: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 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 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.isDTLS:Z
ifeq 6
5: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
6: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.security.ssl.ClientHello$ClientHelloMessage.getEncodedCipherSuites:()[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes16:([B)V
7: aload 1
aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
0 9 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: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.isDTLS:Z
ifeq 15
1: new java.text.MessageFormat
dup
2: ldc "\"ClientHello\": '{'\n \"client version\" : \"{0}\",\n \"random\" : \"{1}\",\n \"session id\" : \"{2}\",\n \"cookie\" : \"{3}\",\n \"cipher suites\" : \"{4}\",\n \"compression methods\" : \"{5}\",\n \"extensions\" : [\n{6}\n ]\n'}'"
3: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
4: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 5: bipush 7
anewarray java.lang.Object
dup
iconst_0
6: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
invokestatic sun.security.ssl.ProtocolVersion.nameOf:(I)Ljava/lang/String;
aastore
dup
iconst_1
7: 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
8: 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
9: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
invokestatic sun.security.ssl.Utilities.toHexString:([B)Ljava/lang/String;
aastore
dup
iconst_4
10: aload 0
invokevirtual sun.security.ssl.ClientHello$ClientHelloMessage.getCipherSuiteNames:()Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_5
11: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
invokestatic sun.security.ssl.Utilities.toHexString:([B)Ljava/lang/String;
aastore
dup
bipush 6
12: 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
13: astore 2
start local 2 14: aload 1
aload 2
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 15: StackMap locals:
StackMap stack:
new java.text.MessageFormat
dup
16: 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'}'"
17: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
18: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 19: bipush 6
anewarray java.lang.Object
dup
iconst_0
20: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientVersion:I
invokestatic sun.security.ssl.ProtocolVersion.nameOf:(I)Ljava/lang/String;
aastore
dup
iconst_1
21: 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
22: 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
23: aload 0
invokevirtual sun.security.ssl.ClientHello$ClientHelloMessage.getCipherSuiteNames:()Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_4
24: aload 0
getfield sun.security.ssl.ClientHello$ClientHelloMessage.compressionMethod:[B
invokestatic sun.security.ssl.Utilities.toHexString:([B)Ljava/lang/String;
aastore
dup
iconst_5
25: 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
26: astore 2
start local 2 27: 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 28 0 this Lsun/security/ssl/ClientHello$ClientHelloMessage;
5 15 1 messageFormat Ljava/text/MessageFormat;
14 15 2 messageFields [Ljava/lang/Object;
19 28 1 messageFormat Ljava/text/MessageFormat;
27 28 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