Package org.bouncycastle.asn1
Class DERGeneralizedTime
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1GeneralizedTime
org.bouncycastle.asn1.DERGeneralizedTime
- All Implemented Interfaces:
ASN1Encodable
,Encodable
DER Generalized time object.
11: Restrictions on BER employed by both CER and DER
11.7 GeneralizedTime
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.
-
Constructor Summary
ConstructorsConstructorDescriptionDERGeneralizedTime
(byte[] time) DERGeneralizedTime
(String time) DERGeneralizedTime
(Date time) -
Method Summary
Methods inherited from class org.bouncycastle.asn1.ASN1GeneralizedTime
getDate, getInstance, getInstance, getTime, getTimeString, hasFractionalSeconds, hashCode, hasMinutes, hasSeconds
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
-
Constructor Details
-
DERGeneralizedTime
public DERGeneralizedTime(byte[] time) -
DERGeneralizedTime
-
DERGeneralizedTime
-