Package org.bouncycastle.pkcs
Class PKCS12SafeBagBuilder
- java.lang.Object
-
- org.bouncycastle.pkcs.PKCS12SafeBagBuilder
-
- Direct Known Subclasses:
JcaPKCS12SafeBagBuilder
public class PKCS12SafeBagBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PKCS12SafeBagBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo)
PKCS12SafeBagBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo, OutputEncryptor encryptor)
PKCS12SafeBagBuilder(org.bouncycastle.asn1.x509.Certificate certificate)
PKCS12SafeBagBuilder(org.bouncycastle.asn1.x509.CertificateList crl)
PKCS12SafeBagBuilder(X509CertificateHolder certificate)
PKCS12SafeBagBuilder(X509CRLHolder crl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PKCS12SafeBagBuilder
addBagAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier attrType, org.bouncycastle.asn1.ASN1Encodable attrValue)
PKCS12SafeBag
build()
-
-
-
Constructor Detail
-
PKCS12SafeBagBuilder
public PKCS12SafeBagBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo, OutputEncryptor encryptor)
-
PKCS12SafeBagBuilder
public PKCS12SafeBagBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo)
-
PKCS12SafeBagBuilder
public PKCS12SafeBagBuilder(X509CertificateHolder certificate) throws java.io.IOException
- Throws:
java.io.IOException
-
PKCS12SafeBagBuilder
public PKCS12SafeBagBuilder(X509CRLHolder crl) throws java.io.IOException
- Throws:
java.io.IOException
-
PKCS12SafeBagBuilder
public PKCS12SafeBagBuilder(org.bouncycastle.asn1.x509.Certificate certificate) throws java.io.IOException
- Throws:
java.io.IOException
-
PKCS12SafeBagBuilder
public PKCS12SafeBagBuilder(org.bouncycastle.asn1.x509.CertificateList crl) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
addBagAttribute
public PKCS12SafeBagBuilder addBagAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier attrType, org.bouncycastle.asn1.ASN1Encodable attrValue)
-
build
public PKCS12SafeBag build()
-
-