[xmlsec] problem with raw-x509-cert

Aleksey Sanin aleksey at aleksey.com
Wed Jul 11 08:51:03 PDT 2012


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



More information about the xmlsec mailing list