org.apache.directory.shared.asn1.der
Class DERBoolean
java.lang.Object
org.apache.directory.shared.asn1.der.DERObject
org.apache.directory.shared.asn1.der.DERBoolean
- All Implemented Interfaces:
- DEREncodable
public class DERBoolean
- extends DERObject
DER Boolean object.
Fields inherited from class org.apache.directory.shared.asn1.der.DERObject |
tag, value |
Constructor Summary |
DERBoolean(byte[] value)
Basic DERObject constructor. |
Method Summary |
boolean |
isTrue()
Lazy accessor |
static DERBoolean |
valueOf(boolean value)
Static factory method, type-conversion operator. |
TRUE
public static final DERBoolean TRUE
FALSE
public static final DERBoolean FALSE
DERBoolean
public DERBoolean(byte[] value)
- Basic DERObject constructor.
valueOf
public static DERBoolean valueOf(boolean value)
- Static factory method, type-conversion operator.
isTrue
public boolean isTrue()
- Lazy accessor
- Returns:
- boolean value
Copyright © 2004-2012. All Rights Reserved.