org.mozilla.jss.asn1

Class TimeBase.Template

Enclosing Class:
TimeBase
Known Direct Subclasses:
GeneralizedTime.Template, UTCTime.Template

public static abstract class TimeBase.Template
extends java.lang.Object

Method Summary

ASN1Value
decode(InputStream istream)
ASN1Value
decode(Tag implicitTag, InputStream istream)
protected abstract TimeBase
generateInstance(Date date)
protected abstract Tag
getTag()
protected abstract boolean
isUTC()
boolean
tagMatch(Tag tag)

Method Details

decode

public ASN1Value decode(InputStream istream)
            throws IOException,
                   InvalidBERException

decode

public ASN1Value decode(Tag implicitTag,
                        InputStream istream)
            throws IOException,
                   InvalidBERException

generateInstance

protected abstract TimeBase generateInstance(Date date)

getTag

protected abstract Tag getTag()

isUTC

protected abstract boolean isUTC()

tagMatch

public boolean tagMatch(Tag tag)