public class GeneralizedTime extends ASN1Object
A GeneralizedTime is a time format in the ASN.1 notation. It consists of a string value representing the calendar date, as defined in ISO 8601, a time of day with an optional fractional seconds element and the optional local time differential factor as defined in ISO 8601.
In contrast to the UTCTime class of ASN.1 the GeneralizedTime uses a four-digit representation of the year to avoid possible ambiguity. Another difference is the possibility to encode time information of any wanted precision via the fractional seconds element.
ASN1GeneralizedTime,
ASN1Primitive| Constructor and Description |
|---|
GeneralizedTime() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate() |
void |
parse(org.bouncycastle.asn1.ASN1Primitive derObject) |
void |
setDate(Date date) |
getDEREnumerated, getDERSequencepublic void parse(org.bouncycastle.asn1.ASN1Primitive derObject)
parse in class ASN1ObjectderObject - ASN1 Primitive to parsepublic Date getDate()
public void setDate(Date date)
Copyright © 2021 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.