org.mozilla.jss.pkcs7

Class ContentInfo.Template

Enclosing Class:
ContentInfo
Implemented Interfaces:
ASN1Template

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

A template for decoding a ContentInfo blob

Constructor Summary

Template()

Method Summary

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

Constructor Details

Template

public Template()

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