Package org.bouncycastle.asn1.crmf
Class AttributeTypeAndValue
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.crmf.AttributeTypeAndValue
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class AttributeTypeAndValue extends org.bouncycastle.asn1.ASN1Object
-
-
Constructor Summary
Constructors Constructor Description AttributeTypeAndValue(java.lang.String oid, org.bouncycastle.asn1.ASN1Encodable value)
AttributeTypeAndValue(org.bouncycastle.asn1.ASN1ObjectIdentifier type, org.bouncycastle.asn1.ASN1Encodable value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeTypeAndValue
getInstance(java.lang.Object o)
org.bouncycastle.asn1.ASN1ObjectIdentifier
getType()
org.bouncycastle.asn1.ASN1Encodable
getValue()
org.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }
-
-
-
Method Detail
-
getInstance
public static AttributeTypeAndValue getInstance(java.lang.Object o)
-
getType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getType()
-
getValue
public org.bouncycastle.asn1.ASN1Encodable getValue()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
- Returns:
- a basic ASN.1 object representation.
-
-