blob: b8ebee74d7d716f56ac225003f278c29330fd16f [file] [log] [blame]
package org.bouncycastle.jce.interfaces;
import java.util.Enumeration;
import org.bouncycastle.asn1.ASN1Encodable;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
/**
* 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(
ASN1ObjectIdentifier oid);
Enumeration getBagAttributeKeys();
}