Class DERBoolean

    • Constructor Detail

      • DERBoolean

        public DERBoolean​(byte[] value)
      • DERBoolean

        public DERBoolean​(boolean value)
    • Method Detail

      • getInstance

        public static DERBoolean getInstance​(java.lang.Object obj)
        return a boolean from the passed in object.
        Throws:
        java.lang.IllegalArgumentException - if the object cannot be converted.
      • getInstance

        public static DERBoolean getInstance​(boolean value)
        return a DERBoolean from the passed in boolean.
      • getInstance

        public static DERBoolean getInstance​(ASN1TaggedObject obj,
                                             boolean explicit)
        return a Boolean from a tagged object.
        Parameters:
        obj - the tagged object holding the object we want
        explicit - true if the object is meant to be explicitly tagged false otherwise.
        Throws:
        java.lang.IllegalArgumentException - if the tagged object cannot be converted.
      • isTrue

        public boolean isTrue()
      • toString

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