org.mozilla.jss.asn1
public class BOOLEAN extends Object implements ASN1Value
BOOLEAN
value.
Nested Class Summary | |
---|---|
static class | BOOLEAN.Template
A Class for decoding BOOLEAN values from their BER
encodings. |
Field Summary | |
---|---|
static Form | FORM |
static Tag | TAG |
Constructor Summary | |
---|---|
BOOLEAN(boolean val)
Creates a BOOLEAN with the given value. |
Method Summary | |
---|---|
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
Tag | getTag() |
static BOOLEAN.Template | getTemplate() |
boolean | toBoolean()
Returns the boolean value of this BOOLEAN . |
String | toString()
Returns "true" or "false". |
BOOLEAN
with the given value.BOOLEAN
.