Package org.gudy.bouncycastle.asn1.x509
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 org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
Constructor Summary
ConstructorsConstructorDescriptionAttribute
(ASN1Sequence seq) Attribute
(DERObjectIdentifier attrType, ASN1Set attrValues) -
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.gudy.bouncycastle.asn1.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:
toASN1Object
in classASN1Encodable
-