Please find a book about cryptography and read it first!
You need private key to do encryption. NOT public one.

Aleksey


Yann Le Bars wrote:


OK, thanks
I have a problem with this function (ERR_print_errors_fp(stdout)) so I
got ERR_STATE and ran debug.
The only message I got was:
Expecting: ANY PRIVATE KEY

This is how I got the key:

openssl genrsa -des 512 > rsa_key.pem
and then
openssl rsa -in src_rsa.pem -pubout > rsa_pub.pem




_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to