You are currently viewing a snapshot of 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, please file a bug.

Class GeneralizedTime

  extended by org.mozilla.jss.asn1.TimeBase
      extended by org.mozilla.jss.asn1.GeneralizedTime
All Implemented Interfaces:

public class GeneralizedTime
extends TimeBase
implements ASN1Value

The ASN.1 type GeneralizedTime

Nested Class Summary
static class GeneralizedTime.Template
          A class for decoding GeneralizedTimes.
Field Summary
static Tag TAG
Fields inherited from class org.mozilla.jss.asn1.TimeBase
Constructor Summary
GeneralizedTime(java.util.Date date)
          Creates a GeneralizedTime from a Date.
Method Summary
 Tag getTag()
          Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
static GeneralizedTime.Template getTemplate()
protected  boolean isUTC()
Methods inherited from class org.mozilla.jss.asn1.TimeBase
encode, encode, toDate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mozilla.jss.asn1.ASN1Value
encode, encode

Field Detail


public static final Tag TAG
Constructor Detail


public GeneralizedTime(java.util.Date date)
Creates a GeneralizedTime from a Date.

Method Detail


public Tag getTag()
Description copied from interface: ASN1Value
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.

Specified by:
getTag in interface ASN1Value
Specified by:
getTag in class TimeBase


protected boolean isUTC()
Specified by:
isUTC in class TimeBase


public static GeneralizedTime.Template getTemplate()