Class Attribute
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable,io.anyline.nfc.bouncycastle.util.Encodable
public class Attribute extends ASN1Object
-
-
Field Summary
Fields Modifier and Type Field Description public ASN1ObjectIdentifierattrTypepublic ASN1SetattrValues
-
Constructor Summary
Constructors Constructor Description Attribute(ASN1ObjectIdentifier attrType, ASN1Set attrValues)
-
Method Summary
Modifier and Type Method Description ASN1ObjectIdentifiergetAttrType()ASN1SetgetAttrValues()static AttributegetInstance(Object o)return an Attribute object from the given object. Array<ASN1Encodable>getAttributeValues()ASN1PrimitivetoASN1Primitive()Produce an object suitable for an ASN1OutputStream. -
-
Constructor Detail
-
Attribute
Attribute(ASN1ObjectIdentifier attrType, ASN1Set attrValues)
-
-
Method Detail
-
getAttrType
ASN1ObjectIdentifier getAttrType()
-
getAttrValues
ASN1Set getAttrValues()
-
getInstance
static Attribute getInstance(Object o)
return an Attribute object from the given object.
- Parameters:
o- the object we want converted.
-
getAttributeValues
Array<ASN1Encodable> getAttributeValues()
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
Attribute ::= SEQUENCE { attrType OBJECT IDENTIFIER, attrValues SET OF AttributeValue }
-
-
-
-