[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-jce] X509Certificate dates as UTCtime



For compatibility reasons with another  software, we need to set
validity dates in X509Certificate as UTC time
(at least until  year 2049, as rfc2459 suggests).
However, two methods setValidNotBefore and setValidNotAfter take a
java.util.Date and always set their respective
Validity field as a GeneralizedTime.
Is there any way to accomplish what we need? Do we need to pass the Date
argument in such a way UTC time is used
instead of GeneralizedTime?

Thank you in advance
Domenico Aquilino - Dream Team

--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-jce