Top Description Fields Constructors Methods
org.bouncycastle.asn1.x500

public Class AttributeTypeAndValue

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive, .ASN1Sequence, .DERSequence

Holding class for the AttributeTypeAndValue structures that make up an RDN.

Field Summary

Modifier and TypeField and Description
private ASN1ObjectIdentifier
private ASN1Encodable

Constructor Summary

AccessConstructor and Description
private
public

Method Summary

Modifier and TypeMethod and Description
public static AttributeTypeAndValue
public ASN1ObjectIdentifier
public ASN1Encodable
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

AttributeTypeAndValue ::= SEQUENCE {
          type         OBJECT IDENTIFIER,
          value        ANY DEFINED BY type }
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

typeback to summary
private ASN1ObjectIdentifier type
valueback to summary
private ASN1Encodable value

Constructor Detail

AttributeTypeAndValueback to summary
private AttributeTypeAndValue(ASN1Sequence seq)
AttributeTypeAndValueback to summary
public AttributeTypeAndValue(ASN1ObjectIdentifier type, ASN1Encodable value)

Method Detail

getInstanceback to summary
public static AttributeTypeAndValue getInstance(Object o)
getTypeback to summary
public ASN1ObjectIdentifier getType()
getValueback to summary
public ASN1Encodable getValue()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

AttributeTypeAndValue ::= SEQUENCE {
          type         OBJECT IDENTIFIER,
          value        ANY DEFINED BY type }
Returns:ASN1Primitive

a basic ASN.1 object representation.