Package org.bouncycastle.asn1.x509
Class Attribute
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.Attribute
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Attribute
return an Attribute object from the given object.Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
Attribute
-
-
Method Details
-
getInstance
return an Attribute object from the given object.- Parameters:
o
- the object we want converted.- Throws:
IllegalArgumentException
- if the object cannot be converted.
-
getAttrType
-
getAttributeValues
-
getAttrValues
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.Attribute ::= SEQUENCE { attrType OBJECT IDENTIFIER, attrValues SET OF AttributeValue }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-