Re: Getting exp date from certificate?

2011-04-07 Thread Lou Picciano
Thanks, Victor - Time I started digging into the source code! L - Original Message - From: "Victor Duchovni" To: openssl-users@openssl.org Sent: Thursday, April 7, 2011 12:59:55 PM Subject: Re: Getting exp date from certificate? On Thu, Apr 07, 2011 at 04:50:19PM +, Lou Piccian

Re: Getting exp date from certificate?

2011-04-07 Thread Victor Duchovni
On Thu, Apr 07, 2011 at 04:50:19PM +, Lou Picciano wrote: > Friends, I must admit we've never had to do it before - Can we query > the expiration date directly from a certificate, perhaps by using the > ASN structure code? (Is there a map of the currently-vailable structure > codes, as used by

Re: Getting exp date from certificate?

2011-04-07 Thread Dr. Stephen Henson
On Thu, Apr 07, 2011, Lou Picciano wrote: > Friends, I must admit we've never had to do it before - Can we query the > expiration date directly from a certificate, perhaps by using the ASN > structure code? (Is there a map of the currently-vailable structure codes, as > used by OpenSSL?) The

DH: is there a way to compare k1 and k2

2011-04-07 Thread ikuzar
Hello, I 'd like to know if there is a way to compare two DH public keys k1 and k2 ( if they are equal ) Thanks for your help. ikuzar.

Re: Getting exp date from certificate?

2011-04-07 Thread Lou Picciano
Friends, I must admit we've never had to do it before - Can we query the expiration date directly from a certificate, perhaps by using the ASN structure code? (Is there a map of the currently-vailable structure codes, as used by OpenSSL?)

store peer pubkey my DH structure

2011-04-07 Thread ikuzar
Hello, I 'd like to know if it is possible to store peer pubkey in my DH sructure. Thanks ikuzar

DH_generate_key( ) Vs DH_compute_key( )

2011-04-07 Thread ikuzar
Hello, I'd like to know if DH_compute_key( ) runs faster than DH_generate_key( ). DH_generate_key generate x and g^x, in my case ( x was not set when I call this function ). I only made measure for DH_generate_key and have got 0.00 ms ( CPU Intel Core i7-740QM, 1.73Ghz / 6GB of memory ). Is it norm