public class ASN1Null extends java.lang.Object implements ASN1TaggedObject
The input may by any valid BER encoding of an ASN.1 null value. The output is always a DER encoding.
| Constructor and Description |
|---|
ASN1Null() |
ASN1Null(java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
ASN1Header |
getHeader() |
void |
input(java.io.InputStream is)
Inputs this object from the specified input stream.
|
int |
length()
Length of this object's encoding.
|
void |
output(java.io.OutputStream os)
Outputs this object to the specified output stream.
|
java.lang.String |
toString()
Returns the string "NULL".
|
public ASN1Null()
public ASN1Null(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic ASN1Header getHeader()
getHeader in interface ASN1TaggedObjectpublic java.lang.String toString()
toString in class java.lang.Object
public void input(java.io.InputStream is)
throws java.io.IOException
Streamableinput in interface Streamablejava.io.IOExceptionpublic int length()
Streamablelength in interface Streamable
public void output(java.io.OutputStream os)
throws java.io.IOException
Streamableoutput in interface Streamablejava.io.IOException