Package org.gudy.bouncycastle.asn1.pkcs
Class Attribute
java.lang.Object
org.gudy.bouncycastle.asn1.pkcs.Attribute
- All Implemented Interfaces:
DEREncodable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttribute
(ASN1Sequence seq) Attribute
(DERObjectIdentifier attrType, ASN1Set attrValues) -
Method Summary
Modifier and TypeMethodDescriptionProduce an object suitable for an ASN1OutputStream.static Attribute
return an Attribute object from the given object.
-
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
-
getDERObject
Produce an object suitable for an ASN1OutputStream.Attribute ::= SEQUENCE { attrType OBJECT IDENTIFIER, attrValues SET OF AttributeValue }
- Specified by:
getDERObject
in interfaceDEREncodable
-