org.apache.directory.shared.asn1.der
Class DERUTCTime

java.lang.Object
  extended byorg.apache.directory.shared.asn1.der.DERObject
      extended byorg.apache.directory.shared.asn1.der.DERString
          extended byorg.apache.directory.shared.asn1.der.DERUTCTime
All Implemented Interfaces:
DEREncodable

public class DERUTCTime
extends DERString

DER UTC time object.


Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.der.DERObject
tag, value
 
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.directory.shared.asn1.der.DERString
byteArrayToString, getString, stringToByteArray
 
Methods inherited from class org.apache.directory.shared.asn1.der.DERObject
encode, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DERUTCTime

public DERUTCTime(byte[] value)
Basic DERObject constructor.

Method Detail

valueOf

public static DERUTCTime 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 UTC Time
Throws:
java.text.ParseException


Copyright © 2004-2008 null. All Rights Reserved.