class org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator implements org.bouncycastle.operator.MacCalculator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator
super_class: java.lang.Object
{
private javax.crypto.SecretKey encKey;
descriptor: Ljavax/crypto/SecretKey;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.Mac mac;
descriptor: Ljavax/crypto/Mac;
flags: (0x0002) ACC_PRIVATE
final org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder this$0;
descriptor: Lorg/bouncycastle/cms/jcajce/JceCMSMacCalculatorBuilder;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder, org.bouncycastle.asn1.ASN1ObjectIdentifier, int, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (Lorg/bouncycastle/cms/jcajce/JceCMSMacCalculatorBuilder;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;ILjava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.this$0:Lorg/bouncycastle/cms/jcajce/JceCMSMacCalculatorBuilder;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 1
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 2
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createKeyGenerator:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljavax/crypto/KeyGenerator;
astore 6
start local 6 3: aload 5
ifnonnull 5
4: new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
astore 5
5: StackMap locals: org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder org.bouncycastle.asn1.ASN1ObjectIdentifier int java.security.AlgorithmParameters java.security.SecureRandom javax.crypto.KeyGenerator
StackMap stack:
iload 3
ifge 8
6: aload 6
aload 5
invokevirtual javax.crypto.KeyGenerator.init:(Ljava/security/SecureRandom;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 6
iload 3
aload 5
invokevirtual javax.crypto.KeyGenerator.init:(ILjava/security/SecureRandom;)V
9: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual javax.crypto.KeyGenerator.generateKey:()Ljavax/crypto/SecretKey;
putfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.encKey:Ljavax/crypto/SecretKey;
10: aload 4
ifnonnull 12
11: aload 1
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 2
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.encKey:Ljavax/crypto/SecretKey;
aload 5
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.generateParameters:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Ljavax/crypto/SecretKey;Ljava/security/SecureRandom;)Ljava/security/AlgorithmParameters;
astore 4
12: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 2
aload 4
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.getAlgorithmIdentifier:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Ljava/security/AlgorithmParameters;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
putfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.algorithmIdentifier:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
13: aload 0
aload 1
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.encKey:Ljavax/crypto/SecretKey;
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.algorithmIdentifier:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createContentMac:(Ljava/security/Key;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Ljavax/crypto/Mac;
putfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.mac:Ljavax/crypto/Mac;
14: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/cms/jcajce/JceCMSMacCalculatorBuilder$CMSMacCalculator;
0 15 2 macOID Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 15 3 keySize I
0 15 4 params Ljava/security/AlgorithmParameters;
0 15 5 random Ljava/security/SecureRandom;
3 15 6 keyGen Ljavax/crypto/KeyGenerator;
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
this$0 final
macOID
keySize
params
random
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier();
descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.algorithmIdentifier:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/JceCMSMacCalculatorBuilder$CMSMacCalculator;
public java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.jcajce.io.MacOutputStream
dup
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.mac:Ljavax/crypto/Mac;
invokespecial org.bouncycastle.jcajce.io.MacOutputStream.<init>:(Ljavax/crypto/Mac;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/JceCMSMacCalculatorBuilder$CMSMacCalculator;
public byte[] getMac();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.mac:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.doFinal:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/JceCMSMacCalculatorBuilder$CMSMacCalculator;
public org.bouncycastle.operator.GenericKey getKey();
descriptor: ()Lorg/bouncycastle/operator/GenericKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.bouncycastle.operator.jcajce.JceGenericKey
dup
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.algorithmIdentifier:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator.encKey:Ljavax/crypto/SecretKey;
invokespecial org.bouncycastle.operator.jcajce.JceGenericKey.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Ljava/security/Key;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/JceCMSMacCalculatorBuilder$CMSMacCalculator;
}
SourceFile: "JceCMSMacCalculatorBuilder.java"
NestHost: org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder
InnerClasses:
private CMSMacCalculator = org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder$CMSMacCalculator of org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder