class org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1 implements org.bouncycastle.cms.jcajce.EnvelopedDataHelper$JCECallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1
super_class: java.lang.Object
{
final org.bouncycastle.cms.jcajce.EnvelopedDataHelper this$0;
descriptor: Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.bouncycastle.asn1.x509.AlgorithmIdentifier val$encryptionAlgID;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.security.Key val$sKey;
descriptor: Ljava/security/Key;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.bouncycastle.cms.jcajce.EnvelopedDataHelper, org.bouncycastle.asn1.x509.AlgorithmIdentifier, java.security.Key);
descriptor: (Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Ljava/security/Key;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.this$0:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 0
aload 2
putfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$encryptionAlgID:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 0
aload 3
putfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$sKey:Ljava/security/Key;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper$1;
MethodParameters:
Name Flags
this$0 final
val$encryptionAlgID final
val$sKey final
public java.lang.Object doInJCE();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.this$0:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$encryptionAlgID:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createCipher:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljavax/crypto/Cipher;
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$encryptionAlgID:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getParameters:()Lorg/bouncycastle/asn1/ASN1Encodable;
astore 2
start local 2 2: aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$encryptionAlgID:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
ifnull 20
aload 2
instanceof org.bouncycastle.asn1.ASN1Null
ifne 20
4: aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.this$0:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$encryptionAlgID:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createAlgorithmParameters:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljava/security/AlgorithmParameters;
astore 4
start local 4 5: aload 4
aload 2
invokestatic org.bouncycastle.cms.jcajce.CMSUtils.loadParameters:(Ljava/security/AlgorithmParameters;Lorg/bouncycastle/asn1/ASN1Encodable;)V
6: aload 1
iconst_2
aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$sKey:Ljava/security/Key;
aload 4
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/AlgorithmParameters;)V
end local 4 7: goto 27
8: StackMap locals: org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1 javax.crypto.Cipher org.bouncycastle.asn1.ASN1Encodable java.lang.String
StackMap stack: java.security.NoSuchAlgorithmException
astore 4
start local 4 9: aload 3
getstatic org.bouncycastle.cms.CMSAlgorithm.DES_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
10: aload 3
getstatic org.bouncycastle.cms.CMSEnvelopedDataGenerator.DES_EDE3_CBC:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
11: aload 3
ldc "1.3.6.1.4.1.188.7.1.1.2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
12: aload 3
getstatic org.bouncycastle.cms.CMSEnvelopedDataGenerator.AES128_CBC:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
13: aload 3
getstatic org.bouncycastle.cms.CMSEnvelopedDataGenerator.AES192_CBC:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
14: aload 3
getstatic org.bouncycastle.cms.CMSEnvelopedDataGenerator.AES256_CBC:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
15: StackMap locals: java.security.NoSuchAlgorithmException
StackMap stack:
aload 1
iconst_2
aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$sKey:Ljava/security/Key;
new javax.crypto.spec.IvParameterSpec
dup
16: aload 2
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
17: invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
18: goto 27
19: StackMap locals:
StackMap stack:
aload 4
athrow
end local 4 20: StackMap locals:
StackMap stack:
aload 3
getstatic org.bouncycastle.cms.CMSAlgorithm.DES_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
21: aload 3
getstatic org.bouncycastle.cms.CMSEnvelopedDataGenerator.DES_EDE3_CBC:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
22: aload 3
ldc "1.3.6.1.4.1.188.7.1.1.2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
23: aload 3
ldc "1.2.840.113533.7.66.10"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: StackMap locals:
StackMap stack:
aload 1
iconst_2
aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$sKey:Ljava/security/Key;
new javax.crypto.spec.IvParameterSpec
dup
bipush 8
newarray 8
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
25: goto 27
26: StackMap locals:
StackMap stack:
aload 1
iconst_2
aload 0
getfield org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.val$sKey:Ljava/security/Key;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
27: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper$1;
1 28 1 cipher Ljavax/crypto/Cipher;
2 28 2 sParams Lorg/bouncycastle/asn1/ASN1Encodable;
3 28 3 encAlg Ljava/lang/String;
5 7 4 params Ljava/security/AlgorithmParameters;
9 20 4 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
4 7 8 Class java.security.NoSuchAlgorithmException
Exceptions:
throws org.bouncycastle.cms.CMSException, java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException, java.security.spec.InvalidParameterSpecException, java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.NoSuchProviderException
}
SourceFile: "EnvelopedDataHelper.java"
EnclosingMethod: org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createContentCipher:(Ljava/security/Key;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Ljavax/crypto/Cipher;
NestHost: org.bouncycastle.cms.jcajce.EnvelopedDataHelper
InnerClasses:
org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1
abstract JCECallback = org.bouncycastle.cms.jcajce.EnvelopedDataHelper$JCECallback of org.bouncycastle.cms.jcajce.EnvelopedDataHelper