FileDocCategorySizeDatePackage
PKCS12BagAttributeCarrier.javaAPI DocAzureus 3.0.3.4525Tue Jun 08 05:13:02 BST 2004org.bouncycastle.jce.interfaces

PKCS12BagAttributeCarrier.java

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();
}