Oracle Security Developer Tools Crypto Java API Reference
10g Release 2 (10.1.2.0.2)

B15565-01


oracle.security.crypto.asn1
Class ASN1Null

java.lang.Object
  extended byoracle.security.crypto.asn1.ASN1Null

All Implemented Interfaces:
ASN1Object, ASN1TaggedObject, Streamable

public class ASN1Null
extends java.lang.Object
implements ASN1TaggedObject

The ASN.1 null value.

The input may by any valid BER encoding of an ASN.1 null value. The output is always a DER encoding.


Constructor Summary
ASN1Null()
ASN1Null(java.io.InputStream is)

Method Summary
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".

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

ASN1Null

public ASN1Null()

ASN1Null

public ASN1Null(java.io.InputStream is)
         throws java.io.IOException

Method Detail

getHeader

public ASN1Header getHeader()
Specified by:
getHeader in interface ASN1TaggedObject

toString

public java.lang.String toString()
Returns the string "NULL".

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Description copied from interface: Streamable
Inputs this object from the specified input stream.
Specified by:
input in interface Streamable
Throws:
java.io.IOException

length

public int length()
Description copied from interface: Streamable
Length of this object's encoding.
Specified by:
length in interface Streamable

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Description copied from interface: Streamable
Outputs this object to the specified output stream.
Specified by:
output in interface Streamable
Throws:
java.io.IOException

Oracle Security Developer Tools Crypto Java API Reference
10g Release 2 (10.1.2.0.2)

B15565-01


Copyright © 2005 , Oracle. All rights reserved.