public class PKCS12SecretBag
extends java.lang.Object
SecretBag ASN.1 structure used by the
PKCS#12 secretBag bag type.| Constructor and Description |
|---|
PKCS12SecretBag(org.bouncycastle.asn1.pkcs.SecretBag secretBag)
Wrap an existing parsed SecretBag ASN.1 structure.
|
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getSecretTypeId()
Return the OID identifying the type of the secret.
|
org.bouncycastle.asn1.ASN1Encodable |
getSecretValue()
Return the secret value associated with this bag.
|
org.bouncycastle.asn1.pkcs.SecretBag |
toASN1Structure()
Return the underlying ASN.1 structure for this secret bag.
|
public PKCS12SecretBag(org.bouncycastle.asn1.pkcs.SecretBag secretBag)
secretBag - the underlying SecretBag.public org.bouncycastle.asn1.pkcs.SecretBag toASN1Structure()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getSecretTypeId()
public org.bouncycastle.asn1.ASN1Encodable getSecretValue()