From: Graham B. <gb...@po...> - 2000-07-31 15:47:52
|
On Mon, Jul 31, 2000 at 04:24:44PM +0100, Chris Ridd wrote: > I couldn't persuade Convert::ASN1 from messing with the time strings. > Replacing 'UTCTime' above with '[UNIVERSAL 23] IMPLICIT STRING' will get > the correct unadulterated times back... You mean you want the string exactly as it appeasrs ? By default Convert::ASN1 will return a unix time (ie UTC) of the time in the cert. If you do $asn->configure( decode => { timezone => 1 } ); Then the time value will be an array of two elements, the unixtime value and the timezone offset that was specified. We could add other options to make it just return the string. Graham. |