org.mozilla.jss.pkcs12

Class SafeBag.Template

Enclosing Class:
SafeBag
Implemented Interfaces:
ASN1Template

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

A template for decoding SafeBags.

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 InvalidBERException,
                   IOException
Specified by:
decode in interface ASN1Template

decode

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

tagMatch

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