org.bouncycastle.asn1.crmf
Class AttributeTypeAndValue
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.crmf.AttributeTypeAndValue
- All Implemented Interfaces:
- DEREncodable
public class AttributeTypeAndValue
- extends ASN1Encodable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AttributeTypeAndValue
public AttributeTypeAndValue(java.lang.String oid,
ASN1Encodable value)
AttributeTypeAndValue
public AttributeTypeAndValue(DERObjectIdentifier type,
ASN1Encodable value)
getInstance
public static AttributeTypeAndValue getInstance(java.lang.Object o)
getType
public DERObjectIdentifier 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.