org.bouncycastle.jce.interfaces

Interface PKCS12BagAttributeCarrier

Known Implementing Classes:
JCEDHPrivateKey, JCEECPrivateKey, JCEElGamalPrivateKey, JCERSAPrivateCrtKey, JCERSAPrivateKey, JDKDSAPrivateKey, JDKGOST3410PrivateKey, X509CertificateObject

public interface PKCS12BagAttributeCarrier

allow us to set attributes on objects that can go into a PKCS12 store.

Method Summary

DEREncodable
getBagAttribute(DERObjectIdentifier oid)
Enumeration
getBagAttributeKeys()
void
setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)

Method Details

getBagAttribute

public DEREncodable getBagAttribute(DERObjectIdentifier oid)

getBagAttributeKeys

public Enumeration getBagAttributeKeys()

setBagAttribute

public void setBagAttribute(DERObjectIdentifier oid,
                            DEREncodable attribute)