Class ASN1Null

    • Method Detail

      • getInstance

        public static ASN1Null getInstance​(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:
        IllegalArgumentException - if the object cannot be converted.