You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




org.mozilla.jss.asn1
Class TimeBase.Template

java.lang.Object
  extended by org.mozilla.jss.asn1.TimeBase.Template
Direct Known Subclasses:
GeneralizedTime.Template, UTCTime.Template
Enclosing class:
TimeBase

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


Constructor Summary
TimeBase.Template()
           
 
Method Summary
 ASN1Value decode(java.io.InputStream istream)
           
 ASN1Value decode(Tag implicitTag, java.io.InputStream istream)
           
protected abstract  TimeBase generateInstance(java.util.Date date)
           
protected abstract  Tag getTag()
           
protected abstract  boolean isUTC()
           
 boolean tagMatch(Tag tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeBase.Template

public TimeBase.Template()
Method Detail

isUTC

protected abstract boolean isUTC()

getTag

protected abstract Tag getTag()

generateInstance

protected abstract TimeBase generateInstance(java.util.Date date)

tagMatch

public boolean tagMatch(Tag tag)

decode

public ASN1Value decode(java.io.InputStream istream)
                 throws java.io.IOException,
                        InvalidBERException
Throws:
java.io.IOException
InvalidBERException

decode

public ASN1Value decode(Tag implicitTag,
                        java.io.InputStream istream)
                 throws java.io.IOException,
                        InvalidBERException
Throws:
java.io.IOException
InvalidBERException