public abstract class org.bouncycastle.cms.jcajce.JcePasswordRecipient implements org.bouncycastle.cms.PasswordRecipient
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.cms.jcajce.JcePasswordRecipient
super_class: java.lang.Object
{
private int schemeID;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected org.bouncycastle.cms.jcajce.EnvelopedDataHelper helper;
descriptor: Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
flags: (0x0004) ACC_PROTECTED
private char[] password;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
void <init>(char[]);
descriptor: ([C)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.bouncycastle.cms.jcajce.JcePasswordRecipient.schemeID:I
2: 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.JcePasswordRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
3: aload 0
aload 1
putfield org.bouncycastle.cms.jcajce.JcePasswordRecipient.password:[C
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipient;
0 5 1 password [C
MethodParameters:
Name Flags
password
public org.bouncycastle.cms.jcajce.JcePasswordRecipient setPasswordConversionScheme(int);
descriptor: (I)Lorg/bouncycastle/cms/jcajce/JcePasswordRecipient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.cms.jcajce.JcePasswordRecipient.schemeID:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipient;
0 2 1 schemeID I
MethodParameters:
Name Flags
schemeID
public org.bouncycastle.cms.jcajce.JcePasswordRecipient setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cms/jcajce/JcePasswordRecipient;
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.JcePasswordRecipient.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/JcePasswordRecipient;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.cms.jcajce.JcePasswordRecipient setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cms/jcajce/JcePasswordRecipient;
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.JcePasswordRecipient.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/JcePasswordRecipient;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
protected java.security.Key (org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, byte[], byte[]);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B[B)Ljava/security/Key;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.bouncycastle.cms.jcajce.JcePasswordRecipient.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 1: 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 2: aload 5
iconst_4
new javax.crypto.spec.SecretKeySpec
dup
aload 3
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
3: aload 5
aload 4
aload 2
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
iconst_3
invokevirtual javax.crypto.Cipher.unwrap:([BLjava/lang/String;I)Ljava/security/Key;
4: areturn
end local 6 5: StackMap locals: org.bouncycastle.cms.jcajce.JcePasswordRecipient org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.x509.AlgorithmIdentifier byte[] byte[] javax.crypto.Cipher
StackMap stack: java.security.GeneralSecurityException
astore 6
start local 6 6: 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 7 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipient;
0 7 1 keyEncryptionAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 7 2 contentEncryptionAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 7 3 derivedKey [B
0 7 4 encryptedContentEncryptionKey [B
1 7 5 keyEncryptionCipher Ljavax/crypto/Cipher;
2 5 6 ivSpec Ljavax/crypto/spec/IvParameterSpec;
6 7 6 e Ljava/security/GeneralSecurityException;
Exception table:
from to target type
1 4 5 Class java.security.GeneralSecurityException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
keyEncryptionAlgorithm
contentEncryptionAlgorithm
derivedKey
encryptedContentEncryptionKey
public byte[] calculateDerivedKey(int, org.bouncycastle.asn1.x509.AlgorithmIdentifier, int);
descriptor: (ILorg/bouncycastle/asn1/x509/AlgorithmIdentifier;I)[B
flags: (0x0001) ACC_PUBLIC
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.JcePasswordRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
iload 1
aload 0
getfield org.bouncycastle.cms.jcajce.JcePasswordRecipient.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/JcePasswordRecipient;
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 int getPasswordConversionScheme();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.jcajce.JcePasswordRecipient.schemeID:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipient;
public char[] getPassword();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.jcajce.JcePasswordRecipient.password:[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/JcePasswordRecipient;
}
SourceFile: "JcePasswordRecipient.java"