org.bouncycastle.jce.provider
Class PKCS12BagAttributeCarrierImpl

java.lang.Object
  extended by org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
All Implemented Interfaces:
PKCS12BagAttributeCarrier

 class PKCS12BagAttributeCarrierImpl
extends java.lang.Object
implements PKCS12BagAttributeCarrier


Field Summary
private  java.util.Hashtable pkcs12Attributes
           
private  java.util.Vector pkcs12Ordering
           
 
Constructor Summary
PKCS12BagAttributeCarrierImpl()
           
PKCS12BagAttributeCarrierImpl(java.util.Hashtable attributes, java.util.Vector ordering)
           
 
Method Summary
(package private)  java.util.Hashtable getAttributes()
           
 DEREncodable getBagAttribute(DERObjectIdentifier oid)
           
 java.util.Enumeration getBagAttributeKeys()
           
(package private)  java.util.Vector getOrdering()
           
 void readObject(java.io.ObjectInputStream in)
           
 void setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)
           
(package private)  int size()
           
 void writeObject(java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pkcs12Attributes

private java.util.Hashtable pkcs12Attributes

pkcs12Ordering

private java.util.Vector pkcs12Ordering
Constructor Detail

PKCS12BagAttributeCarrierImpl

PKCS12BagAttributeCarrierImpl(java.util.Hashtable attributes,
                              java.util.Vector ordering)

PKCS12BagAttributeCarrierImpl

public PKCS12BagAttributeCarrierImpl()
Method Detail

setBagAttribute

public void setBagAttribute(DERObjectIdentifier oid,
                            DEREncodable attribute)
Specified by:
setBagAttribute in interface PKCS12BagAttributeCarrier

getBagAttribute

public DEREncodable getBagAttribute(DERObjectIdentifier oid)
Specified by:
getBagAttribute in interface PKCS12BagAttributeCarrier

getBagAttributeKeys

public java.util.Enumeration getBagAttributeKeys()
Specified by:
getBagAttributeKeys in interface PKCS12BagAttributeCarrier

size

int size()

getAttributes

java.util.Hashtable getAttributes()

getOrdering

java.util.Vector getOrdering()

writeObject

public void writeObject(java.io.ObjectOutputStream out)
                 throws java.io.IOException
Throws:
java.io.IOException

readObject

public void readObject(java.io.ObjectInputStream in)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException