final class sun.security.ssl.SessionId
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SessionId
super_class: java.lang.Object
{
static final int MAX_LENGTH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
private final byte[] sessionId;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(boolean, java.security.SecureRandom);
descriptor: (ZLjava/security/SecureRandom;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
ifeq 4
aload 2
ifnull 4
2: aload 0
new sun.security.ssl.RandomCookie
dup
aload 2
invokespecial sun.security.ssl.RandomCookie.<init>:(Ljava/security/SecureRandom;)V
getfield sun.security.ssl.RandomCookie.randomBytes:[B
putfield sun.security.ssl.SessionId.sessionId:[B
3: goto 5
4: StackMap locals: sun.security.ssl.SessionId int java.security.SecureRandom
StackMap stack:
aload 0
iconst_0
newarray 8
putfield sun.security.ssl.SessionId.sessionId:[B
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/SessionId;
0 6 1 isRejoinable Z
0 6 2 generator Ljava/security/SecureRandom;
MethodParameters:
Name Flags
isRejoinable
generator
void <init>(byte[]);
descriptor: ([B)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
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield sun.security.ssl.SessionId.sessionId:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/SessionId;
0 3 1 sessionId [B
MethodParameters:
Name Flags
sessionId
int length();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SessionId;
byte[] getId();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SessionId;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
arraylength
ifne 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
invokestatic sun.security.ssl.Utilities.toHexString:([B)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/SessionId;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
invokestatic java.util.Arrays.hashCode:([B)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SessionId;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.ssl.SessionId
ifeq 5
3: aload 1
checkcast sun.security.ssl.SessionId
astore 2
start local 2 4: aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
aload 2
getfield sun.security.ssl.SessionId.sessionId:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/SessionId;
0 6 1 obj Ljava/lang/Object;
4 5 2 that Lsun/security/ssl/SessionId;
MethodParameters:
Name Flags
obj
void checkLength(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
arraylength
bipush 32
if_icmple 4
1: new javax.net.ssl.SSLProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Invalid session ID length ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SessionId;
0 5 1 protocolVersion I
Exceptions:
throws javax.net.ssl.SSLProtocolException
MethodParameters:
Name Flags
protocolVersion
}
SourceFile: "SessionId.java"