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 int MAX_LENGTH;
descriptor: I
flags: (0x0008) ACC_STATIC
private byte[] sessionId;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 32
putstatic sun.security.ssl.SessionId.MAX_LENGTH:I
return
LocalVariableTable:
Start End Slot Name Signature
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 3
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.random_bytes:[B
putfield sun.security.ssl.SessionId.sessionId:[B
goto 4
3: 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
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SessionId;
0 5 1 isRejoinable Z
0 5 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
putfield sun.security.ssl.SessionId.sessionId:[B
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/SessionId;
0 2 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=5, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
arraylength
istore 1
start local 1 1: new java.lang.StringBuilder
dup
bipush 10
iconst_2
iload 1
imul
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 2: aload 2
ldc "{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: iconst_0
istore 3
start local 3 4: goto 9
5: StackMap locals: int java.lang.StringBuilder int
StackMap stack:
aload 2
sipush 255
aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
iload 3
baload
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
6: iload 3
iload 1
iconst_1
isub
if_icmpeq 8
7: aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 1
if_icmplt 5
end local 3 10: aload 2
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/ssl/SessionId;
1 12 1 len I
2 12 2 sb Ljava/lang/StringBuilder;
4 10 3 i I
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
iload 2
baload
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
arraylength
if_icmplt 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/SessionId;
1 7 1 retval I
2 6 2 i I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.security.ssl.SessionId
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.ssl.SessionId
astore 2
start local 2 3: aload 2
invokevirtual sun.security.ssl.SessionId.getId:()[B
astore 3
start local 3 4: aload 3
arraylength
aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
arraylength
if_icmpeq 6
5: iconst_0
ireturn
6: StackMap locals: sun.security.ssl.SessionId byte[]
StackMap stack:
iconst_0
istore 4
start local 4 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 3
iload 4
baload
aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
iload 4
baload
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 0
getfield sun.security.ssl.SessionId.sessionId:[B
arraylength
if_icmplt 8
end local 4 12: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/ssl/SessionId;
0 13 1 obj Ljava/lang/Object;
3 13 2 s Lsun/security/ssl/SessionId;
4 13 3 b [B
7 12 4 i I
MethodParameters:
Name Flags
obj
void checkLength(sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/ProtocolVersion;)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
getstatic sun.security.ssl.SessionId.MAX_LENGTH:I
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 pv Lsun/security/ssl/ProtocolVersion;
Exceptions:
throws javax.net.ssl.SSLProtocolException
MethodParameters:
Name Flags
pv
}
SourceFile: "SessionId.java"