final class sun.security.ssl.HandshakeHash
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.HandshakeHash
super_class: java.lang.Object
{
private int version;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.io.ByteArrayOutputStream data;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
private java.security.MessageDigest md5;
descriptor: Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
private java.security.MessageDigest sha;
descriptor: Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
private final int clonesNeeded;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.security.MessageDigest finMD;
descriptor: Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
private java.io.ByteArrayOutputStream reserve;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield sun.security.ssl.HandshakeHash.version:I
2: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
3: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield sun.security.ssl.HandshakeHash.reserve:Ljava/io/ByteArrayOutputStream;
4: aload 0
iload 1
ifeq 5
iconst_5
goto 6
StackMap locals: sun.security.ssl.HandshakeHash int
StackMap stack: sun.security.ssl.HandshakeHash
5: iconst_4
StackMap locals: sun.security.ssl.HandshakeHash int
StackMap stack: sun.security.ssl.HandshakeHash int
6: putfield sun.security.ssl.HandshakeHash.clonesNeeded:I
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/HandshakeHash;
0 8 1 needCertificateVerify Z
MethodParameters:
Name Flags
needCertificateVerify
void reserve(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 5
1: aload 0
getfield sun.security.ssl.HandshakeHash.reserve:Ljava/io/ByteArrayOutputStream;
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
2: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iadd
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
3: invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
4: goto 10
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 2
start local 2 6: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
newarray 8
astore 3
start local 3 7: aload 1
aload 3
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
8: aload 1
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
9: aload 0
getfield sun.security.ssl.HandshakeHash.reserve:Ljava/io/ByteArrayOutputStream;
aload 3
iconst_0
aload 3
arraylength
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
end local 3 end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/HandshakeHash;
0 11 1 input Ljava/nio/ByteBuffer;
6 10 2 inPos I
7 10 3 holder [B
MethodParameters:
Name Flags
input
void reserve(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.security.ssl.HandshakeHash.reserve:Ljava/io/ByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/HandshakeHash;
0 2 1 b [B
0 2 2 offset I
0 2 3 len I
MethodParameters:
Name Flags
b
offset
len
void reload();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash.reserve:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
ifeq 4
1: aload 0
getfield sun.security.ssl.HandshakeHash.reserve:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 1
start local 1 2: aload 0
getfield sun.security.ssl.HandshakeHash.reserve:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
3: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.security.ssl.HandshakeHash.update:([BII)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeHash;
2 4 1 bytes [B
void update(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.ssl.HandshakeHash.reload:()V
1: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 2
start local 2 2: aload 0
getfield sun.security.ssl.HandshakeHash.version:I
tableswitch { // 1 - 1
1: 3
default: 8
}
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
4: aload 1
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
5: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
6: aload 1
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
7: goto 20
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
ifnull 11
9: aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
10: aload 1
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 16
12: aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
13: iload 2
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iadd
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
14: invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
15: goto 20
16: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
newarray 8
astore 3
start local 3 17: aload 1
aload 3
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
18: aload 1
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
19: aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
aload 3
iconst_0
aload 3
arraylength
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
end local 3 20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/security/ssl/HandshakeHash;
0 21 1 input Ljava/nio/ByteBuffer;
2 21 2 inPos I
17 20 3 holder [B
MethodParameters:
Name Flags
input
void update(byte, byte[]);
descriptor: (B[B)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.security.ssl.HandshakeHash.reload:()V
1: aload 0
getfield sun.security.ssl.HandshakeHash.version:I
tableswitch { // 1 - 1
1: 2
default: 13
}
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
3: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
4: aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
aload 2
arraylength
bipush 16
ishr
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
5: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
aload 2
arraylength
bipush 16
ishr
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
6: aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
aload 2
arraylength
bipush 8
ishr
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
7: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
aload 2
arraylength
bipush 8
ishr
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
8: aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
aload 2
arraylength
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
9: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
aload 2
arraylength
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
10: aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
aload 2
invokevirtual java.security.MessageDigest.update:([B)V
11: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
aload 2
invokevirtual java.security.MessageDigest.update:([B)V
12: goto 24
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
ifnull 19
14: aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
15: aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
aload 2
arraylength
bipush 16
ishr
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
16: aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
aload 2
arraylength
bipush 8
ishr
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
17: aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
aload 2
arraylength
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
18: aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
aload 2
invokevirtual java.security.MessageDigest.update:([B)V
19: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
iload 1
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
20: aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
aload 2
arraylength
bipush 16
ishr
sipush 255
iand
i2b
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
21: aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
aload 2
arraylength
bipush 8
ishr
sipush 255
iand
i2b
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
22: aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
aload 2
arraylength
sipush 255
iand
i2b
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
23: aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
aload 2
iconst_0
aload 2
arraylength
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/ssl/HandshakeHash;
0 25 1 handshakeType B
0 25 2 handshakeBody [B
MethodParameters:
Name Flags
handshakeType
handshakeBody
void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.security.ssl.HandshakeHash.reload:()V
1: aload 0
getfield sun.security.ssl.HandshakeHash.version:I
tableswitch { // 1 - 1
1: 2
default: 5
}
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
3: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
4: goto 8
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
ifnull 7
6: aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
8: StackMap locals:
StackMap stack:
return
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/HandshakeHash;
0 9 1 b [B
0 9 2 offset I
0 9 3 len I
MethodParameters:
Name Flags
b
offset
len
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash.version:I
iconst_m1
if_icmpeq 4
1: new java.lang.RuntimeException
dup
2: ldc "reset() can be only be called before protocolDetermined"
3: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/HandshakeHash;
void protocolDetermined(sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/ProtocolVersion;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.HandshakeHash.version:I
iconst_m1
if_icmpeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.ssl.ProtocolVersion.maybeDTLSProtocol:()Z
ifeq 7
3: aload 0
aload 1
getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.compareTo:(Lsun/security/ssl/ProtocolVersion;)I
iflt 4
iconst_2
goto 5
StackMap locals:
StackMap stack: sun.security.ssl.HandshakeHash
4: iconst_1
StackMap locals: sun.security.ssl.HandshakeHash sun.security.ssl.ProtocolVersion
StackMap stack: sun.security.ssl.HandshakeHash int
5: putfield sun.security.ssl.HandshakeHash.version:I
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.compareTo:(Lsun/security/ssl/ProtocolVersion;)I
iflt 8
iconst_2
goto 9
StackMap locals:
StackMap stack: sun.security.ssl.HandshakeHash
8: iconst_1
StackMap locals: sun.security.ssl.HandshakeHash sun.security.ssl.ProtocolVersion
StackMap stack: sun.security.ssl.HandshakeHash int
9: putfield sun.security.ssl.HandshakeHash.version:I
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.version:I
tableswitch { // 1 - 2
1: 11
2: 21
default: 21
}
11: StackMap locals:
StackMap stack:
aload 0
ldc "MD5"
aload 0
getfield sun.security.ssl.HandshakeHash.clonesNeeded:I
invokestatic sun.security.ssl.CloneableDigest.getDigest:(Ljava/lang/String;I)Ljava/security/MessageDigest;
putfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
12: aload 0
ldc "SHA"
aload 0
getfield sun.security.ssl.HandshakeHash.clonesNeeded:I
invokestatic sun.security.ssl.CloneableDigest.getDigest:(Ljava/lang/String;I)Ljava/security/MessageDigest;
putfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
13: goto 18
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
14: astore 2
start local 2 15: new java.lang.RuntimeException
dup
16: ldc "Algorithm MD5 or SHA not available"
aload 2
17: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 2
start local 2 19: aload 0
aload 2
iconst_0
aload 2
arraylength
invokevirtual sun.security.ssl.HandshakeHash.update:([BII)V
20: goto 21
end local 2 21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/security/ssl/HandshakeHash;
0 22 1 pv Lsun/security/ssl/ProtocolVersion;
15 18 2 e Ljava/security/NoSuchAlgorithmException;
19 21 2 bytes [B
Exception table:
from to target type
11 13 14 Class java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
pv
java.security.MessageDigest getMD5Clone();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash.version:I
iconst_1
if_icmpeq 4
1: new java.lang.RuntimeException
dup
2: ldc "getMD5Clone() can be only be called for TLS 1.1"
3: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
invokestatic sun.security.ssl.HandshakeHash.cloneDigest:(Ljava/security/MessageDigest;)Ljava/security/MessageDigest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeHash;
java.security.MessageDigest getSHAClone();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash.version:I
iconst_1
if_icmpeq 4
1: new java.lang.RuntimeException
dup
2: ldc "getSHAClone() can be only be called for TLS 1.1"
3: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
invokestatic sun.security.ssl.HandshakeHash.cloneDigest:(Ljava/security/MessageDigest;)Ljava/security/MessageDigest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeHash;
private static java.security.MessageDigest cloneDigest(java.security.MessageDigest);
descriptor: (Ljava/security/MessageDigest;)Ljava/security/MessageDigest;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.security.MessageDigest.clone:()Ljava/lang/Object;
checkcast java.security.MessageDigest
1: areturn
2: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 3: new java.lang.RuntimeException
dup
ldc "Could not clone digest"
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 digest Ljava/security/MessageDigest;
3 4 1 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 1 2 Class java.lang.CloneNotSupportedException
MethodParameters:
Name Flags
digest
private static java.lang.String normalizeAlgName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 0
1: aload 0
ldc "SHA"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
2: aload 0
invokevirtual java.lang.String.length:()I
iconst_3
if_icmpne 4
3: ldc "SHA-1"
areturn
4: StackMap locals:
StackMap stack:
aload 0
iconst_3
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpeq 6
5: new java.lang.StringBuilder
dup
ldc "SHA-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
iconst_3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 alg Ljava/lang/String;
MethodParameters:
Name Flags
alg
void setFinishedAlg(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.RuntimeException
dup
2: ldc "setFinishedAlg's argument cannot be null"
3: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
ifnull 5
return
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic sun.security.ssl.HandshakeHash.normalizeAlgName:(Ljava/lang/String;)Ljava/lang/String;
iconst_4
invokestatic sun.security.ssl.CloneableDigest.getDigest:(Ljava/lang/String;I)Ljava/security/MessageDigest;
putfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
6: goto 9
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
7: astore 2
start local 2 8: new java.lang.Error
dup
aload 2
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokevirtual java.security.MessageDigest.update:([B)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/HandshakeHash;
0 11 1 s Ljava/lang/String;
8 9 2 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
5 6 7 Class java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
s
byte[] getAllHandshakeMessages();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash.data:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeHash;
byte[] getFinishedHash();
descriptor: ()[B
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash.finMD:Ljava/security/MessageDigest;
invokestatic sun.security.ssl.HandshakeHash.cloneDigest:(Ljava/security/MessageDigest;)Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: new java.lang.Error
dup
ldc "Error during hash calculation"
aload 1
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/HandshakeHash;
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
}
SourceFile: "HandshakeHash.java"