Package org.bouncycastle.pkcs
Class PKCS12SecretBagBuilder
- java.lang.Object
-
- org.bouncycastle.pkcs.PKCS12SecretBagBuilder
-
public class PKCS12SecretBagBuilder extends java.lang.ObjectBuilder for aPKCS12SecretBagcarrying an arbitrary secret value identified by the supplied bag-type OID.
-
-
Constructor Summary
Constructors Constructor Description PKCS12SecretBagBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier secretTypeId, org.bouncycastle.asn1.ASN1Encodable secretValue)Base constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PKCS12SecretBagbuild()Build the configuredPKCS12SecretBag.
-
-
-
Constructor Detail
-
PKCS12SecretBagBuilder
public PKCS12SecretBagBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier secretTypeId, org.bouncycastle.asn1.ASN1Encodable secretValue)Base constructor.- Parameters:
secretTypeId- OID identifying the type of secret being stored.secretValue- the secret value to wrap.
-
-
Method Detail
-
build
public PKCS12SecretBag build()
Build the configuredPKCS12SecretBag.- Returns:
- the resulting secret bag.
-
-