|
Oracle Security Developer Tools Crypto Java API Reference 10g (10.1.4.0.1) B28171-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.asn1.ASN1Boolean
The universal ASN.1 boolean type.
The input may be any valid BER encoding of an ASN.1 boolean value. The output is always a DER encoding.
Constructor Summary | |
ASN1Boolean() |
|
ASN1Boolean(boolean value) |
|
ASN1Boolean(java.io.InputStream is) |
Method Summary | |
ASN1Header |
getHeader() |
boolean |
getValue() |
void |
input(java.io.InputStream is) Inputs this object from the specified input stream. |
static boolean |
inputValue(java.io.InputStream is) |
int |
length() Length of this object's encoding. |
void |
output(java.io.OutputStream os) Outputs this object to the specified output stream. |
static void |
outputValue(java.io.OutputStream os, boolean value) |
static void |
outputValueWithTag(java.io.OutputStream os, boolean value, int tag) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ASN1Boolean()
public ASN1Boolean(boolean value)
public ASN1Boolean(java.io.InputStream is) throws java.io.IOException
Method Detail |
public ASN1Header getHeader()
getHeader
in interface ASN1TaggedObject
public boolean getValue()
public void input(java.io.InputStream is) throws java.io.IOException
Streamable
input
in interface Streamable
java.io.IOException
public static boolean inputValue(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
Streamable
output
in interface Streamable
java.io.IOException
public int length()
Streamable
length
in interface Streamable
public static void outputValue(java.io.OutputStream os, boolean value) throws java.io.IOException
java.io.IOException
public static void outputValueWithTag(java.io.OutputStream os, boolean value, int tag) throws java.io.IOException
java.io.IOException
|
Oracle Security Developer Tools Crypto Java API Reference 10g (10.1.4.0.1) B28171-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |