OK, now I got it. The xmlSecKeyReadBinaryFile() function is not
designed to read X509 certificates. You need to extract public
key from the certificate into PEM or DER format.

Otherwise, you might want to look at xmlSecCryptoAppKeyCertLoad()
function.

Aleksey


On 7/11/12 7:30 AM, Leif Johansson wrote:
> On 07/11/2012 04:01 PM, Aleksey Sanin wrote:
>> This assert checks that keysMngr is not NULL. If you are hitting it
>> then it means that keysMngr field is NULL at that point.
> 
> 
> Yes because the code-path I outlined in my other emails
> ensures that it is NULL.
> 
> 
> 

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to