Class AttrOrOID

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

    public class AttrOrOID
    extends org.bouncycastle.asn1.ASN1Object
    implements org.bouncycastle.asn1.ASN1Choice
        AttrOrOID ::= CHOICE (oid OBJECT IDENTIFIER, attribute Attribute }
     
    • Constructor Summary

      Constructors 
      Constructor Description
      AttrOrOID​(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)  
      AttrOrOID​(org.bouncycastle.asn1.pkcs.Attribute attribute)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bouncycastle.asn1.pkcs.Attribute getAttribute()  
      static AttrOrOID getInstance​(java.lang.Object obj)  
      org.bouncycastle.asn1.ASN1ObjectIdentifier getOid()  
      boolean isOid()  
      org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()  
      • Methods inherited from class org.bouncycastle.asn1.ASN1Object

        encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AttrOrOID

        public AttrOrOID​(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
      • AttrOrOID

        public AttrOrOID​(org.bouncycastle.asn1.pkcs.Attribute attribute)
    • Method Detail

      • getInstance

        public static AttrOrOID getInstance​(java.lang.Object obj)
      • isOid

        public boolean isOid()
      • getOid

        public org.bouncycastle.asn1.ASN1ObjectIdentifier getOid()
      • getAttribute

        public org.bouncycastle.asn1.pkcs.Attribute getAttribute()
      • toASN1Primitive

        public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
        Specified by:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object