org.apache.directory.shared.asn1.der
Class DERGeneralizedTime
java.lang.Object
org.apache.directory.shared.asn1.der.DERObject
org.apache.directory.shared.asn1.der.DERString
org.apache.directory.shared.asn1.der.DERGeneralizedTime
- All Implemented Interfaces:
- DEREncodable
- public class DERGeneralizedTime
- extends DERString
DER Generalized time object.
Fields inherited from class org.apache.directory.shared.asn1.der.DERObject |
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SET, T61_STRING, tag, TAGGED, TERMINATOR, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, value, VIDEOTEX_STRING, VISIBLE_STRING |
Constructor Summary |
(package private) |
DERGeneralizedTime(byte[] value)
Basic DERObject constructor. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
UTC_TIME_ZONE
private static final java.util.TimeZone UTC_TIME_ZONE
dateFormat
private static final java.text.SimpleDateFormat dateFormat
DERGeneralizedTime
DERGeneralizedTime(byte[] value)
- Basic DERObject constructor.
valueOf
public static DERGeneralizedTime valueOf(java.util.Date date)
- Static factory method, type-conversion operator.
getDate
public java.util.Date getDate()
throws java.text.ParseException
- Lazy accessor
- Returns:
- Date representation of this DER Generalized Time
- Throws:
java.text.ParseException
Copyright © 2003-2006 . All Rights Reserved.