Attribute ::= SEQUENCE {
attrType OBJECT IDENTIFIER,
attrValues SET OF AttributeValue
}
AttributeValue ::= ANY
General rule on values is that same AttributeValue must not be included multiple times into the set. That is, if the value is a SET OF INTEGERs, then having same value repeated is wrong: (1, 1), but different values is OK: (1, 2). Normally the AttributeValue syntaxes are more complicated than that.
General rule of Attribute usage is that the Attributes containers
must not have multiple Attribute:s with same attrType (OID) there.
| Modifier and Type | Field and Description |
|---|---|
| private ASN1ObjectIdentifier | |
| private ASN1Set |
| Access | Constructor and Description |
|---|---|
| private | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ASN1Encodable[] | |
| public ASN1ObjectIdentifier | |
| public ASN1Set | |
| public static Attribute | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. |
| attrType | back to summary |
|---|---|
| private ASN1ObjectIdentifier attrType | |
| attrValues | back to summary |
|---|---|
| private ASN1Set attrValues | |
| Attribute | back to summary |
|---|---|
| private Attribute(ASN1Sequence seq) | |
| Attribute | back to summary |
|---|---|
| public Attribute(ASN1ObjectIdentifier attrType, ASN1Set attrValues) | |
| getAttributeValues | back to summary |
|---|---|
| public ASN1Encodable[] getAttributeValues() | |
| getAttrType | back to summary |
|---|---|
| public ASN1ObjectIdentifier getAttrType() | |
| getAttrValues | back to summary |
|---|---|
| public ASN1Set getAttrValues() | |
| getInstance | back to summary |
|---|---|
| public static Attribute getInstance(Object o) Return an Attribute object from the given object. Accepted inputs:
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream.
| |