[xmlsec] how can I use the public key for encryption
wz qiang
weizhongqiang at gmail.com
Thu Jun 26 04:42:51 PDT 2008
hi Aleksey and others,
In encrypt3.c, there is one line for loading private key.
/* load private RSA key */
key = xmlSecCryptoAppKeyLoad(key_file, xmlSecKeyDataFormatPem, NULL,
NULL, NULL);
I my understanding, normally the public key is used for encrypting the
session key, and then on the other side private key is used for decrypting
the session key (session key is used for encrypting the data). So my
question is, how I can do like that by using xmlsec API?
Thanks in advance
Weizhong Qiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20080626/fcf191e4/attachment-0002.htm
More information about the xmlsec
mailing list