All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.asn1.NULL

java.lang.Object
   |
   +----iaik.asn1.ASN1Object
           |
           +----iaik.asn1.NULL

public class NULL
extends ASN1Object
This class implements the native ASN.1 type "NULL".


Constructor Index

 o NULL()
Allocates a NULL object.

Method Index

 o decode(int, int, DerDecodeInputStream)
Decodes the next available data from the DerDecodeInputStream.
 o encode(DerEncodeOutputStream)
DER encodes this ASN1Object and write the result to the DerEncodeOutputStream.
 o getValue()
Returns null.
 o init()
Initialize the object factory method.
 o setValue(Object)
Does nothing.
 o toString()
Returns a string that represents the contents of this BitString.

Constructors

 o NULL
 public NULL()
Allocates a NULL object.

Methods

 o init
 protected static void init()
Initialize the object factory method.

 o getValue
 public Object getValue()
Returns null.

Overrides:
getValue in class ASN1Object
 o setValue
 public void setValue(Object object)
Does nothing. Only implements abstract method from ASN1Object.

Overrides:
setValue in class ASN1Object
 o encode
 protected void encode(DerEncodeOutputStream os)
DER encodes this ASN1Object and write the result to the DerEncodeOutputStream.

Parameters:
os - the output stream to which to write the data
Overrides:
encode in class ASN1Object
 o decode
 protected void decode(int tag,
                       int length,
                       DerDecodeInputStream is)
Decodes the next available data from the DerDecodeInputStream.

Parameters:
tag - the full tag of the current ASN1Object
length - the length of the ASN1Object which shall be decoded
Overrides:
decode in class ASN1Object
 o toString
 public String toString()
Returns a string that represents the contents of this BitString.

Returns:
the string representation
Overrides:
toString in class ASN1Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index