org.bouncycastle.asn1.crmf

Class AttributeTypeAndValue

Implemented Interfaces:
DEREncodable

public class AttributeTypeAndValue
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

static AttributeTypeAndValue
getInstance(Object o)
DERObjectIdentifier
getType()
ASN1Encodable
getValue()
DERObject
toASN1Object()
 AttributeTypeAndValue ::= SEQUENCE {
           type         OBJECT IDENTIFIER,
           value        ANY DEFINED BY type }
 

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Method Details

getInstance

public static AttributeTypeAndValue getInstance(Object o)

getType

public DERObjectIdentifier getType()

getValue

public ASN1Encodable getValue()

toASN1Object

public DERObject toASN1Object()
 AttributeTypeAndValue ::= SEQUENCE {
           type         OBJECT IDENTIFIER,
           value        ANY DEFINED BY type }
 
Overrides:
toASN1Object in interface ASN1Encodable
Returns:
a basic ASN.1 object representation.