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.IOException
public ASN1Header getHeader()
getHeader
in interface ASN1TaggedObject
public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
Streamable
input
in interface Streamable
java.io.IOException
public int length()
Streamable
length
in interface Streamable
public void output(java.io.OutputStream os) throws java.io.IOException
Streamable
output
in interface Streamable
java.io.IOException