org.mozilla.jss.pkcs7

Class DigestInfo.Template

Enclosing Class:
DigestInfo
Implemented Interfaces:
ASN1Template

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

A class for decoding the BER encoding of a DigestInfo.

Constructor Summary

Template()

Method Summary

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

Constructor Details

Template

public Template()

Method Details

decode

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

decode

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

tagMatch

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