11.7.1 The encoding shall terminate with a "Z", as described in the ITU-T Rec. X.680 | ISO/IEC 8824-1 clause on GeneralizedTime.
11.7.2 The seconds element shall always be present.
11.7.3 The fractional-seconds elements, if present, shall omit all trailing zeros; if the elements correspond to 0, they shall be wholly omitted, and the decimal point element also shall be omitted.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | encode(ASN1OutputStream out, boolean withTag)
Overrides org.
|
| pack-priv int | |
| private byte[] | |
| pack-priv ASN1Primitive | toDERObject()
Overrides org. Return the current object as one which encodes using Distinguished Encoding Rules. |
| pack-priv ASN1Primitive | toDLObject()
Overrides org. Return the current object as one which encodes using Definite Length encoding. |
| DERGeneralizedTime | back to summary |
|---|---|
| public DERGeneralizedTime(byte[] time) | |
| DERGeneralizedTime | back to summary |
|---|---|
| public DERGeneralizedTime(Date time) | |
| DERGeneralizedTime | back to summary |
|---|---|
| public DERGeneralizedTime(String time) | |
| encode | back to summary |
|---|---|
| pack-priv void encode(ASN1OutputStream out, boolean withTag) throws IOException | |
| encodedLength | back to summary |
|---|---|
| pack-priv int encodedLength(boolean withTag) Overrides org. | |
| getDERTime | back to summary |
|---|---|
| private byte[] getDERTime() | |
| toDERObject | back to summary |
|---|---|
| pack-priv ASN1Primitive toDERObject() Overrides org. Doc from org. Return the current object as one which encodes using Distinguished Encoding Rules.
| |
| toDLObject | back to summary |
|---|---|
| pack-priv ASN1Primitive toDLObject() Overrides org. Doc from org. Return the current object as one which encodes using Definite Length encoding.
| |