public class Attribute extends ASN1Encodable
BER, DER| Constructor and Description |
|---|
Attribute(ASN1Sequence seq) |
Attribute(DERObjectIdentifier attrType,
ASN1Set attrValues) |
| Modifier and Type | Method and Description |
|---|---|
DERObjectIdentifier |
getAttrType() |
ASN1Set |
getAttrValues() |
static Attribute |
getInstance(Object o)
return an Attribute object from the given object.
|
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic Attribute(ASN1Sequence seq)
public Attribute(DERObjectIdentifier attrType, ASN1Set attrValues)
public static Attribute getInstance(Object o)
o - the object we want converted.IllegalArgumentException - if the object cannot be converted.public DERObjectIdentifier getAttrType()
public ASN1Set getAttrValues()
public DERObject toASN1Object()
Attribute ::= SEQUENCE {
attrType OBJECT IDENTIFIER,
attrValues SET OF AttributeValue
}
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.