Hi all,

I would like to know how long a CRL has until it expires in seconds (or milli 
or microseconds, don't care, I can convert), and am struggling to find a 
formally supported way to do this.

What I would like to do is return the difference between a given ASN1_TIME and 
the current time, or two ASN1_TIME values (don't care which, I can generate an 
ASN1_TIME from the current time).

Does openssl offer a function to do this, or will I be forced to write my own?

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to