final class com.sun.crypto.provider.SslMacCore
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.SslMacCore
super_class: java.lang.Object
{
private final java.security.MessageDigest md;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] pad1;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] pad2;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean first;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private byte[] secret;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, byte[], byte[]);
descriptor: (Ljava/lang/String;[B[B)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
putfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
2: aload 0
aload 2
putfield com.sun.crypto.provider.SslMacCore.pad1:[B
3: aload 0
aload 3
putfield com.sun.crypto.provider.SslMacCore.pad2:[B
4: aload 0
iconst_1
putfield com.sun.crypto.provider.SslMacCore.first:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/SslMacCore;
0 6 1 digestAlgorithm Ljava/lang/String;
0 6 2 pad1 [B
0 6 3 pad2 [B
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
digestAlgorithm
pad1
pad2
int getDigestLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.getDigestLength:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/SslMacCore;
void init(java.security.Key, java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 4
1: new java.security.InvalidAlgorithmParameterException
dup
2: ldc "SslMac does not use parameters"
3: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
instanceof javax.crypto.SecretKey
ifne 6
5: new java.security.InvalidKeyException
dup
ldc "Secret key expected"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.security.Key.getEncoded:()[B
putfield com.sun.crypto.provider.SslMacCore.secret:[B
7: aload 0
getfield com.sun.crypto.provider.SslMacCore.secret:[B
ifnull 8
aload 0
getfield com.sun.crypto.provider.SslMacCore.secret:[B
arraylength
ifne 9
8: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "Missing key data"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.crypto.provider.SslMacCore.reset:()V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/crypto/provider/SslMacCore;
0 11 1 key Ljava/security/Key;
0 11 2 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
key
params
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 com.sun.crypto.provider.SslMacCore.first:Z
ifeq 4
1: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.secret:[B
invokevirtual java.security.MessageDigest.update:([B)V
2: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.pad1:[B
invokevirtual java.security.MessageDigest.update:([B)V
3: aload 0
iconst_0
putfield com.sun.crypto.provider.SslMacCore.first:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/SslMacCore;
0 6 1 input B
MethodParameters:
Name Flags
input
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 com.sun.crypto.provider.SslMacCore.first:Z
ifeq 4
1: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.secret:[B
invokevirtual java.security.MessageDigest.update:([B)V
2: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.pad1:[B
invokevirtual java.security.MessageDigest.update:([B)V
3: aload 0
iconst_0
putfield com.sun.crypto.provider.SslMacCore.first:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/SslMacCore;
0 6 1 input [B
0 6 2 offset I
0 6 3 len I
MethodParameters:
Name Flags
input
offset
len
void update(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.SslMacCore.first:Z
ifeq 4
1: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.secret:[B
invokevirtual java.security.MessageDigest.update:([B)V
2: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.pad1:[B
invokevirtual java.security.MessageDigest.update:([B)V
3: aload 0
iconst_0
putfield com.sun.crypto.provider.SslMacCore.first:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/SslMacCore;
0 6 1 input Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
input
byte[] doFinal();
descriptor: ()[B
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.SslMacCore.first:Z
ifeq 4
1: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.secret:[B
invokevirtual java.security.MessageDigest.update:([B)V
2: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.pad1:[B
invokevirtual java.security.MessageDigest.update:([B)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.crypto.provider.SslMacCore.first:Z
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
astore 1
start local 1 6: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.secret:[B
invokevirtual java.security.MessageDigest.update:([B)V
7: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 0
getfield com.sun.crypto.provider.SslMacCore.pad2:[B
invokevirtual java.security.MessageDigest.update:([B)V
8: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
9: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.security.MessageDigest.digest:([BII)I
pop
10: aload 1
11: areturn
end local 1 12: StackMap locals:
StackMap stack: java.security.DigestException
astore 1
start local 1 13: new java.security.ProviderException
dup
aload 1
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/crypto/provider/SslMacCore;
6 12 1 tmp [B
13 14 1 e Ljava/security/DigestException;
Exception table:
from to target type
5 11 12 Class java.security.DigestException
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.SslMacCore.first:Z
ifne 3
1: aload 0
getfield com.sun.crypto.provider.SslMacCore.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
2: aload 0
iconst_1
putfield com.sun.crypto.provider.SslMacCore.first:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/SslMacCore;
}
SourceFile: "SslMacCore.java"
NestMembers:
com.sun.crypto.provider.SslMacCore$SslMacMD5 com.sun.crypto.provider.SslMacCore$SslMacSHA1
InnerClasses:
public final SslMacMD5 = com.sun.crypto.provider.SslMacCore$SslMacMD5 of com.sun.crypto.provider.SslMacCore
public final SslMacSHA1 = com.sun.crypto.provider.SslMacCore$SslMacSHA1 of com.sun.crypto.provider.SslMacCore