ASN1Encodable, Encodablepublic class Attribute extends ASN1Object
| Constructor | Description |
|---|---|
Attribute(ASN1ObjectIdentifier attrType,
ASN1Set attrValues) |
|
Attribute(ASN1Sequence seq) |
| Modifier and Type | Method | Description |
|---|---|---|
ASN1Encodable[] |
getAttributeValues() |
|
ASN1ObjectIdentifier |
getAttrType() |
|
ASN1Set |
getAttrValues() |
|
static Attribute |
getInstance(java.lang.Object o) |
return an Attribute object from the given object.
|
ASN1Primitive |
toASN1Primitive() |
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic Attribute(ASN1Sequence seq)
public Attribute(ASN1ObjectIdentifier attrType, ASN1Set attrValues)
public static Attribute getInstance(java.lang.Object o)
o - the object we want converted.java.lang.IllegalArgumentException - if the object cannot be converted.public ASN1ObjectIdentifier getAttrType()
public ASN1Set getAttrValues()
public ASN1Encodable[] getAttributeValues()
public ASN1Primitive toASN1Primitive()
Attribute ::= SEQUENCE {
attrType OBJECT IDENTIFIER,
attrValues SET OF AttributeValue
}
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object