RE: ASN1_TIME

2002-10-11 Thread Alexey S. Poluntchenko
Try this one ASN1_UTCTIME_get Hi, I want to store certificates in database (Oracle) and I want to have expiration time of certificates stored in DATE column, but I did not find a function that converts ASN1_TIME to time_t or struct tm. Is there such a function? And I want to ask if the expira

Re: ASN1_TIME

2001-08-07 Thread Martin Sjögren
On Tue, Aug 07, 2001 at 11:40:19PM +0100, Dr S N Henson wrote: > Peter Shannon wrote: > > > > Hi Martin, > > > > On Tuesday 07 August 2001 12:06, you wrote: > > > Is there a way to get out the 'timestamp' from an ASN1_TIME structure so I > > > can compare it with other times? Yes I know there ar

Re: ASN1_TIME

2001-08-07 Thread Dr S N Henson
Peter Shannon wrote: > > Hi Martin, > > On Tuesday 07 August 2001 12:06, you wrote: > > Is there a way to get out the 'timestamp' from an ASN1_TIME structure so I > > can compare it with other times? Yes I know there are _cmp functions but I > > want to be able to use < and >... > > > > Martin >

Re: ASN1_TIME

2001-08-07 Thread Rich Salz
> Hope this helps, also hope I didn't miss any built in functions which do the > same thing. No, unfortunately, you can *set* a time from a time_t, but there is no clean way to *get* a time_t from a time. /r4 -- Zolera Systems, Your Key to Online Integrity Securing Web services: XML, SO

Re: ASN1_TIME

2001-08-07 Thread Peter Shannon
Hi Martin, On Tuesday 07 August 2001 12:06, you wrote: > Is there a way to get out the 'timestamp' from an ASN1_TIME structure so I > can compare it with other times? Yes I know there are _cmp functions but I > want to be able to use < and >... > > Martin I'm writing some Python wrappers at the