org.bouncycastle.asn1.cms
Class AttributeTable
java.lang.Object
org.bouncycastle.asn1.cms.AttributeTable
public class AttributeTable
extends java.lang.Object
AttributeTable
public AttributeTable(Hashtable attrs)
AttributeTable
public AttributeTable(ASN1Set s)
get
public Attribute get(DERObjectIdentifier oid)
Return the first attribute matching the OBJECT IDENTIFIER oid.
oid
- type of attribute required.
- first attribute found of type oid.
getAll
public ASN1EncodableVector getAll(DERObjectIdentifier oid)
Return all the attributes matching the OBJECT IDENTIFIER oid. The vector will be
empty if there are no attributes of the required type present.
oid
- type of attribute required.
- a vector of all the attributes found of type oid.
toHashtable
public Hashtable toHashtable()