Class 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})
       }