Class ASN1Null

    • Method Detail

      • getInstance

        public static ASN1Null getInstance​(java.lang.Object o)
        Return an instance of ASN.1 NULL from the passed in object.

        Accepted inputs:

        • null → null
        • ASN1Null object
        • a byte[] containing ASN.1 NULL object

        Parameters:
        o - object to be converted.
        Returns:
        an instance of ASN1Null, or null.
        Throws:
        java.lang.IllegalArgumentException - if the object cannot be converted.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object