final class sun.security.ssl.RandomCookie
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.RandomCookie
super_class: java.lang.Object
{
final byte[] randomBytes;
descriptor: [B
flags: (0x0010) ACC_FINAL
private static final byte[] hrrRandomBytes;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] t12Protection;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] t11Protection;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final sun.security.ssl.RandomCookie hrrRandom;
descriptor: Lsun/security/ssl/RandomCookie;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 32
newarray 8
dup
iconst_0
1: bipush -49
bastore
dup
iconst_1
bipush 33
bastore
dup
iconst_2
bipush -83
bastore
dup
iconst_3
bipush 116
bastore
dup
iconst_4
2: bipush -27
bastore
dup
iconst_5
bipush -102
bastore
dup
bipush 6
bipush 97
bastore
dup
bipush 7
bipush 17
bastore
dup
bipush 8
3: bipush -66
bastore
dup
bipush 9
bipush 29
bastore
dup
bipush 10
bipush -116
bastore
dup
bipush 11
iconst_2
bastore
dup
bipush 12
4: bipush 30
bastore
dup
bipush 13
bipush 101
bastore
dup
bipush 14
bipush -72
bastore
dup
bipush 15
bipush -111
bastore
dup
bipush 16
5: bipush -62
bastore
dup
bipush 17
bipush -94
bastore
dup
bipush 18
bipush 17
bastore
dup
bipush 19
bipush 22
bastore
dup
bipush 20
6: bipush 122
bastore
dup
bipush 21
bipush -69
bastore
dup
bipush 22
bipush -116
bastore
dup
bipush 23
bipush 94
bastore
dup
bipush 24
7: bipush 7
bastore
dup
bipush 25
bipush -98
bastore
dup
bipush 26
bipush 9
bastore
dup
bipush 27
bipush -30
bastore
dup
bipush 28
8: bipush -56
bastore
dup
bipush 29
bipush -88
bastore
dup
bipush 30
bipush 51
bastore
dup
bipush 31
bipush -100
bastore
9: putstatic sun.security.ssl.RandomCookie.hrrRandomBytes:[B
10: bipush 8
newarray 8
dup
iconst_0
11: bipush 68
bastore
dup
iconst_1
bipush 79
bastore
dup
iconst_2
bipush 87
bastore
dup
iconst_3
bipush 78
bastore
dup
iconst_4
12: bipush 71
bastore
dup
iconst_5
bipush 82
bastore
dup
bipush 6
bipush 68
bastore
dup
bipush 7
iconst_1
bastore
13: putstatic sun.security.ssl.RandomCookie.t12Protection:[B
14: bipush 8
newarray 8
dup
iconst_0
15: bipush 68
bastore
dup
iconst_1
bipush 79
bastore
dup
iconst_2
bipush 87
bastore
dup
iconst_3
bipush 78
bastore
dup
iconst_4
16: bipush 71
bastore
dup
iconst_5
bipush 82
bastore
dup
bipush 6
bipush 68
bastore
17: putstatic sun.security.ssl.RandomCookie.t11Protection:[B
18: new sun.security.ssl.RandomCookie
dup
getstatic sun.security.ssl.RandomCookie.hrrRandomBytes:[B
invokespecial sun.security.ssl.RandomCookie.<init>:([B)V
putstatic sun.security.ssl.RandomCookie.hrrRandom:Lsun/security/ssl/RandomCookie;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 32
newarray 8
putfield sun.security.ssl.RandomCookie.randomBytes:[B
2: aload 1
aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
invokevirtual java.security.SecureRandom.nextBytes:([B)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/RandomCookie;
0 4 1 generator Ljava/security/SecureRandom;
MethodParameters:
Name Flags
generator
void <init>(sun.security.ssl.HandshakeContext);
descriptor: (Lsun/security/ssl/HandshakeContext;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 32
newarray 8
putfield sun.security.ssl.RandomCookie.randomBytes:[B
2: aload 1
getfield sun.security.ssl.HandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.getSecureRandom:()Ljava/security/SecureRandom;
astore 2
start local 2 3: aload 2
aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
invokevirtual java.security.SecureRandom.nextBytes:([B)V
4: aconst_null
astore 3
start local 3 5: aload 1
getfield sun.security.ssl.HandshakeContext.maximumActiveProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS13PlusSpec:()Z
ifeq 12
6: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS13PlusSpec:()Z
ifne 15
7: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS12PlusSpec:()Z
ifeq 10
8: getstatic sun.security.ssl.RandomCookie.t12Protection:[B
astore 3
9: goto 15
10: StackMap locals: sun.security.ssl.RandomCookie sun.security.ssl.HandshakeContext java.security.SecureRandom byte[]
StackMap stack:
getstatic sun.security.ssl.RandomCookie.t11Protection:[B
astore 3
11: goto 15
StackMap locals:
StackMap stack:
12: aload 1
getfield sun.security.ssl.HandshakeContext.maximumActiveProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS12PlusSpec:()Z
ifeq 15
13: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS12PlusSpec:()Z
ifne 15
14: getstatic sun.security.ssl.RandomCookie.t11Protection:[B
astore 3
15: StackMap locals:
StackMap stack:
aload 3
ifnull 19
16: aload 3
iconst_0
aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
17: aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
arraylength
aload 3
arraylength
isub
aload 3
arraylength
18: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/security/ssl/RandomCookie;
0 20 1 context Lsun/security/ssl/HandshakeContext;
3 20 2 generator Ljava/security/SecureRandom;
5 20 3 protection [B
MethodParameters:
Name Flags
context
void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 32
newarray 8
putfield sun.security.ssl.RandomCookie.randomBytes:[B
2: aload 1
aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/RandomCookie;
0 4 1 m Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
m
private void <init>(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 32
newarray 8
putfield sun.security.ssl.RandomCookie.randomBytes:[B
2: aload 1
iconst_0
aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
iconst_0
bipush 32
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/RandomCookie;
0 4 1 randomBytes [B
MethodParameters:
Name Flags
randomBytes
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "random_bytes = {"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
invokestatic sun.security.ssl.Utilities.toHexString:([B)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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/RandomCookie;
boolean isHelloRetryRequest();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.ssl.RandomCookie.hrrRandomBytes:[B
aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/RandomCookie;
boolean isVersionDowngrade(sun.security.ssl.HandshakeContext);
descriptor: (Lsun/security/ssl/HandshakeContext;)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.security.ssl.HandshakeContext.maximumActiveProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS13PlusSpec:()Z
ifeq 4
1: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS13PlusSpec:()Z
ifne 7
2: aload 0
invokevirtual sun.security.ssl.RandomCookie.isT12Downgrade:()Z
ifne 3
aload 0
invokevirtual sun.security.ssl.RandomCookie.isT11Downgrade:()Z
ifne 3
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.HandshakeContext.maximumActiveProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS12PlusSpec:()Z
ifeq 7
5: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS12PlusSpec:()Z
ifne 7
6: aload 0
invokevirtual sun.security.ssl.RandomCookie.isT11Downgrade:()Z
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/RandomCookie;
0 8 1 context Lsun/security/ssl/HandshakeContext;
MethodParameters:
Name Flags
context
private boolean isT12Downgrade();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
bipush 24
bipush 32
getstatic sun.security.ssl.RandomCookie.t12Protection:[B
iconst_0
bipush 8
invokestatic sun.security.ssl.Utilities.equals:([BII[BII)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/RandomCookie;
private boolean isT11Downgrade();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.RandomCookie.randomBytes:[B
bipush 24
bipush 32
getstatic sun.security.ssl.RandomCookie.t11Protection:[B
iconst_0
bipush 8
invokestatic sun.security.ssl.Utilities.equals:([BII[BII)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/RandomCookie;
}
SourceFile: "RandomCookie.java"