Package org.bouncycastle.pkcs
Class PKCS12SecretBag
java.lang.Object
org.bouncycastle.pkcs.PKCS12SecretBag
Wrapper around the RFC 7292
SecretBag ASN.1 structure used by the
PKCS#12 secretBag bag type.-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1ObjectIdentifierReturn the OID identifying the type of the secret.org.bouncycastle.asn1.ASN1EncodableReturn the secret value associated with this bag.
-
Method Details
-
getSecretTypeId
public org.bouncycastle.asn1.ASN1ObjectIdentifier getSecretTypeId()Return the OID identifying the type of the secret. -
getSecretValue
public org.bouncycastle.asn1.ASN1Encodable getSecretValue()Return the secret value associated with this bag.
-