| Modifier and Type | Class and Description | 
|---|---|
static class  | 
BOOLEAN.Template
A Class for decoding  
BOOLEAN values from their BER
 encodings. | 
| Constructor and Description | 
|---|
BOOLEAN(boolean val)
Creates a  
BOOLEAN with the given value. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
        its own base tag. 
 | 
void | 
encode(Tag implicitTag,
      java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
 an implicit tag. 
 | 
Tag | 
getTag()
Returns the base tag for this type, not counting any tags
 that may be imposed on it by its context. 
 | 
static BOOLEAN.Template | 
getTemplate()  | 
boolean | 
toBoolean()
Returns the boolean value of this  
BOOLEAN. | 
java.lang.String | 
toString()
Returns "true" or "false". 
 | 
public Tag getTag()
ASN1Valuepublic void encode(java.io.OutputStream ostream)
            throws java.io.IOException
ASN1Valuepublic void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Valuepublic boolean toBoolean()
BOOLEAN.public java.lang.String toString()
toString in class java.lang.Objectpublic static BOOLEAN.Template getTemplate()