Class AttributeTypeAndValue
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class AttributeTypeAndValue extends ASN1Object
Holding class for the AttributeTypeAndValue structures that make up an RDN.
-
-
Field Summary
Fields Modifier and Type Field Description public ASN1ObjectIdentifier
type
public ASN1Encodable
value
-
Constructor Summary
Constructors Constructor Description AttributeTypeAndValue(ASN1ObjectIdentifier type, ASN1Encodable value)
-
Method Summary
Modifier and Type Method Description ASN1ObjectIdentifier
getType()
ASN1Encodable
getValue()
static AttributeTypeAndValue
getInstance(Object o)
ASN1Primitive
toASN1Primitive()
AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }
-
-
Constructor Detail
-
AttributeTypeAndValue
AttributeTypeAndValue(ASN1ObjectIdentifier type, ASN1Encodable value)
-
-
Method Detail
-
getType
ASN1ObjectIdentifier getType()
-
getValue
ASN1Encodable getValue()
-
getInstance
static AttributeTypeAndValue getInstance(Object o)
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }
- Returns:
a basic ASN.1 object representation.
-
-
-
-