Attributes sets.
| Modifier and Type | Field and Description |
|---|---|
| private Hashtable |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AttributeTable | Returns: a new table with the extra attribute in it.the type of the attribute to add. attrType, ASN1Encodable the value corresponding to the attribute (will be wrapped in a SET). attrValue)Return a new table with the passed in attribute added. |
| private void | |
| private Hashtable | |
| public Attribute | Returns: first attribute found of type oid.type of attribute required. oid)Return the first attribute matching the OBJECT IDENTIFIER oid. |
| public ASN1EncodableVector | Returns: a vector of all the attributes found of type oid.type of attribute required. oid)Return all the attributes matching the OBJECT IDENTIFIER oid. |
| public AttributeTable | |
| public int | |
| public ASN1EncodableVector | |
| public Attributes | |
| public Hashtable |
| attributes | back to summary |
|---|---|
| private Hashtable<K, V> attributes | |
| AttributeTable | back to summary |
|---|---|
| public AttributeTable(Hashtable<K, V> attrs) | |
| AttributeTable | back to summary |
|---|---|
| public AttributeTable(ASN1EncodableVector v) | |
| AttributeTable | back to summary |
|---|---|
| public AttributeTable(ASN1Set s) | |
| AttributeTable | back to summary |
|---|---|
| public AttributeTable(Attribute attr) | |
| AttributeTable | back to summary |
|---|---|
| public AttributeTable(Attributes attrs) | |
| add | back to summary |
|---|---|
| public AttributeTable add(ASN1ObjectIdentifier attrType, ASN1Encodable attrValue) Return a new table with the passed in attribute added.
| |
| addAttribute | back to summary |
|---|---|
| private void addAttribute(ASN1ObjectIdentifier oid, Attribute a) | |
| copyTable | back to summary |
|---|---|
| private Hashtable | |
| get | back to summary |
|---|---|
| public Attribute get(ASN1ObjectIdentifier oid) Return the first attribute matching the OBJECT IDENTIFIER oid.
| |
| getAll | back to summary |
|---|---|
| public ASN1EncodableVector getAll(ASN1ObjectIdentifier 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.
| |
| remove | back to summary |
|---|---|
| public AttributeTable remove(ASN1ObjectIdentifier attrType) | |
| size | back to summary |
|---|---|
| public int size() | |
| toASN1EncodableVector | back to summary |
|---|---|
| public ASN1EncodableVector toASN1EncodableVector() | |
| toASN1Structure | back to summary |
|---|---|
| public Attributes toASN1Structure() | |
| toHashtable | back to summary |
|---|---|
| public Hashtable | |