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