Rep:Re: [xmlsec] XML Encryption with session key

Aleksey Sanin 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.

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




More information about the xmlsec mailing list