org.mozilla.jss.asn1

Class NULL

Implemented Interfaces:
ASN1Value

public class NULL
extends java.lang.Object
implements ASN1Value

Nested Class Summary

static class
NULL.Template

Field Summary

static Form
FORM
static Tag
TAG

Method Summary

void
encode(OutputStream ostream)
Write this value's DER encoding to an output stream using its own base tag.
void
encode(Tag implicitTag, OutputStream ostream)
Write this value's DER encoding to an output stream using an implicit tag.
static NULL
getInstance()
Tag
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
static NULL.Template
getTemplate()

Field Details

FORM

public static final Form FORM

TAG

public static final Tag TAG

Method Details

encode

public void encode(OutputStream ostream)
            throws IOException
Write this value's DER encoding to an output stream using its own base tag.
Specified by:
encode in interface ASN1Value

encode

public void encode(Tag implicitTag,
                   OutputStream ostream)
            throws IOException
Write this value's DER encoding to an output stream using an implicit tag.
Specified by:
encode in interface ASN1Value

getInstance

public static NULL getInstance()

getTag

public Tag getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
Specified by:
getTag in interface ASN1Value

getTemplate

public static NULL.Template getTemplate()