Class AttributeTypeAndValue

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class AttributeTypeAndValue
    extends org.bouncycastle.asn1.ASN1Object
    • Constructor Detail

      • AttributeTypeAndValue

        public AttributeTypeAndValue​(String oid,
                                     org.bouncycastle.asn1.ASN1Encodable value)
      • AttributeTypeAndValue

        public AttributeTypeAndValue​(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
                                     org.bouncycastle.asn1.ASN1Encodable value)
    • Method Detail

      • 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 interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
        Returns:
        a basic ASN.1 object representation.