public abstract class org.bouncycastle.cms.KEKRecipientInfoGenerator implements org.bouncycastle.cms.RecipientInfoGenerator
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.cms.KEKRecipientInfoGenerator
super_class: java.lang.Object
{
private final org.bouncycastle.asn1.cms.KEKIdentifier kekIdentifier;
descriptor: Lorg/bouncycastle/asn1/cms/KEKIdentifier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final org.bouncycastle.operator.SymmetricKeyWrapper wrapper;
descriptor: Lorg/bouncycastle/operator/SymmetricKeyWrapper;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(org.bouncycastle.asn1.cms.KEKIdentifier, org.bouncycastle.operator.SymmetricKeyWrapper);
descriptor: (Lorg/bouncycastle/asn1/cms/KEKIdentifier;Lorg/bouncycastle/operator/SymmetricKeyWrapper;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.cms.KEKRecipientInfoGenerator.kekIdentifier:Lorg/bouncycastle/asn1/cms/KEKIdentifier;
2: aload 0
aload 2
putfield org.bouncycastle.cms.KEKRecipientInfoGenerator.wrapper:Lorg/bouncycastle/operator/SymmetricKeyWrapper;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/KEKRecipientInfoGenerator;
0 4 1 kekIdentifier Lorg/bouncycastle/asn1/cms/KEKIdentifier;
0 4 2 wrapper Lorg/bouncycastle/operator/SymmetricKeyWrapper;
MethodParameters:
Name Flags
kekIdentifier
wrapper
public final org.bouncycastle.asn1.cms.RecipientInfo generate(org.bouncycastle.operator.GenericKey);
descriptor: (Lorg/bouncycastle/operator/GenericKey;)Lorg/bouncycastle/asn1/cms/RecipientInfo;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: new org.bouncycastle.asn1.DEROctetString
dup
aload 0
getfield org.bouncycastle.cms.KEKRecipientInfoGenerator.wrapper:Lorg/bouncycastle/operator/SymmetricKeyWrapper;
aload 1
invokevirtual org.bouncycastle.operator.SymmetricKeyWrapper.generateWrappedKey:(Lorg/bouncycastle/operator/GenericKey;)[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
astore 2
start local 2 1: new org.bouncycastle.asn1.cms.RecipientInfo
dup
new org.bouncycastle.asn1.cms.KEKRecipientInfo
dup
aload 0
getfield org.bouncycastle.cms.KEKRecipientInfoGenerator.kekIdentifier:Lorg/bouncycastle/asn1/cms/KEKIdentifier;
aload 0
getfield org.bouncycastle.cms.KEKRecipientInfoGenerator.wrapper:Lorg/bouncycastle/operator/SymmetricKeyWrapper;
invokevirtual org.bouncycastle.operator.SymmetricKeyWrapper.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 2
invokespecial org.bouncycastle.asn1.cms.KEKRecipientInfo.<init>:(Lorg/bouncycastle/asn1/cms/KEKIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1OctetString;)V
invokespecial org.bouncycastle.asn1.cms.RecipientInfo.<init>:(Lorg/bouncycastle/asn1/cms/KEKRecipientInfo;)V
2: areturn
end local 2 3: StackMap locals:
StackMap stack: org.bouncycastle.operator.OperatorException
astore 2
start local 2 4: new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "exception wrapping content key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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 2
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cms/KEKRecipientInfoGenerator;
0 5 1 contentEncryptionKey Lorg/bouncycastle/operator/GenericKey;
1 3 2 encryptedKey Lorg/bouncycastle/asn1/ASN1OctetString;
4 5 2 e Lorg/bouncycastle/operator/OperatorException;
Exception table:
from to target type
0 2 3 Class org.bouncycastle.operator.OperatorException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
contentEncryptionKey
}
SourceFile: "KEKRecipientInfoGenerator.java"