Class Attribute
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.Attribute
- All Implemented Interfaces:
DEREncodable
-
Field Summary
FieldsFields inherited from class ASN1Encodable
BER, DER -
Constructor Summary
ConstructorsConstructorDescriptionAttribute(ASN1Sequence seq) Attribute(DERObjectIdentifier attrType, ASN1Set attrValues) -
Method Summary
Modifier and TypeMethodDescriptionstatic Attributereturn an Attribute object from the given object.Produce an object suitable for an ASN1OutputStream.Methods inherited from class ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
Field Details
-
attrType
-
attrValues
-
-
Constructor Details
-
Attribute
-
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
-
getAttrValues
-
toASN1Object
Produce an object suitable for an ASN1OutputStream.Attribute ::= SEQUENCE { attrType OBJECT IDENTIFIER, attrValues SET OF AttributeValue }- Specified by:
toASN1Objectin classASN1Encodable
-