org.mozilla.jss.pkix.crmf

Class PKIArchiveOptions.Template

Enclosing Class:
PKIArchiveOptions
Implemented Interfaces:
ASN1Template

public static class PKIArchiveOptions.Template
extends java.lang.Object
implements ASN1Template

A template for decoding PKIArchiveOptions.

Constructor Summary

Template()

Method Summary

ASN1Value
decode(InputStream istream)
Decodes a PKIArchiveOptions.
ASN1Value
decode(Tag implicitTag, InputStream istream)
Decodes a PKIArchiveOptions.
boolean
tagMatch(Tag tag)
Returns true if the given tag can satisfy this CHOICE.

Constructor Details

Template

public Template()

Method Details

decode

public ASN1Value decode(InputStream istream)
            throws IOException,
                   InvalidBERException
Decodes a PKIArchiveOptions.
Specified by:
decode in interface ASN1Template
Returns:
A PKIArchiveOptions object.

decode

public ASN1Value decode(Tag implicitTag,
                        InputStream istream)
            throws IOException,
                   InvalidBERException
Decodes a PKIArchiveOptions.
Specified by:
decode in interface ASN1Template
Parameters:
implicitTag - This parameter is ignored. Since PKIArchiveOptions is a CHOICE, it cannot have an implicit tag.
Returns:
A PKIArchiveOptions object.

tagMatch

public boolean tagMatch(Tag tag)
Returns true if the given tag can satisfy this CHOICE.
Specified by:
tagMatch in interface ASN1Template