org.mozilla.jss.asn1

Class GeneralizedTime

Implemented Interfaces:
ASN1Value

public class GeneralizedTime
extends TimeBase
implements ASN1Value

The ASN.1 type GeneralizedTime

Nested Class Summary

static class
GeneralizedTime.Template
A class for decoding GeneralizedTimes.

Nested classes/interfaces inherited from class org.mozilla.jss.asn1.TimeBase

TimeBase.Template

Field Summary

static Tag
TAG

Fields inherited from class org.mozilla.jss.asn1.TimeBase

FORM

Constructor Summary

GeneralizedTime(Date date)
Creates a GeneralizedTime from a Date.

Method Summary

Tag
getTag()
static GeneralizedTime.Template
getTemplate()
protected boolean
isUTC()

Methods inherited from class org.mozilla.jss.asn1.TimeBase

encode, encode, getTag, isUTC, toDate

Field Details

TAG

public static final Tag TAG

Constructor Details

GeneralizedTime

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

Method Details

getTag

public Tag getTag()
Specified by:
getTag in interface ASN1Value
Overrides:
getTag in interface TimeBase


getTemplate

public static GeneralizedTime.Template getTemplate()


isUTC

protected boolean isUTC()
Overrides:
isUTC in interface TimeBase