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

Re: [iaik-jce] X509Certificate dates as UTCtime

The validNotBefore and validNotAfter dates are actually encoded as UTCTime
values by iaik.x509.X509Certificate!

Dieter Bratko

----- Original Message -----
From: Domenico Aquilino <aquilino@dreamteam.it>
To: <iaik-jce@iaik.tu-graz.ac.at>
Sent: Tuesday, January 04, 2000 6:52 PM
Subject: [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
> To unsubscribe send an email to listserv@iaik.at with the folowing
content: UNSUBSCRIBE iaik-jce