Re: PEM_read_PrivateKey using ECDSA PEMS

2013-02-04 Thread redpath
First of all let me correct this I am using ECDSA to create and verify a signature for a document. I apparently cannot use the ecdsa.PEM *directory* and so here is my question. to this I am using ECDSA to create and verify a signature for a document. I apparently cannot use the ecdsa.PEM *dire

RE: PEM_read_PrivateKey using ECDSA PEMS

2013-02-04 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of redpath > Sent: Friday, 01 February, 2013 14:55 > I am using ECDSA to create and verify a signature for a document. > I apparently cannot use the ecdsa.PEM directory and so here > is my question. > Nit: ecdsa.pem is a file, containing (parame

RE: RE: PEM_read_PrivateKey

2012-10-31 Thread Leonardo Laface de Almeida
Solved! Thanks, Steve. Leonardo -Mensagem original- De: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] Em nome de Dr. Stephen Henson Enviada em: terça-feira, 30 de outubro de 2012 20:04 Para: openssl-users@openssl.org Assunto: Re: RES: PEM_read_PrivateKey On T

Re: PEM_read_PrivateKey

2012-10-30 Thread Gerardo Ganis
Dear Steve, Thank you very much for the prompt and exhaustive reply. Gerardo On 10/29/12 7:06 PM, Dr. Stephen Henson wrote: > On Mon, Oct 29, 2012, Gerardo Ganis wrote: > >> Dear OpenSSL Users, >> >> Could someone confirm that when loading private keys in memory using >> PEM_r

RE: PEM_read_PrivateKey

2012-10-29 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Leonardo Laface de Almeida > Sent: Monday, 29 October, 2012 16:20 > The problem I've got is quite simple. The callback I pass > throught this > function is not called. > Someone could please help me figure out why? I've wrote as > OpenSSL pag

Re: PEM_read_PrivateKey

2012-10-29 Thread Dr. Stephen Henson
On Mon, Oct 29, 2012, Gerardo Ganis wrote: > > Dear OpenSSL Users, > > Could someone confirm that when loading private keys in memory using > PEM_read_PrivateKey > > EVP_PKEY *evpp = PEM_read_PrivateKey(fk, 0, 0, 0); > > the full key is filled in, i.e. evpp points to a com

Re: PEM_read_PrivateKey does not return private key

2007-10-17 Thread Victor Duchovni
On Wed, Oct 17, 2007 at 12:43:03PM -0700, Jim Fox wrote: > > >I have a private CA certificate created using openssl command line. The > >issue is that the certificate expires on 19th Oct, 2007. The question is > >that "Is it possible to extend the expiry of this certificate without > >changing an

Re: PEM_read_PrivateKey does not return private key

2007-10-17 Thread Jim Fox
I have a private CA certificate created using openssl command line. The issue is that the certificate expires on 19th Oct, 2007. The question is that "Is it possible to extend the expiry of this certificate without changing any other fields in the certificate?" Basically, I want to continue usin

Re: PEM_read_PrivateKey does not return private key

2007-10-17 Thread PS
Hi, I have a private CA certificate created using openssl command line. The issue is that the certificate expires on 19th Oct, 2007. The question is that "Is it possible to extend the expiry of this certificate without changing any other fields in the certificate?" Basically, I want to continue usi

RE: PEM_read_PrivateKey() wont work on Windows (visual)

2002-04-26 Thread Marc-André Levesque
It works fine with a code similar to this: EVP_PKEY *key; BIO *bio; char *file; //Init file with the appropriate path to the private key file. char *password; //Init the password. bio = BIO_new( BIO_s_file() ); BIO_read_filename( bio, file ); key = PEM_read_bio_PrivateKey( bio