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
ConstructorsConstructorDescriptionAttributeTypeAndValue(String oid, org.bouncycastle.asn1.ASN1Encodable value) AttributeTypeAndValue(org.bouncycastle.asn1.ASN1ObjectIdentifier type, org.bouncycastle.asn1.ASN1Encodable value) -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeTypeAndValueorg.bouncycastle.asn1.ASN1ObjectIdentifiergetType()org.bouncycastle.asn1.ASN1EncodablegetValue()org.bouncycastle.asn1.ASN1PrimitiveAttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
AttributeTypeAndValue
-
AttributeTypeAndValue
public AttributeTypeAndValue(org.bouncycastle.asn1.ASN1ObjectIdentifier type, org.bouncycastle.asn1.ASN1Encodable value)
-
-
Method Details
-
getInstance
-
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:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object- Returns:
- a basic ASN.1 object representation.
-