Class ASN1ObjectDescriptor

  • All Implemented Interfaces:
    io.anyline.nfc.bouncycastle.asn1.ASN1Encodable , io.anyline.nfc.bouncycastle.util.Encodable

    
    public final class ASN1ObjectDescriptor
    extends ASN1Primitive
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ASN1GraphicString getBaseGraphicString()
      static ASN1ObjectDescriptor getInstance(Object obj) Return an ObjectDescriptor from the passed in object.
      static ASN1ObjectDescriptor getInstance(ASN1TaggedObject taggedObject, boolean explicit) Return an ObjectDescriptor from a tagged object.
      int hashCode()
      • Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Primitive

        encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
      • Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Object

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

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

    • Method Detail

      • getInstance

         static ASN1ObjectDescriptor getInstance(Object obj)

        Return an ObjectDescriptor from the passed in object.

        Parameters:
        obj - an ASN1ObjectDescriptor or an object that can be converted into one.
        Returns:

        an ASN1ObjectDescriptor instance, or null.

      • getInstance

         static ASN1ObjectDescriptor getInstance(ASN1TaggedObject taggedObject, boolean explicit)

        Return an ObjectDescriptor from a tagged object.

        Parameters:
        taggedObject - the tagged object holding the object we want.
        explicit - true if the object is meant to be explicitly tagged, false otherwise.
        Returns:

        an ASN1ObjectDescriptor instance, or null.