public abstract class org.bouncycastle.cms.jcajce.JceKEKRecipient implements org.bouncycastle.cms.KEKRecipient
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.cms.jcajce.JceKEKRecipient
super_class: java.lang.Object
{
private javax.crypto.SecretKey recipientKey;
descriptor: Ljavax/crypto/SecretKey;
flags: (0x0002) ACC_PRIVATE
protected org.bouncycastle.cms.jcajce.EnvelopedDataHelper helper;
descriptor: Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
flags: (0x0004) ACC_PROTECTED
protected org.bouncycastle.cms.jcajce.EnvelopedDataHelper contentHelper;
descriptor: Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
flags: (0x0004) ACC_PROTECTED
protected boolean validateKeySize;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>(javax.crypto.SecretKey);
descriptor: (Ljavax/crypto/SecretKey;)V
flags: (0x0001) ACC_PUBLIC
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
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.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
2: aload 0
aload 0
getfield org.bouncycastle.cms.jcajce.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
putfield org.bouncycastle.cms.jcajce.JceKEKRecipient.contentHelper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
3: aload 0
iconst_0
putfield org.bouncycastle.cms.jcajce.JceKEKRecipient.validateKeySize:Z
4: aload 0
aload 1
putfield org.bouncycastle.cms.jcajce.JceKEKRecipient.recipientKey:Ljavax/crypto/SecretKey;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
0 6 1 recipientKey Ljavax/crypto/SecretKey;
MethodParameters:
Name Flags
recipientKey
public org.bouncycastle.cms.jcajce.JceKEKRecipient setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
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.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
1: aload 0
aload 0
getfield org.bouncycastle.cms.jcajce.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
putfield org.bouncycastle.cms.jcajce.JceKEKRecipient.contentHelper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
0 3 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.cms.jcajce.JceKEKRecipient setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
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.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
1: aload 0
aload 0
getfield org.bouncycastle.cms.jcajce.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
putfield org.bouncycastle.cms.jcajce.JceKEKRecipient.contentHelper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
0 3 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public org.bouncycastle.cms.jcajce.JceKEKRecipient setContentProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
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.JceKEKRecipient.contentHelper: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/JceKEKRecipient;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.cms.jcajce.JceKEKRecipient setContentProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
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.JceKEKRecipient.contentHelper: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/JceKEKRecipient;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public org.bouncycastle.cms.jcajce.JceKEKRecipient setKeySizeValidation(boolean);
descriptor: (Z)Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
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.JceKEKRecipient.validateKeySize:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JceKEKRecipient;
0 2 1 doValidate Z
MethodParameters:
Name Flags
doValidate
protected java.security.Key (org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, byte[]);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)Ljava/security/Key;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.cms.jcajce.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 1
aload 0
getfield org.bouncycastle.cms.jcajce.JceKEKRecipient.recipientKey:Ljavax/crypto/SecretKey;
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createSymmetricUnwrapper:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Ljavax/crypto/SecretKey;)Lorg/bouncycastle/operator/SymmetricKeyUnwrapper;
astore 4
start local 4 1: aload 0
getfield org.bouncycastle.cms.jcajce.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 2
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 4
aload 2
aload 3
invokevirtual org.bouncycastle.operator.SymmetricKeyUnwrapper.generateUnwrappedKey:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)Lorg/bouncycastle/operator/GenericKey;
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.getJceKey:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/operator/GenericKey;)Ljava/security/Key;
astore 5
start local 5 2: aload 0
getfield org.bouncycastle.cms.jcajce.JceKEKRecipient.validateKeySize:Z
ifeq 4
3: aload 0
getfield org.bouncycastle.cms.jcajce.JceKEKRecipient.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
aload 2
aload 5
invokevirtual org.bouncycastle.cms.jcajce.EnvelopedDataHelper.keySizeCheck:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Ljava/security/Key;)V
4: StackMap locals: org.bouncycastle.operator.SymmetricKeyUnwrapper java.security.Key
StackMap stack:
aload 5
5: areturn
end local 5 6: StackMap locals: org.bouncycastle.cms.jcajce.JceKEKRecipient org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.x509.AlgorithmIdentifier byte[] org.bouncycastle.operator.SymmetricKeyUnwrapper
StackMap stack: org.bouncycastle.operator.OperatorException
astore 5
start local 5 7: new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "exception unwrapping key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual org.bouncycastle.operator.OperatorException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
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/JceKEKRecipient;
0 8 1 keyEncryptionAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 8 2 encryptedKeyAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 8 3 encryptedContentEncryptionKey [B
1 8 4 unwrapper Lorg/bouncycastle/operator/SymmetricKeyUnwrapper;
2 6 5 key Ljava/security/Key;
7 8 5 e Lorg/bouncycastle/operator/OperatorException;
Exception table:
from to target type
1 5 6 Class org.bouncycastle.operator.OperatorException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
keyEncryptionAlgorithm
encryptedKeyAlgorithm
encryptedContentEncryptionKey
}
SourceFile: "JceKEKRecipient.java"