org.bouncycastle.asn1
public class DERBoolean extends ASN1Object
Field Summary | |
---|---|
static DERBoolean | FALSE |
static DERBoolean | TRUE |
Constructor Summary | |
---|---|
DERBoolean(byte[] value) | |
DERBoolean(boolean value) |
Method Summary | |
---|---|
protected boolean | asn1Equals(DERObject o) |
static DERBoolean | getInstance(Object obj)
return a boolean from the passed in object.
|
static DERBoolean | getInstance(boolean value)
return a DERBoolean from the passed in boolean. |
static DERBoolean | getInstance(ASN1TaggedObject obj, boolean explicit)
return a Boolean from a tagged object.
|
int | hashCode() |
boolean | isTrue() |
String | toString() |
Throws: IllegalArgumentException if the object cannot be converted.
Parameters: obj the tagged object holding the object we want explicit true if the object is meant to be explicitly tagged false otherwise.
Throws: IllegalArgumentException if the tagged object cannot be converted.