Rep:Re: [xmlsec] XML Encryption with session key
aleksey at aleksey.com
Thu Nov 6 08:06:14 PST 2003
Please find a book about cryptography and read it first!
You need private key to do encryption. NOT public one.
Yann Le Bars wrote:
>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
>openssl rsa -in src_rsa.pem -pubout > rsa_pub.pem
More information about the xmlsec