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
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
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