codec.asn1
Class ASN1Null

java.lang.Object
  |
  +--codec.asn1.ASN1AbstractType
        |
        +--codec.asn1.ASN1Null
All Implemented Interfaces:
ASN1Type, Cloneable, Externalizable, Serializable

public class ASN1Null
extends ASN1AbstractType
implements Cloneable

Represents the ASN.1 NULL type.

Version:
"$Id: ASN1Null.java,v 1.2 2000/12/06 17:47:24 vroth Exp $"
Author:
Volker Roth
See Also:
Serialized Form

Constructor Summary
ASN1Null()
           
 
Method Summary
 void decode(Decoder dec)
           
 void encode(Encoder enc)
           
 int getTag()
          Returns the corresponding ASN.1 tag.
 Object getValue()
          This abstract method should return the value wrapped by the ASN1Type.
 String toString()
           
 
Methods inherited from class codec.asn1.ASN1AbstractType
checkConstraints, getConstraint, getTagClass, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASN1Null

public ASN1Null()
Method Detail

getValue

public Object getValue()
Description copied from class: ASN1AbstractType
This abstract method should return the value wrapped by the ASN1Type.
Overrides:
getValue in class ASN1AbstractType
Following copied from class: codec.asn1.ASN1AbstractType
Returns:
the internal value

getTag

public int getTag()
Description copied from class: ASN1AbstractType
Returns the corresponding ASN.1 tag.
Overrides:
getTag in class ASN1AbstractType
Following copied from class: codec.asn1.ASN1AbstractType
Returns:
the corresponding ASN.1 tag

encode

public void encode(Encoder enc)
            throws ASN1Exception,
                   IOException
Overrides:
encode in class ASN1AbstractType

decode

public void decode(Decoder dec)
            throws ASN1Exception,
                   IOException
Overrides:
decode in class ASN1AbstractType

toString

public String toString()
Overrides:
toString in class Object


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.