final class sun.security.ssl.HandshakeHash$T12HandshakeHash 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$T12HandshakeHash
super_class: java.lang.Object
{
private final sun.security.ssl.HandshakeHash$TranscriptHash transcriptHash;
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
void <init>(sun.security.ssl.CipherSuite);
descriptor: (Lsun/security/ssl/CipherSuite;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
getfield sun.security.ssl.CipherSuite.hashAlg:Lsun/security/ssl/CipherSuite$HashAlg;
getfield sun.security.ssl.CipherSuite$HashAlg.name:Ljava/lang/String;
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 2
start local 2 2: goto 10
end local 2 StackMap locals: sun.security.ssl.HandshakeHash$T12HandshakeHash sun.security.ssl.CipherSuite
StackMap stack: java.security.NoSuchAlgorithmException
3: astore 3
start local 3 4: new java.lang.RuntimeException
dup
5: new java.lang.StringBuilder
dup
ldc "Hash algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
getfield sun.security.ssl.CipherSuite.hashAlg:Lsun/security/ssl/CipherSuite$HashAlg;
getfield sun.security.ssl.CipherSuite$HashAlg.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is not available"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: aload 3
9: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 10: StackMap locals: java.security.MessageDigest
StackMap stack:
aload 2
instanceof java.lang.Cloneable
ifeq 14
11: aload 0
new sun.security.ssl.HandshakeHash$CloneableHash
dup
aload 2
invokespecial sun.security.ssl.HandshakeHash$CloneableHash.<init>:(Ljava/security/MessageDigest;)V
putfield sun.security.ssl.HandshakeHash$T12HandshakeHash.transcriptHash:Lsun/security/ssl/HandshakeHash$TranscriptHash;
12: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield sun.security.ssl.HandshakeHash$T12HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
new sun.security.ssl.HandshakeHash$NonCloneableHash
dup
aload 2
invokespecial sun.security.ssl.HandshakeHash$NonCloneableHash.<init>:(Ljava/security/MessageDigest;)V
putfield sun.security.ssl.HandshakeHash$T12HandshakeHash.transcriptHash:Lsun/security/ssl/HandshakeHash$TranscriptHash;
15: aload 0
aconst_null
putfield sun.security.ssl.HandshakeHash$T12HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/ssl/HandshakeHash$T12HandshakeHash;
0 17 1 cipherSuite Lsun/security/ssl/CipherSuite;
2 3 2 md Ljava/security/MessageDigest;
10 17 2 md Ljava/security/MessageDigest;
4 10 3 nsae Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
1 2 3 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$T12HandshakeHash.transcriptHash: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$T12HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
ifnull 3
2: aload 0
getfield sun.security.ssl.HandshakeHash$T12HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/HandshakeHash$T12HandshakeHash;
0 4 1 input [B
0 4 2 offset I
0 4 3 length I
MethodParameters:
Name Flags
input
offset
length
public byte[] digest();
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$T12HandshakeHash.transcriptHash:Lsun/security/ssl/HandshakeHash$TranscriptHash;
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.digest:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeHash$T12HandshakeHash;
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$T12HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
ifnull 2
1: aload 0
getfield sun.security.ssl.HandshakeHash$T12HandshakeHash.baos:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeHash$T12HandshakeHash.transcriptHash:Lsun/security/ssl/HandshakeHash$TranscriptHash;
invokeinterface sun.security.ssl.HandshakeHash$TranscriptHash.archived:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HandshakeHash$T12HandshakeHash;
}
SourceFile: "HandshakeHash.java"
NestHost: sun.security.ssl.HandshakeHash
InnerClasses:
final HashAlg = sun.security.ssl.CipherSuite$HashAlg of sun.security.ssl.CipherSuite
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 T12HandshakeHash = sun.security.ssl.HandshakeHash$T12HandshakeHash of sun.security.ssl.HandshakeHash
abstract TranscriptHash = sun.security.ssl.HandshakeHash$TranscriptHash of sun.security.ssl.HandshakeHash