public class org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator implements org.bouncycastle.cert.crmf.PKMACValuesCalculator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator
super_class: java.lang.Object
{
private java.security.MessageDigest digest;
descriptor: Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.Mac mac;
descriptor: Ljavax/crypto/Mac;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cert.crmf.jcajce.CRMFHelper helper;
descriptor: Lorg/bouncycastle/cert/crmf/jcajce/CRMFHelper;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.cert.crmf.jcajce.CRMFHelper
dup
new org.bouncycastle.jcajce.util.DefaultJcaJceHelper
dup
invokespecial org.bouncycastle.jcajce.util.DefaultJcaJceHelper.<init>:()V
invokespecial org.bouncycastle.cert.crmf.jcajce.CRMFHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.helper:Lorg/bouncycastle/cert/crmf/jcajce/CRMFHelper;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cert/crmf/jcajce/JcePKMACValuesCalculator;
public org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cert/crmf/jcajce/JcePKMACValuesCalculator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.cert.crmf.jcajce.CRMFHelper
dup
new org.bouncycastle.jcajce.util.ProviderJcaJceHelper
dup
aload 1
invokespecial org.bouncycastle.jcajce.util.ProviderJcaJceHelper.<init>:(Ljava/security/Provider;)V
invokespecial org.bouncycastle.cert.crmf.jcajce.CRMFHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.helper:Lorg/bouncycastle/cert/crmf/jcajce/CRMFHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/crmf/jcajce/JcePKMACValuesCalculator;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cert/crmf/jcajce/JcePKMACValuesCalculator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.cert.crmf.jcajce.CRMFHelper
dup
new org.bouncycastle.jcajce.util.NamedJcaJceHelper
dup
aload 1
invokespecial org.bouncycastle.jcajce.util.NamedJcaJceHelper.<init>:(Ljava/lang/String;)V
invokespecial org.bouncycastle.cert.crmf.jcajce.CRMFHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.helper:Lorg/bouncycastle/cert/crmf/jcajce/CRMFHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/crmf/jcajce/JcePKMACValuesCalculator;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public void setup(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.helper:Lorg/bouncycastle/cert/crmf/jcajce/CRMFHelper;
aload 1
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.cert.crmf.jcajce.CRMFHelper.createDigest:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljava/security/MessageDigest;
putfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.digest:Ljava/security/MessageDigest;
1: aload 0
aload 0
getfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.helper:Lorg/bouncycastle/cert/crmf/jcajce/CRMFHelper;
aload 2
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.cert.crmf.jcajce.CRMFHelper.createMac:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljavax/crypto/Mac;
putfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.mac:Ljavax/crypto/Mac;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cert/crmf/jcajce/JcePKMACValuesCalculator;
0 3 1 digAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 3 2 macAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
digAlg
macAlg
public byte[] calculateDigest(byte[]);
descriptor: ([B)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.digest:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.digest:([B)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/crmf/jcajce/JcePKMACValuesCalculator;
0 1 1 data [B
MethodParameters:
Name Flags
data
public byte[] calculateMac(byte[], byte[]);
descriptor: ([B[B)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.mac:Ljavax/crypto/Mac;
new javax.crypto.spec.SecretKeySpec
dup
aload 1
aload 0
getfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.mac:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.getAlgorithm:()Ljava/lang/String;
invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
invokevirtual javax.crypto.Mac.init:(Ljava/security/Key;)V
1: aload 0
getfield org.bouncycastle.cert.crmf.jcajce.JcePKMACValuesCalculator.mac:Ljavax/crypto/Mac;
aload 2
invokevirtual javax.crypto.Mac.doFinal:([B)[B
2: areturn
3: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 3
start local 3 4: new org.bouncycastle.cert.crmf.CRMFException
dup
new java.lang.StringBuilder
dup
ldc "failure in setup: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.security.GeneralSecurityException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial org.bouncycastle.cert.crmf.CRMFException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cert/crmf/jcajce/JcePKMACValuesCalculator;
0 5 1 pwd [B
0 5 2 data [B
4 5 3 e Ljava/security/GeneralSecurityException;
Exception table:
from to target type
0 2 3 Class java.security.GeneralSecurityException
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
pwd
data
}
SourceFile: "JcePKMACValuesCalculator.java"