public class org.bouncycastle.pkcs.PKCS12PfxPduBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkcs.PKCS12PfxPduBuilder
super_class: java.lang.Object
{
private org.bouncycastle.asn1.ASN1EncodableVector dataVector;
descriptor: Lorg/bouncycastle/asn1/ASN1EncodableVector;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
putfield org.bouncycastle.pkcs.PKCS12PfxPduBuilder.dataVector:Lorg/bouncycastle/asn1/ASN1EncodableVector;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
public org.bouncycastle.pkcs.PKCS12PfxPduBuilder addData(org.bouncycastle.pkcs.PKCS12SafeBag);
descriptor: (Lorg/bouncycastle/pkcs/PKCS12SafeBag;)Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.pkcs.PKCS12PfxPduBuilder.dataVector:Lorg/bouncycastle/asn1/ASN1EncodableVector;
new org.bouncycastle.asn1.pkcs.ContentInfo
dup
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.data:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.DEROctetString
dup
new org.bouncycastle.asn1.DLSequence
dup
aload 1
invokevirtual org.bouncycastle.pkcs.PKCS12SafeBag.toASN1Structure:()Lorg/bouncycastle/asn1/pkcs/SafeBag;
invokespecial org.bouncycastle.asn1.DLSequence.<init>:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.DLSequence.getEncoded:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.pkcs.ContentInfo.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
0 2 1 data Lorg/bouncycastle/pkcs/PKCS12SafeBag;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
public org.bouncycastle.pkcs.PKCS12PfxPduBuilder addEncryptedData(org.bouncycastle.operator.OutputEncryptor, org.bouncycastle.pkcs.PKCS12SafeBag);
descriptor: (Lorg/bouncycastle/operator/OutputEncryptor;Lorg/bouncycastle/pkcs/PKCS12SafeBag;)Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
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
new org.bouncycastle.asn1.DERSequence
dup
aload 2
invokevirtual org.bouncycastle.pkcs.PKCS12SafeBag.toASN1Structure:()Lorg/bouncycastle/asn1/pkcs/SafeBag;
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.pkcs.PKCS12PfxPduBuilder.addEncryptedData:(Lorg/bouncycastle/operator/OutputEncryptor;Lorg/bouncycastle/asn1/ASN1Sequence;)Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
0 1 1 dataEncryptor Lorg/bouncycastle/operator/OutputEncryptor;
0 1 2 data Lorg/bouncycastle/pkcs/PKCS12SafeBag;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataEncryptor
data
public org.bouncycastle.pkcs.PKCS12PfxPduBuilder addEncryptedData(org.bouncycastle.operator.OutputEncryptor, org.bouncycastle.pkcs.PKCS12SafeBag[]);
descriptor: (Lorg/bouncycastle/operator/OutputEncryptor;[Lorg/bouncycastle/pkcs/PKCS12SafeBag;)Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 5
3: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector int
StackMap stack:
aload 3
aload 2
iload 4
aaload
invokevirtual org.bouncycastle.pkcs.PKCS12SafeBag.toASN1Structure:()Lorg/bouncycastle/asn1/pkcs/SafeBag;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 2
arraylength
if_icmpne 3
end local 4 6: aload 0
aload 1
new org.bouncycastle.asn1.DLSequence
dup
aload 3
invokespecial org.bouncycastle.asn1.DLSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokevirtual org.bouncycastle.pkcs.PKCS12PfxPduBuilder.addEncryptedData:(Lorg/bouncycastle/operator/OutputEncryptor;Lorg/bouncycastle/asn1/ASN1Sequence;)Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
0 7 1 dataEncryptor Lorg/bouncycastle/operator/OutputEncryptor;
0 7 2 data [Lorg/bouncycastle/pkcs/PKCS12SafeBag;
1 7 3 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
2 6 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataEncryptor
data
private org.bouncycastle.pkcs.PKCS12PfxPduBuilder addEncryptedData(org.bouncycastle.operator.OutputEncryptor, org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/operator/OutputEncryptor;Lorg/bouncycastle/asn1/ASN1Sequence;)Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new org.bouncycastle.cms.CMSEncryptedDataGenerator
dup
invokespecial org.bouncycastle.cms.CMSEncryptedDataGenerator.<init>:()V
astore 3
start local 3 1: aload 0
getfield org.bouncycastle.pkcs.PKCS12PfxPduBuilder.dataVector:Lorg/bouncycastle/asn1/ASN1EncodableVector;
aload 3
new org.bouncycastle.cms.CMSProcessableByteArray
dup
aload 2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getEncoded:()[B
invokespecial org.bouncycastle.cms.CMSProcessableByteArray.<init>:([B)V
aload 1
invokevirtual org.bouncycastle.cms.CMSEncryptedDataGenerator.generate:(Lorg/bouncycastle/cms/CMSTypedData;Lorg/bouncycastle/operator/OutputEncryptor;)Lorg/bouncycastle/cms/CMSEncryptedData;
invokevirtual org.bouncycastle.cms.CMSEncryptedData.toASN1Structure:()Lorg/bouncycastle/asn1/cms/ContentInfo;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
2: goto 5
3: StackMap locals: org.bouncycastle.pkcs.PKCS12PfxPduBuilder org.bouncycastle.operator.OutputEncryptor org.bouncycastle.asn1.ASN1Sequence org.bouncycastle.cms.CMSEncryptedDataGenerator
StackMap stack: org.bouncycastle.cms.CMSException
astore 4
start local 4 4: new org.bouncycastle.pkcs.PKCSIOException
dup
aload 4
invokevirtual org.bouncycastle.cms.CMSException.getMessage:()Ljava/lang/String;
aload 4
invokevirtual org.bouncycastle.cms.CMSException.getCause:()Ljava/lang/Throwable;
invokespecial org.bouncycastle.pkcs.PKCSIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
0 6 1 dataEncryptor Lorg/bouncycastle/operator/OutputEncryptor;
0 6 2 data Lorg/bouncycastle/asn1/ASN1Sequence;
1 6 3 envGen Lorg/bouncycastle/cms/CMSEncryptedDataGenerator;
4 5 4 e Lorg/bouncycastle/cms/CMSException;
Exception table:
from to target type
1 2 3 Class org.bouncycastle.cms.CMSException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataEncryptor
data
public org.bouncycastle.pkcs.PKCS12PfxPdu build(org.bouncycastle.pkcs.PKCS12MacCalculatorBuilder, char[]);
descriptor: (Lorg/bouncycastle/pkcs/PKCS12MacCalculatorBuilder;[C)Lorg/bouncycastle/pkcs/PKCS12PfxPdu;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new org.bouncycastle.asn1.DLSequence
dup
aload 0
getfield org.bouncycastle.pkcs.PKCS12PfxPduBuilder.dataVector:Lorg/bouncycastle/asn1/ASN1EncodableVector;
invokespecial org.bouncycastle.asn1.DLSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokestatic org.bouncycastle.asn1.pkcs.AuthenticatedSafe.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/AuthenticatedSafe;
astore 3
start local 3 1: aload 3
invokevirtual org.bouncycastle.asn1.pkcs.AuthenticatedSafe.getEncoded:()[B
astore 4
start local 4 2: goto 5
end local 4 3: StackMap locals: org.bouncycastle.pkcs.PKCS12PfxPduBuilder org.bouncycastle.pkcs.PKCS12MacCalculatorBuilder char[] org.bouncycastle.asn1.pkcs.AuthenticatedSafe
StackMap stack: java.io.IOException
astore 5
start local 5 4: new org.bouncycastle.pkcs.PKCSException
dup
new java.lang.StringBuilder
dup
ldc "unable to encode AuthenticatedSafe: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.io.IOException.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.pkcs.PKCSException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 start local 4 5: StackMap locals: byte[]
StackMap stack:
new org.bouncycastle.asn1.pkcs.ContentInfo
dup
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.data:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.DEROctetString
dup
aload 4
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.pkcs.ContentInfo.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
astore 5
start local 5 6: aconst_null
astore 6
start local 6 7: aload 1
ifnull 10
8: new org.bouncycastle.pkcs.MacDataGenerator
dup
aload 1
invokespecial org.bouncycastle.pkcs.MacDataGenerator.<init>:(Lorg/bouncycastle/pkcs/PKCS12MacCalculatorBuilder;)V
astore 7
start local 7 9: aload 7
aload 2
aload 4
invokevirtual org.bouncycastle.pkcs.MacDataGenerator.build:([C[B)Lorg/bouncycastle/asn1/pkcs/MacData;
astore 6
end local 7 10: StackMap locals: org.bouncycastle.asn1.pkcs.ContentInfo org.bouncycastle.asn1.pkcs.MacData
StackMap stack:
new org.bouncycastle.asn1.pkcs.Pfx
dup
aload 5
aload 6
invokespecial org.bouncycastle.asn1.pkcs.Pfx.<init>:(Lorg/bouncycastle/asn1/pkcs/ContentInfo;Lorg/bouncycastle/asn1/pkcs/MacData;)V
astore 7
start local 7 11: new org.bouncycastle.pkcs.PKCS12PfxPdu
dup
aload 7
invokespecial org.bouncycastle.pkcs.PKCS12PfxPdu.<init>:(Lorg/bouncycastle/asn1/pkcs/Pfx;)V
areturn
end local 7 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 12 0 this Lorg/bouncycastle/pkcs/PKCS12PfxPduBuilder;
0 12 1 macCalcBuilder Lorg/bouncycastle/pkcs/PKCS12MacCalculatorBuilder;
0 12 2 password [C
1 12 3 auth Lorg/bouncycastle/asn1/pkcs/AuthenticatedSafe;
2 3 4 encAuth [B
5 12 4 encAuth [B
4 5 5 e Ljava/io/IOException;
6 12 5 mainInfo Lorg/bouncycastle/asn1/pkcs/ContentInfo;
7 12 6 mData Lorg/bouncycastle/asn1/pkcs/MacData;
9 10 7 mdGen Lorg/bouncycastle/pkcs/MacDataGenerator;
11 12 7 pfx Lorg/bouncycastle/asn1/pkcs/Pfx;
Exception table:
from to target type
1 2 3 Class java.io.IOException
Exceptions:
throws org.bouncycastle.pkcs.PKCSException
MethodParameters:
Name Flags
macCalcBuilder
password
}
SourceFile: "PKCS12PfxPduBuilder.java"