public class org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator extends org.bouncycastle.cms.PasswordRecipientInfoGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator
super_class: org.bouncycastle.cms.PasswordRecipientInfoGenerator
{
private org.bouncycastle.cms.jcajce.EnvelopedDataHelper helper;
descriptor: Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.ASN1ObjectIdentifier, char[]);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.bouncycastle.cms.PasswordRecipientInfoGenerator.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[C)V
1: aload 0
new org.bouncycastle.cms.jcajce.EnvelopedDataHelper
dup
new org.bouncycastle.cms.jcajce.DefaultJcaJceExtHelper
dup
invokespecial org.bouncycastle.cms.jcajce.DefaultJcaJceExtHelper.<init>:()V
invokespecial org.bouncycastle.cms.jcajce.EnvelopedDataHelper.<init>:(Lorg/bouncycastle/cms/jcajce/JcaJceExtHelper;)V
putfield org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipientInfoGenerator;
0 3 1 kekAlgorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 3 2 password [C
MethodParameters:
Name Flags
kekAlgorithm
password
public org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cms/jcajce/JcePasswordRecipientInfoGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.cms.jcajce.EnvelopedDataHelper
dup
new org.bouncycastle.cms.jcajce.ProviderJcaJceExtHelper
dup
aload 1
invokespecial org.bouncycastle.cms.jcajce.ProviderJcaJceExtHelper.<init>:(Ljava/security/Provider;)V
invokespecial org.bouncycastle.cms.jcajce.EnvelopedDataHelper.<init>:(Lorg/bouncycastle/cms/jcajce/JcaJceExtHelper;)V
putfield org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipientInfoGenerator;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cms/jcajce/JcePasswordRecipientInfoGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.cms.jcajce.EnvelopedDataHelper
dup
new org.bouncycastle.cms.jcajce.NamedJcaJceExtHelper
dup
aload 1
invokespecial org.bouncycastle.cms.jcajce.NamedJcaJceExtHelper.<init>:(Ljava/lang/String;)V
invokespecial org.bouncycastle.cms.jcajce.EnvelopedDataHelper.<init>:(Lorg/bouncycastle/cms/jcajce/JcaJceExtHelper;)V
putfield org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipientInfoGenerator;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
protected byte[] calculateDerivedKey(int, org.bouncycastle.asn1.x509.AlgorithmIdentifier, int);
descriptor: (ILorg/bouncycastle/asn1/x509/AlgorithmIdentifier;I)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
iload 1
aload 0
getfield org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator.password:[C
aload 2
iload 3
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.calculateDerivedKey:(I[CLorg/bouncycastle/asn1/x509/AlgorithmIdentifier;I)[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipientInfoGenerator;
0 1 1 schemeID I
0 1 2 derivationAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 1 3 keySize I
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
schemeID
derivationAlgorithm
keySize
public byte[] generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier, byte[], org.bouncycastle.operator.GenericKey);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[BLorg/bouncycastle/operator/GenericKey;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 3
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.getJceKey:(Lorg/bouncycastle/operator/GenericKey;)Ljava/security/Key;
astore 4
start local 4 1: aload 0
getfield org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 1
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createRFC3211Wrapper:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljavax/crypto/Cipher;
astore 5
start local 5 2: new javax.crypto.spec.IvParameterSpec
dup
aload 1
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getParameters:()Lorg/bouncycastle/asn1/ASN1Encodable;
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
astore 6
start local 6 3: aload 5
iconst_3
new javax.crypto.spec.SecretKeySpec
dup
aload 2
aload 5
invokevirtual javax.crypto.Cipher.getAlgorithm:()Ljava/lang/String;
invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
aload 6
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
4: aload 5
aload 4
invokevirtual javax.crypto.Cipher.wrap:(Ljava/security/Key;)[B
5: areturn
end local 6 6: StackMap locals: org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator org.bouncycastle.asn1.x509.AlgorithmIdentifier byte[] org.bouncycastle.operator.GenericKey java.security.Key javax.crypto.Cipher
StackMap stack: java.security.GeneralSecurityException
astore 6
start local 6 7: new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "cannot process content encryption key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
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 6
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipientInfoGenerator;
0 8 1 keyEncryptionAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 8 2 derivedKey [B
0 8 3 contentEncryptionKey Lorg/bouncycastle/operator/GenericKey;
1 8 4 contentEncryptionKeySpec Ljava/security/Key;
2 8 5 keyEncryptionCipher Ljavax/crypto/Cipher;
3 6 6 ivSpec Ljavax/crypto/spec/IvParameterSpec;
7 8 6 e Ljava/security/GeneralSecurityException;
Exception table:
from to target type
2 5 6 Class java.security.GeneralSecurityException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
keyEncryptionAlgorithm
derivedKey
contentEncryptionKey
}
SourceFile: "JcePasswordRecipientInfoGenerator.java"