Class PKCS12SecretBagBuilder

java.lang.Object
org.bouncycastle.pkcs.PKCS12SecretBagBuilder

public class PKCS12SecretBagBuilder extends Object
Builder for a PKCS12SecretBag carrying an arbitrary secret value identified by the supplied bag-type OID.
  • Constructor Details

    • PKCS12SecretBagBuilder

      public PKCS12SecretBagBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier secretTypeId, org.bouncycastle.asn1.ASN1Encodable secretValue)
      Base constructor.
      Parameters:
      secretTypeId - OID identifying the type of secret being stored.
      secretValue - the secret value to wrap.
  • Method Details