public class org.bouncycastle.pkcs.PKCS12SafeBagBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkcs.PKCS12SafeBagBuilder
super_class: java.lang.Object
{
private org.bouncycastle.asn1.ASN1ObjectIdentifier bagType;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1Encodable bagValue;
descriptor: Lorg/bouncycastle/asn1/ASN1Encodable;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1EncodableVector bagAttrs;
descriptor: Lorg/bouncycastle/asn1/ASN1EncodableVector;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.pkcs.PrivateKeyInfo, org.bouncycastle.operator.OutputEncryptor);
descriptor: (Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;Lorg/bouncycastle/operator/OutputEncryptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagAttrs:Lorg/bouncycastle/asn1/ASN1EncodableVector;
2: aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.pkcs8ShroudedKeyBag:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
3: aload 0
new org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder
dup
aload 1
invokespecial org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder.<init>:(Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
aload 2
invokevirtual org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder.build:(Lorg/bouncycastle/operator/OutputEncryptor;)Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
invokevirtual org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.toASN1Structure:()Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagValue:Lorg/bouncycastle/asn1/ASN1Encodable;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
0 5 1 privateKeyInfo Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
0 5 2 encryptor Lorg/bouncycastle/operator/OutputEncryptor;
MethodParameters:
Name Flags
privateKeyInfo
encryptor
public void <init>(org.bouncycastle.asn1.pkcs.PrivateKeyInfo);
descriptor: (Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagAttrs:Lorg/bouncycastle/asn1/ASN1EncodableVector;
2: aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.keyBag:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
3: aload 0
aload 1
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagValue:Lorg/bouncycastle/asn1/ASN1Encodable;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
0 5 1 privateKeyInfo Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
MethodParameters:
Name Flags
privateKeyInfo
public void <init>(org.bouncycastle.cert.X509CertificateHolder);
descriptor: (Lorg/bouncycastle/cert/X509CertificateHolder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.cert.X509CertificateHolder.toASN1Structure:()Lorg/bouncycastle/asn1/x509/Certificate;
invokespecial org.bouncycastle.pkcs.PKCS12SafeBagBuilder.<init>:(Lorg/bouncycastle/asn1/x509/Certificate;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
0 2 1 certificate Lorg/bouncycastle/cert/X509CertificateHolder;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
certificate
public void <init>(org.bouncycastle.cert.X509CRLHolder);
descriptor: (Lorg/bouncycastle/cert/X509CRLHolder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.cert.X509CRLHolder.toASN1Structure:()Lorg/bouncycastle/asn1/x509/CertificateList;
invokespecial org.bouncycastle.pkcs.PKCS12SafeBagBuilder.<init>:(Lorg/bouncycastle/asn1/x509/CertificateList;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
0 2 1 crl Lorg/bouncycastle/cert/X509CRLHolder;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
crl
public void <init>(org.bouncycastle.asn1.x509.Certificate);
descriptor: (Lorg/bouncycastle/asn1/x509/Certificate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagAttrs:Lorg/bouncycastle/asn1/ASN1EncodableVector;
2: aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.certBag:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
3: aload 0
new org.bouncycastle.asn1.pkcs.CertBag
dup
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.x509Certificate:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.DEROctetString
dup
aload 1
invokevirtual org.bouncycastle.asn1.x509.Certificate.getEncoded:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.pkcs.CertBag.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagValue:Lorg/bouncycastle/asn1/ASN1Encodable;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
0 5 1 certificate Lorg/bouncycastle/asn1/x509/Certificate;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
certificate
public void <init>(org.bouncycastle.asn1.x509.CertificateList);
descriptor: (Lorg/bouncycastle/asn1/x509/CertificateList;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagAttrs:Lorg/bouncycastle/asn1/ASN1EncodableVector;
2: aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.crlBag:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
3: aload 0
new org.bouncycastle.asn1.pkcs.CertBag
dup
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.x509Crl:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.DEROctetString
dup
aload 1
invokevirtual org.bouncycastle.asn1.x509.CertificateList.getEncoded:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.pkcs.CertBag.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
putfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagValue:Lorg/bouncycastle/asn1/ASN1Encodable;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
0 5 1 crl Lorg/bouncycastle/asn1/x509/CertificateList;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
crl
public org.bouncycastle.pkcs.PKCS12SafeBagBuilder addBagAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagAttrs:Lorg/bouncycastle/asn1/ASN1EncodableVector;
new org.bouncycastle.asn1.pkcs.Attribute
dup
aload 1
new org.bouncycastle.asn1.DERSet
dup
aload 2
invokespecial org.bouncycastle.asn1.DERSet.<init>:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
invokespecial org.bouncycastle.asn1.pkcs.Attribute.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Set;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
0 2 1 attrType Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 2 2 attrValue Lorg/bouncycastle/asn1/ASN1Encodable;
MethodParameters:
Name Flags
attrType
attrValue
public org.bouncycastle.pkcs.PKCS12SafeBag build();
descriptor: ()Lorg/bouncycastle/pkcs/PKCS12SafeBag;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: new org.bouncycastle.pkcs.PKCS12SafeBag
dup
new org.bouncycastle.asn1.pkcs.SafeBag
dup
aload 0
getfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 0
getfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagValue:Lorg/bouncycastle/asn1/ASN1Encodable;
new org.bouncycastle.asn1.DERSet
dup
aload 0
getfield org.bouncycastle.pkcs.PKCS12SafeBagBuilder.bagAttrs:Lorg/bouncycastle/asn1/ASN1EncodableVector;
invokespecial org.bouncycastle.asn1.DERSet.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokespecial org.bouncycastle.asn1.pkcs.SafeBag.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;Lorg/bouncycastle/asn1/ASN1Set;)V
invokespecial org.bouncycastle.pkcs.PKCS12SafeBag.<init>:(Lorg/bouncycastle/asn1/pkcs/SafeBag;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS12SafeBagBuilder;
}
SourceFile: "PKCS12SafeBagBuilder.java"