org.mozilla.jss.asn1
Class BOOLEAN
java.lang.Object
org.mozilla.jss.asn1.BOOLEAN
- ASN1Value
public class BOOLEAN
extends java.lang.Object
An ASN.1 BOOLEAN
value.
static class | BOOLEAN.Template - A Class for decoding
BOOLEAN values from their BER
encodings.
|
BOOLEAN(boolean val) - Creates a
BOOLEAN with the given value.
|
FORM
public static final Form FORM
TAG
public static final Tag TAG
BOOLEAN
public BOOLEAN(boolean val)
Creates a BOOLEAN
with the given value.
encode
public void encode(OutputStream ostream)
throws IOException
- encode in interface ASN1Value
encode
public void encode(Tag implicitTag,
OutputStream ostream)
throws IOException
- encode in interface ASN1Value
toBoolean
public boolean toBoolean()
Returns the boolean value of this BOOLEAN
.
toString
public String toString()
Returns "true" or "false".