Class SecretBag

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.pkcs.SecretBag
All Implemented Interfaces:
ASN1Encodable, Encodable

public class SecretBag extends ASN1Object
RFC 7292 - SecretBag carrier for arbitrary secret values stored in a PKCS#12 SafeBag of type secretBag (PKCSObjectIdentifiers.secretBag).
   SecretBag ::= SEQUENCE {
       secretTypeId BAG-TYPE.&id ({SecretTypes}),
       secretValue  [0] EXPLICIT BAG-TYPE.&Type ({SecretTypes}{@secretTypeId})
   }