org.mozilla.jss.asn1

Class ANY.Template

Enclosing Class:
ANY
Implemented Interfaces:
ASN1Template

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

A class for decoding ANY values from BER.

Method Summary

ASN1Value
decode(InputStream istream)
ASN1Value
decode(Tag implicitTag, InputStream istream)
boolean
tagMatch(Tag tag)

Method Details

decode

public ASN1Value decode(InputStream istream)
            throws IOException,
                   InvalidBERException
Specified by:
decode in interface ASN1Template

decode

public ASN1Value decode(Tag implicitTag,
                        InputStream istream)
            throws IOException,
                   InvalidBERException
Specified by:
decode in interface ASN1Template

tagMatch

public boolean tagMatch(Tag tag)
Specified by:
tagMatch in interface ASN1Template