Package org.bouncycastle.asn1.x500
Class AttributeTypeAndValue
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x500.AttributeTypeAndValue
-
- All Implemented Interfaces:
ASN1Encodable,Encodable
public class AttributeTypeAndValue extends ASN1Object
Holding class for the AttributeTypeAndValue structures that make up an RDN.
-
-
Constructor Summary
Constructors Constructor Description AttributeTypeAndValue(ASN1ObjectIdentifier type, ASN1Encodable value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeTypeAndValuegetInstance(java.lang.Object o)ASN1ObjectIdentifiergetType()ASN1EncodablegetValue()ASN1PrimitivetoASN1Primitive()AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
AttributeTypeAndValue
public AttributeTypeAndValue(ASN1ObjectIdentifier type, ASN1Encodable value)
-
-
Method Detail
-
getInstance
public static AttributeTypeAndValue getInstance(java.lang.Object o)
-
getType
public ASN1ObjectIdentifier getType()
-
getValue
public ASN1Encodable getValue()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a basic ASN.1 object representation.
-
-