[xmlsec] how can I use the public key for encryption

wz qiang weizhongqiang at gmail.com
Mon Jun 30 08:41:51 PDT 2008


hi,
Thanks
Now it works by using:

key = xmlSecOpenSSLAppKeyFromCertLoadBIO(certbio, xmlSecKeyDataFormatPem);

I think in the abstract level, there should also be interface:
key = xmlSecCryptoAppKeyFromCertLoad("cert.pem", xmlSecKeyDataFormatPem);
which give the similar functioanlity as:
xmlSecCryptoAppKeyCertLoad (key, "cert.pem", xmlSecKeyDataFormatPem)


Thanks
Weizhong
On Mon, Jun 30, 2008 at 4:28 PM, Aleksey Sanin <aleksey at aleksey.com> wrote:

>
>> Some hint?
>>
>
> Debugger :)
>
>
> Aleksey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20080630/d7d0efa3/attachment-0002.htm


More information about the xmlsec mailing list