public class

DERBoolean

extends ASN1Object
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.DERObject
       ↳ org.bouncycastle.asn1.ASN1Object
         ↳ org.bouncycastle.asn1.DERBoolean
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
From interface org.bouncycastle.asn1.DERTags
Fields
public static final DERBoolean FALSE
public static final DERBoolean TRUE
Public Constructors
DERBoolean(byte[] value)
DERBoolean(boolean value)
Public Methods
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.
static DERBoolean getInstance(Object obj)
return a boolean from the passed in object.
int hashCode()
boolean isTrue()
String toString()
Protected Methods
boolean asn1Equals(DERObject o)
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Object
From class org.bouncycastle.asn1.DERObject
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Fields

public static final DERBoolean FALSE

public static final DERBoolean TRUE

Public Constructors

public DERBoolean (byte[] value)

public DERBoolean (boolean value)

Public Methods

public static DERBoolean getInstance (boolean value)

return a DERBoolean from the passed in boolean.

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
IllegalArgumentException if the tagged object cannot be converted.

public static DERBoolean getInstance (Object obj)

return a boolean from the passed in object.

Throws
IllegalArgumentException if the object cannot be converted.

public int hashCode ()

public boolean isTrue ()

public String toString ()

Protected Methods

protected boolean asn1Equals (DERObject o)