org.bouncycastle.asn1.pkcs
public class Attribute extends ASN1Encodable
Constructor Summary | |
---|---|
Attribute(ASN1Sequence seq) | |
Attribute(DERObjectIdentifier attrType, ASN1Set attrValues) |
Method Summary | |
---|---|
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.
|
Parameters: o the object we want converted.
Throws: IllegalArgumentException if the object cannot be converted.
Attribute ::= SEQUENCE { attrType OBJECT IDENTIFIER, attrValues SET OF AttributeValue }