public class PKCS12SecretBagBuilder
extends java.lang.Object
PKCS12SecretBag carrying an arbitrary secret value
identified by the supplied bag-type OID.| Constructor and Description |
|---|
PKCS12SecretBagBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier secretTypeId,
org.bouncycastle.asn1.ASN1Encodable secretValue)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PKCS12SecretBag |
build()
Build the configured
PKCS12SecretBag. |
public PKCS12SecretBagBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier secretTypeId,
org.bouncycastle.asn1.ASN1Encodable secretValue)
secretTypeId - OID identifying the type of secret being stored.secretValue - the secret value to wrap.public PKCS12SecretBag build()
PKCS12SecretBag.