public class org.bouncycastle.cert.crmf.PKIArchiveControlBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.crmf.PKIArchiveControlBuilder
super_class: java.lang.Object
{
private org.bouncycastle.cms.CMSEnvelopedDataGenerator envGen;
descriptor: Lorg/bouncycastle/cms/CMSEnvelopedDataGenerator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cms.CMSProcessableByteArray keyContent;
descriptor: Lorg/bouncycastle/cms/CMSProcessableByteArray;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.pkcs.PrivateKeyInfo, org.bouncycastle.asn1.x509.GeneralName);
descriptor: (Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;Lorg/bouncycastle/asn1/x509/GeneralName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 // org.bouncycastle.cert.crmf.PKIArchiveControlBuilder this
start local 1 // org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo
start local 2 // org.bouncycastle.asn1.x509.GeneralName generalName
0: .line 33
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 35
new org.bouncycastle.asn1.crmf.EncKeyWithID
dup
aload 1 /* privateKeyInfo */
aload 2 /* generalName */
invokespecial org.bouncycastle.asn1.crmf.EncKeyWithID.<init>:(Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;Lorg/bouncycastle/asn1/x509/GeneralName;)V
astore 3 /* encKeyWithID */
start local 3 // org.bouncycastle.asn1.crmf.EncKeyWithID encKeyWithID
2: .line 39
aload 0 /* this */
new org.bouncycastle.cms.CMSProcessableByteArray
dup
getstatic org.bouncycastle.asn1.crmf.CRMFObjectIdentifiers.id_ct_encKeyWithID:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 3 /* encKeyWithID */
invokevirtual org.bouncycastle.asn1.crmf.EncKeyWithID.getEncoded:()[B
invokespecial org.bouncycastle.cms.CMSProcessableByteArray.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[B)V
putfield org.bouncycastle.cert.crmf.PKIArchiveControlBuilder.keyContent:Lorg/bouncycastle/cms/CMSProcessableByteArray;
3: .line 40
goto 6
4: .line 41
StackMap locals: org.bouncycastle.cert.crmf.PKIArchiveControlBuilder org.bouncycastle.asn1.pkcs.PrivateKeyInfo org.bouncycastle.asn1.x509.GeneralName org.bouncycastle.asn1.crmf.EncKeyWithID
StackMap stack: java.io.IOException
pop
5: .line 43
new java.lang.IllegalStateException
dup
ldc "unable to encode key and general name info"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: .line 46
StackMap locals:
StackMap stack:
aload 0 /* this */
new org.bouncycastle.cms.CMSEnvelopedDataGenerator
dup
invokespecial org.bouncycastle.cms.CMSEnvelopedDataGenerator.<init>:()V
putfield org.bouncycastle.cert.crmf.PKIArchiveControlBuilder.envGen:Lorg/bouncycastle/cms/CMSEnvelopedDataGenerator;
7: .line 47
return
end local 3 // org.bouncycastle.asn1.crmf.EncKeyWithID encKeyWithID
end local 2 // org.bouncycastle.asn1.x509.GeneralName generalName
end local 1 // org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo
end local 0 // org.bouncycastle.cert.crmf.PKIArchiveControlBuilder this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/cert/crmf/PKIArchiveControlBuilder;
0 8 1 privateKeyInfo Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
0 8 2 generalName Lorg/bouncycastle/asn1/x509/GeneralName;
2 8 3 encKeyWithID Lorg/bouncycastle/asn1/crmf/EncKeyWithID;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
privateKeyInfo
generalName
public org.bouncycastle.cert.crmf.PKIArchiveControlBuilder addRecipientGenerator(org.bouncycastle.cms.RecipientInfoGenerator);
descriptor: (Lorg/bouncycastle/cms/RecipientInfoGenerator;)Lorg/bouncycastle/cert/crmf/PKIArchiveControlBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.cert.crmf.PKIArchiveControlBuilder this
start local 1 // org.bouncycastle.cms.RecipientInfoGenerator recipientGen
0: .line 57
aload 0 /* this */
getfield org.bouncycastle.cert.crmf.PKIArchiveControlBuilder.envGen:Lorg/bouncycastle/cms/CMSEnvelopedDataGenerator;
aload 1 /* recipientGen */
invokevirtual org.bouncycastle.cms.CMSEnvelopedDataGenerator.addRecipientInfoGenerator:(Lorg/bouncycastle/cms/RecipientInfoGenerator;)V
1: .line 59
aload 0 /* this */
areturn
end local 1 // org.bouncycastle.cms.RecipientInfoGenerator recipientGen
end local 0 // org.bouncycastle.cert.crmf.PKIArchiveControlBuilder this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/crmf/PKIArchiveControlBuilder;
0 2 1 recipientGen Lorg/bouncycastle/cms/RecipientInfoGenerator;
MethodParameters:
Name Flags
recipientGen
public org.bouncycastle.cert.crmf.PKIArchiveControl build(org.bouncycastle.operator.OutputEncryptor);
descriptor: (Lorg/bouncycastle/operator/OutputEncryptor;)Lorg/bouncycastle/cert/crmf/PKIArchiveControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 // org.bouncycastle.cert.crmf.PKIArchiveControlBuilder this
start local 1 // org.bouncycastle.operator.OutputEncryptor contentEncryptor
0: .line 72
aload 0 /* this */
getfield org.bouncycastle.cert.crmf.PKIArchiveControlBuilder.envGen:Lorg/bouncycastle/cms/CMSEnvelopedDataGenerator;
aload 0 /* this */
getfield org.bouncycastle.cert.crmf.PKIArchiveControlBuilder.keyContent:Lorg/bouncycastle/cms/CMSProcessableByteArray;
aload 1 /* contentEncryptor */
invokevirtual org.bouncycastle.cms.CMSEnvelopedDataGenerator.generate:(Lorg/bouncycastle/cms/CMSTypedData;Lorg/bouncycastle/operator/OutputEncryptor;)Lorg/bouncycastle/cms/CMSEnvelopedData;
astore 2 /* envContent */
start local 2 // org.bouncycastle.cms.CMSEnvelopedData envContent
1: .line 74
aload 2 /* envContent */
invokevirtual org.bouncycastle.cms.CMSEnvelopedData.toASN1Structure:()Lorg/bouncycastle/asn1/cms/ContentInfo;
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getContent:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.cms.EnvelopedData.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/cms/EnvelopedData;
astore 3 /* envD */
start local 3 // org.bouncycastle.asn1.cms.EnvelopedData envD
2: .line 76
new org.bouncycastle.cert.crmf.PKIArchiveControl
dup
new org.bouncycastle.asn1.crmf.PKIArchiveOptions
dup
new org.bouncycastle.asn1.crmf.EncryptedKey
dup
aload 3 /* envD */
invokespecial org.bouncycastle.asn1.crmf.EncryptedKey.<init>:(Lorg/bouncycastle/asn1/cms/EnvelopedData;)V
invokespecial org.bouncycastle.asn1.crmf.PKIArchiveOptions.<init>:(Lorg/bouncycastle/asn1/crmf/EncryptedKey;)V
invokespecial org.bouncycastle.cert.crmf.PKIArchiveControl.<init>:(Lorg/bouncycastle/asn1/crmf/PKIArchiveOptions;)V
areturn
end local 3 // org.bouncycastle.asn1.cms.EnvelopedData envD
end local 2 // org.bouncycastle.cms.CMSEnvelopedData envContent
end local 1 // org.bouncycastle.operator.OutputEncryptor contentEncryptor
end local 0 // org.bouncycastle.cert.crmf.PKIArchiveControlBuilder this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cert/crmf/PKIArchiveControlBuilder;
0 3 1 contentEncryptor Lorg/bouncycastle/operator/OutputEncryptor;
1 3 2 envContent Lorg/bouncycastle/cms/CMSEnvelopedData;
2 3 3 envD Lorg/bouncycastle/asn1/cms/EnvelopedData;
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
contentEncryptor
}
SourceFile: "PKIArchiveControlBuilder.java"