Bouncy Castle Cryptography 1.46

org.bouncycastle.asn1.x500
Class AttributeTypeAndValue

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.bouncycastle.asn1.x500.AttributeTypeAndValue
All Implemented Interfaces:
DEREncodable

public class AttributeTypeAndValue
extends ASN1Encodable


Field Summary
 
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
AttributeTypeAndValue(ASN1ObjectIdentifier type, ASN1Encodable value)
           
 
Method Summary
static AttributeTypeAndValue getInstance(java.lang.Object o)
           
 ASN1ObjectIdentifier 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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()

toASN1Object

public DERObject toASN1Object()
 AttributeTypeAndValue ::= SEQUENCE {
           type         OBJECT IDENTIFIER,
           value        ANY DEFINED BY type }
 

Specified by:
toASN1Object in class ASN1Encodable
Returns:
a basic ASN.1 object representation.

Bouncy Castle Cryptography 1.46