From RSA to string and compare problem

2008-06-25 Thread Marco Sommella
Hi, i'm creating a little client/server program using C. i need to read a rsa from pem file (so using PEM_read_RSAPublicKey) and then send the key to a server (the message can be only a string type) which reads a rsa public key from another pem file and return, comparing keys, is are egual

Re: From RSA to string and compare problem

2008-06-25 Thread Marek . Marcola
Hello, [EMAIL PROTECTED] wrote on 06/25/2008 04:10:45 PM: Hi, i'm creating a little client/server program using C. i need to read a rsa from pem file (so using PEM_read_RSAPublicKey) and then send the key to a server (the message can be only a string type) which reads a rsa public key

Re: From RSA to string and compare problem

2008-06-25 Thread Marco Sommella
[EMAIL PROTECTED] ha scritto: Hello, [EMAIL PROTECTED] wrote on 06/25/2008 04:10:45 PM: Hi, i'm creating a little client/server program using C. i need to read a rsa from pem file (so using PEM_read_RSAPublicKey) and then send the key to a server (the message can be only a string type)

Re: From RSA to string and compare problem

2008-06-25 Thread Marek . Marcola
Hello, [EMAIL PROTECTED] wrote on 06/25/2008 04:34:07 PM: [EMAIL PROTECTED] ha scritto: Hello, [EMAIL PROTECTED] wrote on 06/25/2008 04:10:45 PM: Hi, i'm creating a little client/server program using C. i need to read a rsa from pem file (so using PEM_read_RSAPublicKey) and

R: From RSA to string and compare problem

2008-06-25 Thread Marco Sommella
PROTECTED] Per conto di [EMAIL PROTECTED] Inviato: giovedì 26 giugno 2008 0.57 A: openssl-users@openssl.org Oggetto: Re: From RSA to string and compare problem Hello, [EMAIL PROTECTED] wrote on 06/25/2008 04:34:07 PM: [EMAIL PROTECTED] ha scritto: Hello, [EMAIL PROTECTED] wrote on 06/25/2008 04:10

Re: R: From RSA to string and compare problem

2008-06-25 Thread Marek . Marcola
Hello, [EMAIL PROTECTED] wrote on 06/26/2008 02:06:47 AM: Returning on reading with read() may I ask you about comment header and footer? It's safe to jump lines of file pem starting with - or it's possible that the key contain the char - ? Data between BEGIN and END header is ASN1 structure