SV: Convert ASN1_UTCTIME to time_t ?

2000-08-30 Thread Hellan,Kim KHE
An ASN1_UTCTIME_get() function is probably exactly what I am looking for, but the problem is that I can't see that such a function exists? I have looked everwhere in my OpenSSL 0.9.5a installation, but I can't find it??? Kim Hellan I'm getting confused here. The

Re: SV: Convert ASN1_UTCTIME to time_t ?

2000-08-30 Thread Dr S N Henson
"Hellan,Kim KHE" wrote: An ASN1_UTCTIME_get() function is probably exactly what I am looking for, but the problem is that I can't see that such a function exists? I have looked everwhere in my OpenSSL 0.9.5a installation, but I can't find it??? crypto/asn1/a_utctm.c,

SV: SV: Convert ASN1_UTCTIME to time_t ?

2000-08-30 Thread Hellan,Kim KHE
An ASN1_UTCTIME_get() function is probably exactly what I am looking for, but the problem is that I can't see that such a function exists? crypto/asn1/a_utctm.c, however its not in 0.9.5a just the current development version. Steve. Do you want to share the source

a patch to cache some additional key usages

2000-08-30 Thread Peter Sylvester
Hello, Would it be possible to add the following modification to x509v3. it adds two definitions of stacks used in some areas of pkix modules and it caches three extended key usages. Thanks in advance to the friendly maintainers. Peter Sylvester diff -c

a_enum.c

2000-08-30 Thread Peter Sylvester
For those who wonder why ENUMERATED are not encoded correctly since a week or so: The put_object should use len as a parameter. diff -c openssl-SNAP-2829/crypto/asn1/a_enum.c openssl/crypto/asn1/a_enum.c *** openssl-SNAP-2829/crypto/asn1/a_enum.c Tue Aug 22 19:00:14 2000 ---

Re: Convert ASN1_UTCTIME to time_t ?

2000-08-30 Thread Rich Salz
I'm getting confused here. The original query was to convert ASN1_UTCTIME to time_t, so what's wrong with ASN1_UTCTIME_get()? Well other than the timezone issue mentioned in the source. Nothing else, except that it's not in my slightly old snapshot. :)

Re: PEM file format

2000-08-30 Thread Baber Amin
Thanks, so let me get this straight. 1. openSSL PEM format for importing and exporting keys is a b64 encoding of DER encoded public and private keys, yes/no. Does openSSL use traditional PEM encoded form (PKCS#5 variant) for anything? Thanks for your help. Baber :) [EMAIL PROTECTED]

Cipher negotiation failure

2000-08-30 Thread mandyam
I have a simple client-server app. performing both client and server authentication using the 9.5a toolkit. I am forcing the server to use DES-CBC3-SHA by calling SSL_set_cipher_list(ssl, "DES-CBC3-SHA"). My client-server app. runs for a day and then suddenly fails to

OpenSSL and BSAFE

2000-08-30 Thread Goodwin Scott S Civ 96 CG/SCTOB
Are there any plans to roll in the patches that allow OpenSSL to be compiled using the RSA BSAFE libraries in place of the encryption algorithms that come with OpenSSL? There are two, independent patches that work; one exists at http://www.lymeware.com/download.html and the other at

Re: PEM file format

2000-08-30 Thread Dr S N Henson
Baber Amin wrote: Thanks, so let me get this straight. 1. openSSL PEM format for importing and exporting keys is a b64 encoding of DER encoded public and private keys, yes/no. Yes but "DER encoded public and private keys" doesn't mean much, since it doesn't specify what structure is

Re: State machine...

2000-08-30 Thread Dan Kegel
Ben Laurie wrote: All those interested in state machine implementations of SSL will probably want to look at the demo I just checked in (to demos/state_machine). This is a state machine implementation using memory BIOs, sponsored by Nuron (http://www.nuron.com/), a maker of hardware

Getting client certificate !

2000-08-30 Thread Montini Paolo
Hi all, I am developing a client-server application and I would like the server toverify the client certificate too. These are the steps that I have followed on the serber side : SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER|SSL_VERIFY_CLIENT_ONCE, NULL); SSL_CTX_use_certificate_file(ctx,

??: State machine...

2000-08-30 Thread du_chunyan
Ben, would you please say more details about the state_machine? such as where i can find the package including it, and what is the package's name. thanks. -ԭʼÏûÏ¢-- ´Ó£º"[EMAIL PROTECTED]" [EMAIL PROTECTED] ´ú±í"Ben Laurie" [EMAIL PROTECTED] ·¢ËÍ£º 2000Äê8ÔÂ31ÈÕ 2:18