final class sun.security.ssl.HandshakeHash$S30HandshakeHash implements sun.security.ssl.HandshakeHash$TranscriptHash
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.HandshakeHash$S30HandshakeHash
super_class: java.lang.Object
{
static final byte[] MD5_pad1;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] MD5_pad2;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] SHA_pad1;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] SHA_pad2;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final byte[] SSL_CLIENT;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] SSL_SERVER;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.security.MessageDigest mdMD5;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.MessageDigest mdSHA;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.security.ssl.HandshakeHash$TranscriptHash md5;
descriptor: Lsun/security/ssl/HandshakeHash$TranscriptHash;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.security.ssl.HandshakeHash$TranscriptHash sha;
descriptor: Lsun/security/ssl/HandshakeHash$TranscriptHash;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.ByteArrayOutputStream baos;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 54
bipush 48
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.genPad:(II)[B
putstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.MD5_pad1:[B
1: bipush 92
bipush 48
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.genPad:(II)[B
putstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.MD5_pad2:[B
2: bipush 54
bipush 40
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.genPad:(II)[B
putstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SHA_pad1:[B
3: bipush 92
bipush 40
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.genPad:(II)[B
putstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SHA_pad2:[B
4: iconst_4
newarray 8
dup
iconst_0
bipush 67
bastore
dup
iconst_1
bipush 76
bastore
dup
iconst_2
bipush 78
bastore
dup
iconst_3
bipush 84
bastore
putstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SSL_CLIENT:[B
5: iconst_4
newarray 8
dup
iconst_0
bipush 83
bastore
dup
iconst_1
bipush 82
bastore
dup
iconst_2
bipush 86
bastore
dup
iconst_3
bipush 82
bastore
putstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SSL_SERVER:[B
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.security.ssl.CipherSuite);
descriptor: (Lsun/security/ssl/CipherSuite;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "MD5"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
putfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdMD5:Ljava/security/MessageDigest;
2: aload 0
ldc "SHA"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
putfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdSHA:Ljava/security/MessageDigest;
3: goto 8
StackMap locals: sun.security.ssl.HandshakeHash$S30HandshakeHash sun.security.ssl.CipherSuite
StackMap stack: java.security.NoSuchAlgorithmException
4: astore 2
start local 2 5: new java.lang.RuntimeException
dup
6: ldc "Hash algorithm MD5 or SHA is not available"
aload 2
7: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 9: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdMD5:Ljava/security/MessageDigest;
instanceof java.lang.Cloneable
ifeq 12
10: aload 0
new sun.security.ssl.HandshakeHash$CloneableHash
dup
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdMD5:Ljava/security/MessageDigest;
invokespecial sun.security.ssl.HandshakeHash$CloneableHash.<init>:(Ljava/security/MessageDigest;)V
putfield sun.security.ssl.HandshakeHash$S30HandshakeHash.md5:Lsun/security/ssl/HandshakeHash$TranscriptHash;
11: goto 14
12: StackMap locals: int
StackMap stack:
iconst_1
istore 2
13: aload 0
new sun.security.ssl.HandshakeHash$NonCloneableHash
dup
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdMD5:Ljava/security/MessageDigest;
invokespecial sun.security.ssl.HandshakeHash$NonCloneableHash.<init>:(Ljava/security/MessageDigest;)V
putfield sun.security.ssl.HandshakeHash$S30HandshakeHash.md5:Lsun/security/ssl/HandshakeHash$TranscriptHash;
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdSHA:Ljava/security/MessageDigest;
instanceof java.lang.Cloneable
ifeq 17
15: aload 0
new sun.security.ssl.HandshakeHash$CloneableHash
dup
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdSHA:Ljava/security/MessageDigest;
invokespecial sun.security.ssl.HandshakeHash$CloneableHash.<init>:(Ljava/security/MessageDigest;)V
putfield sun.security.ssl.HandshakeHash$S30HandshakeHash.sha:Lsun/security/ssl/HandshakeHash$TranscriptHash;
16: goto 19
17: StackMap locals:
StackMap stack:
iconst_1
istore 2
18: aload 0
new sun.security.ssl.HandshakeHash$NonCloneableHash
dup
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdSHA:Ljava/security/MessageDigest;
invokespecial sun.security.ssl.HandshakeHash$NonCloneableHash.<init>:(Ljava/security/MessageDigest;)V
putfield sun.security.ssl.HandshakeHash$S30HandshakeHash.sha:Lsun/security/ssl/HandshakeHash$TranscriptHash;
19: StackMap locals:
StackMap stack:
iload 2
ifeq 22
20: aload 0
aconst_null
putfield sun.security.ssl.HandshakeHash$S30HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
21: goto 23
22: StackMap locals:
StackMap stack:
aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield sun.security.ssl.HandshakeHash$S30HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/security/ssl/HandshakeHash$S30HandshakeHash;
0 24 1 cipherSuite Lsun/security/ssl/CipherSuite;
5 8 2 nsae Ljava/security/NoSuchAlgorithmException;
9 24 2 hasArchived Z
Exception table:
from to target type
1 3 4 Class java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
cipherSuite
public void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
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$S30HandshakeHash.md5:Lsun/security/ssl/HandshakeHash$TranscriptHash;
aload 1
iload 2
iload 3
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.update:([BII)V
1: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.sha:Lsun/security/ssl/HandshakeHash$TranscriptHash;
aload 1
iload 2
iload 3
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.update:([BII)V
2: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
ifnull 4
3: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeHash$S30HandshakeHash;
0 5 1 input [B
0 5 2 offset I
0 5 3 length I
MethodParameters:
Name Flags
input
offset
length
public byte[] digest();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: bipush 36
newarray 8
astore 1
start local 1 1: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.md5:Lsun/security/ssl/HandshakeHash$TranscriptHash;
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.digest:()[B
iconst_0
aload 1
iconst_0
bipush 16
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.sha:Lsun/security/ssl/HandshakeHash$TranscriptHash;
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.digest:()[B
iconst_0
aload 1
bipush 16
bipush 20
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/HandshakeHash$S30HandshakeHash;
1 4 1 digest [B
public byte[] archived();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
ifnull 2
1: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.md5:Lsun/security/ssl/HandshakeHash$TranscriptHash;
instanceof sun.security.ssl.HandshakeHash$NonCloneableHash
ifeq 4
3: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.md5:Lsun/security/ssl/HandshakeHash$TranscriptHash;
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.archived:()[B
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.sha:Lsun/security/ssl/HandshakeHash$TranscriptHash;
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.archived:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeHash$S30HandshakeHash;
byte[] digest(boolean, javax.crypto.SecretKey);
descriptor: (ZLjavax/crypto/SecretKey;)[B
flags: (0x0000)
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.security.ssl.HandshakeHash$S30HandshakeHash.cloneMd5:()Ljava/security/MessageDigest;
astore 3
start local 3 1: aload 0
invokevirtual sun.security.ssl.HandshakeHash$S30HandshakeHash.cloneSha:()Ljava/security/MessageDigest;
astore 4
start local 4 2: iload 1
ifeq 6
3: aload 3
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SSL_CLIENT:[B
invokevirtual java.security.MessageDigest.update:([B)V
4: aload 4
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SSL_CLIENT:[B
invokevirtual java.security.MessageDigest.update:([B)V
5: goto 8
6: StackMap locals: java.security.MessageDigest java.security.MessageDigest
StackMap stack:
aload 3
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SSL_SERVER:[B
invokevirtual java.security.MessageDigest.update:([B)V
7: aload 4
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SSL_SERVER:[B
invokevirtual java.security.MessageDigest.update:([B)V
8: StackMap locals:
StackMap stack:
aload 3
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.MD5_pad1:[B
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.MD5_pad2:[B
aload 2
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.updateDigest:(Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
9: aload 4
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SHA_pad1:[B
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SHA_pad2:[B
aload 2
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.updateDigest:(Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
10: bipush 36
newarray 8
astore 5
start local 5 11: aload 3
invokevirtual java.security.MessageDigest.digest:()[B
iconst_0
aload 5
iconst_0
bipush 16
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 4
invokevirtual java.security.MessageDigest.digest:()[B
iconst_0
aload 5
bipush 16
bipush 20
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/ssl/HandshakeHash$S30HandshakeHash;
0 14 1 useClientLabel Z
0 14 2 masterSecret Ljavax/crypto/SecretKey;
1 14 3 md5Clone Ljava/security/MessageDigest;
2 14 4 shaClone Ljava/security/MessageDigest;
11 14 5 digest [B
MethodParameters:
Name Flags
useClientLabel
masterSecret
byte[] digest(java.lang.String, javax.crypto.SecretKey);
descriptor: (Ljava/lang/String;Ljavax/crypto/SecretKey;)[B
flags: (0x0000)
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: ldc "RSA"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
1: aload 0
invokevirtual sun.security.ssl.HandshakeHash$S30HandshakeHash.cloneMd5:()Ljava/security/MessageDigest;
astore 3
start local 3 2: aload 0
invokevirtual sun.security.ssl.HandshakeHash$S30HandshakeHash.cloneSha:()Ljava/security/MessageDigest;
astore 4
start local 4 3: aload 3
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.MD5_pad1:[B
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.MD5_pad2:[B
aload 2
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.updateDigest:(Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
4: aload 4
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SHA_pad1:[B
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SHA_pad2:[B
aload 2
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.updateDigest:(Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
5: bipush 36
newarray 8
astore 5
start local 5 6: aload 3
invokevirtual java.security.MessageDigest.digest:()[B
iconst_0
aload 5
iconst_0
bipush 16
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 4
invokevirtual java.security.MessageDigest.digest:()[B
iconst_0
aload 5
bipush 16
bipush 20
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 5
areturn
end local 5 end local 4 end local 3 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.ssl.HandshakeHash$S30HandshakeHash.cloneSha:()Ljava/security/MessageDigest;
astore 3
start local 3 10: aload 3
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SHA_pad1:[B
getstatic sun.security.ssl.HandshakeHash$S30HandshakeHash.SHA_pad2:[B
aload 2
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.updateDigest:(Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
11: aload 3
invokevirtual java.security.MessageDigest.digest:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/ssl/HandshakeHash$S30HandshakeHash;
0 12 1 algorithm Ljava/lang/String;
0 12 2 masterSecret Ljavax/crypto/SecretKey;
2 9 3 md5Clone Ljava/security/MessageDigest;
3 9 4 shaClone Ljava/security/MessageDigest;
6 9 5 digest [B
10 12 3 shaClone Ljava/security/MessageDigest;
MethodParameters:
Name Flags
algorithm
masterSecret
private static byte[] genPad(int, int);
descriptor: (II)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 8
astore 2
start local 2 1: aload 2
iload 0
i2b
invokestatic java.util.Arrays.fill:([BB)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 b I
0 3 1 count I
1 3 2 padding [B
MethodParameters:
Name Flags
b
count
private java.security.MessageDigest cloneMd5();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdMD5:Ljava/security/MessageDigest;
instanceof java.lang.Cloneable
ifeq 7
1: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdMD5:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.clone:()Ljava/lang/Object;
checkcast java.security.MessageDigest
astore 1
start local 1 2: goto 14
end local 1 StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
3: pop
4: new java.lang.RuntimeException
dup
5: ldc "MessageDigest does no support clone operation"
6: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
ldc "MD5"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 1
start local 1 8: goto 13
end local 1 StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
9: astore 2
start local 2 10: new java.lang.RuntimeException
dup
11: ldc "Hash algorithm MD5 is not available"
aload 2
12: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 13: StackMap locals: java.security.MessageDigest
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.md5:Lsun/security/ssl/HandshakeHash$TranscriptHash;
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.archived:()[B
invokevirtual java.security.MessageDigest.update:([B)V
14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/ssl/HandshakeHash$S30HandshakeHash;
2 3 1 md5Clone Ljava/security/MessageDigest;
8 9 1 md5Clone Ljava/security/MessageDigest;
13 15 1 md5Clone Ljava/security/MessageDigest;
10 13 2 nsae Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
1 2 3 Class java.lang.CloneNotSupportedException
7 8 9 Class java.security.NoSuchAlgorithmException
private java.security.MessageDigest cloneSha();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdSHA:Ljava/security/MessageDigest;
instanceof java.lang.Cloneable
ifeq 7
1: aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.mdSHA:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.clone:()Ljava/lang/Object;
checkcast java.security.MessageDigest
astore 1
start local 1 2: goto 14
end local 1 StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
3: pop
4: new java.lang.RuntimeException
dup
5: ldc "MessageDigest does no support clone operation"
6: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
ldc "SHA"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 1
start local 1 8: goto 13
end local 1 StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
9: astore 2
start local 2 10: new java.lang.RuntimeException
dup
11: ldc "Hash algorithm SHA is not available"
aload 2
12: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 13: StackMap locals: java.security.MessageDigest
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.HandshakeHash$S30HandshakeHash.sha:Lsun/security/ssl/HandshakeHash$TranscriptHash;
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.archived:()[B
invokevirtual java.security.MessageDigest.update:([B)V
14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/ssl/HandshakeHash$S30HandshakeHash;
2 3 1 shaClone Ljava/security/MessageDigest;
8 9 1 shaClone Ljava/security/MessageDigest;
13 15 1 shaClone Ljava/security/MessageDigest;
10 13 2 nsae Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
1 2 3 Class java.lang.CloneNotSupportedException
7 8 9 Class java.security.NoSuchAlgorithmException
private static void updateDigest(java.security.MessageDigest, byte[], byte[], javax.crypto.SecretKey);
descriptor: (Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "RAW"
aload 3
invokeinterface javax.crypto.SecretKey.getFormat:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 3
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
3: StackMap locals:
StackMap stack: byte[]
astore 4
start local 4 4: aload 4
ifnull 7
5: aload 0
aload 4
invokevirtual java.security.MessageDigest.update:([B)V
6: goto 8
7: StackMap locals: byte[]
StackMap stack:
aload 0
aload 3
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.digestKey:(Ljava/security/MessageDigest;Ljavax/crypto/SecretKey;)V
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
9: aload 0
invokevirtual java.security.MessageDigest.digest:()[B
astore 5
start local 5 10: aload 4
ifnull 13
11: aload 0
aload 4
invokevirtual java.security.MessageDigest.update:([B)V
12: goto 14
13: StackMap locals: byte[]
StackMap stack:
aload 0
aload 3
invokestatic sun.security.ssl.HandshakeHash$S30HandshakeHash.digestKey:(Ljava/security/MessageDigest;Ljavax/crypto/SecretKey;)V
14: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.security.MessageDigest.update:([B)V
15: aload 0
aload 5
invokevirtual java.security.MessageDigest.update:([B)V
16: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 md Ljava/security/MessageDigest;
0 17 1 pad1 [B
0 17 2 pad2 [B
0 17 3 masterSecret Ljavax/crypto/SecretKey;
4 17 4 keyBytes [B
10 17 5 temp [B
MethodParameters:
Name Flags
md
pad1
pad2
masterSecret
private static void digestKey(java.security.MessageDigest, javax.crypto.SecretKey);
descriptor: (Ljava/security/MessageDigest;Ljavax/crypto/SecretKey;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
instanceof sun.security.util.MessageDigestSpi2
ifeq 3
1: aload 0
checkcast sun.security.util.MessageDigestSpi2
aload 1
invokeinterface sun.security.util.MessageDigestSpi2.engineUpdate:(Ljavax/crypto/SecretKey;)V
2: goto 11
3: StackMap locals:
StackMap stack:
new java.lang.Exception
dup
4: ldc "Digest does not support implUpdate(SecretKey)"
5: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 7: new java.lang.RuntimeException
dup
8: ldc "Could not obtain encoded key and MessageDigest cannot digest key"
9: aload 2
10: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 md Ljava/security/MessageDigest;
0 12 1 key Ljavax/crypto/SecretKey;
7 11 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 6 6 Class java.lang.Exception
MethodParameters:
Name Flags
md
key
}
SourceFile: "HandshakeHash.java"
NestHost: sun.security.ssl.HandshakeHash
InnerClasses:
final CloneableHash = sun.security.ssl.HandshakeHash$CloneableHash of sun.security.ssl.HandshakeHash
final NonCloneableHash = sun.security.ssl.HandshakeHash$NonCloneableHash of sun.security.ssl.HandshakeHash
final S30HandshakeHash = sun.security.ssl.HandshakeHash$S30HandshakeHash of sun.security.ssl.HandshakeHash
abstract TranscriptHash = sun.security.ssl.HandshakeHash$TranscriptHash of sun.security.ssl.HandshakeHash