>    I have already read tutorial and examples from your xmlsec site, especially 
> "encrypt3.c"(Encrypting data with a session key). But I think I don't know how to do 
> till now.
>    In the example of "Encrypting data with a session key" I found it needs only the 
> same key when encrypted and decrypted even if a RSA key. Now my purpose is that I 
> can use public key in the certificate to encrypt and decrypt with corresponding 
> private key elsewhere. But the example don't mentioned about this. Could you be so 
> kind to help me about this asymmetric key to encrypte problem, please?
>    Thank you!

Where in this example

http://www.aleksey.com/xmlsec/api/xmlsec-encrypt-with-session-key.html

there is a mention of "private" key?

Take a look at this function:

http://www.aleksey.com/xmlsec/api/xmlsec-openssl-app.html#XMLSECOPENSSLAPPKEYFROMCERTLOADBIO


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

Reply via email to