blob: c5dd66422af8379612f5b2f9ee4d7d914650076b [file] [log] [blame]
package org.bouncycastle.jce.interfaces;
import java.util.Enumeration;
import org.bouncycastle.asn1.DEREncodable;
import org.bouncycastle.asn1.DERObjectIdentifier;
/**
* allow us to set attributes on objects that can go into a PKCS12 store.
*/
public interface PKCS12BagAttributeCarrier
{
public void setBagAttribute(
DERObjectIdentifier oid,
DEREncodable attribute);
public DEREncodable getBagAttribute(
DERObjectIdentifier oid);
public Enumeration getBagAttributeKeys();
}