01: package org.bouncycastle.jce.interfaces;
02:
03: import java.util.Enumeration;
04:
05: import org.bouncycastle.asn1.DEREncodable;
06: import org.bouncycastle.asn1.DERObjectIdentifier;
07:
08: /**
09: * allow us to set attributes on objects that can go into a PKCS12 store.
10: */
11: public interface PKCS12BagAttributeCarrier {
12: void setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute);
13:
14: DEREncodable getBagAttribute(DERObjectIdentifier oid);
15:
16: Enumeration getBagAttributeKeys();
17: }
|