|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.asn1.der.DERObject
org.apache.asn1.der.DERString
org.apache.asn1.der.DERUTCTime
public class DERUTCTime
DER UTC time object.
Field Summary | |
---|---|
private static java.text.SimpleDateFormat |
dateFormat
|
private static java.util.TimeZone |
UTC_TIME_ZONE
|
Fields inherited from class org.apache.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 | |
---|---|
DERUTCTime(byte[] value)
Basic DERObject constructor. |
Method Summary | |
---|---|
java.util.Date |
getDate()
Lazy accessor |
static DERUTCTime |
valueOf(java.util.Date date)
Static factory method, type-conversion operator. |
Methods inherited from class org.apache.asn1.der.DERString |
---|
byteArrayToString, getString, stringToByteArray |
Methods inherited from class org.apache.asn1.der.DERObject |
---|
encode, equals, getOctets, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.util.TimeZone UTC_TIME_ZONE
private static final java.text.SimpleDateFormat dateFormat
Constructor Detail |
---|
public DERUTCTime(byte[] value)
Method Detail |
---|
public static DERUTCTime valueOf(java.util.Date date)
public java.util.Date getDate() throws java.text.ParseException
java.text.ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |