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 final java.security.MessageDigest md5;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.MessageDigest sha;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
ifeq 2
iconst_5
goto 3
StackMap locals: sun.security.ssl.HandshakeHash int
StackMap stack:
2: iconst_4
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: aload 0
ldc "MD5"
iload 2
invokestatic sun.security.ssl.CloneableDigest.getDigest:(Ljava/lang/String;I)Ljava/security/MessageDigest;
putfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
5: aload 0
ldc "SHA"
iload 2
invokestatic sun.security.ssl.CloneableDigest.getDigest:(Ljava/lang/String;I)Ljava/security/MessageDigest;
putfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
6: goto 11
StackMap locals: sun.security.ssl.HandshakeHash int int
StackMap stack: java.security.NoSuchAlgorithmException
7: astore 3
start local 3 8: new java.lang.RuntimeException
dup
9: ldc "Algorithm MD5 or SHA not available"
aload 3
10: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/ssl/HandshakeHash;
0 12 1 needCertificateVerify Z
4 12 2 n I
8 11 3 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
4 6 7 Class java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
needCertificateVerify
void update(byte);
descriptor: (B)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
1: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeHash;
0 3 1 b B
MethodParameters:
Name Flags
b
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
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
1: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeHash;
0 3 1 b [B
0 3 2 offset I
0 3 3 len I
MethodParameters:
Name Flags
b
offset
len
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash.md5:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
1: aload 0
getfield sun.security.ssl.HandshakeHash.sha:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeHash;
java.security.MessageDigest getMD5Clone();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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 1 0 this Lsun/security/ssl/HandshakeHash;
java.security.MessageDigest getSHAClone();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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 1 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
}
SourceFile: "HandshakeHash.java"