Re: R: PEM_read_RSAPublicKey problem

2008-07-01 Thread Kenneth Goldman
Perhaps the problem is that you're reading the public key and trying to sign. Signing uses a private key. Try: PEM_read_RSAPrivateKey() RSA_sign() [EMAIL PROTECTED] wrote on 06/27/2008 11:31:42 AM: Excuse me, I'm trying, using C, to do a simple sign and verify with RSA public and private

R: R: PEM_read_RSAPublicKey problem

2008-07-01 Thread Marco Sommella
Oggetto: Re: R: PEM_read_RSAPublicKey problem Perhaps the problem is that you're reading the public key and trying to sign. Signing uses a private key. Try: PEM_read_RSAPrivateKey() RSA_sign() [EMAIL PROTECTED] wrote on 06/27/2008 11:31:42 AM: Excuse me, I'm trying, using C, to do a simple

R: PEM_read_RSAPublicKey problem

2008-06-27 Thread Marco Sommella
Excuse me, I'm trying, using C, to do a simple sign and verify with RSA public and private keys on pem files. Which is the easy way? Someone have some sample ? TNX -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di David Schwartz Inviato: venerdì 27 giugno