[xmlsec] problem with raw-x509-cert

Leif Johansson leifj at mnt.se
Wed Jul 11 09:12:15 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/11/2012 05:51 PM, Aleksey Sanin wrote:
> 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.
> 
gotcha, will try that.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/9pdsACgkQ8Jx8FtbMZndegACfR+aRcAaoq5PAUiP3chRQFy2f
l7oAmwb08BQQNZ7Y/Unk5dwvGaU+5sVc
=o7Il
-----END PGP SIGNATURE-----


More information about the xmlsec mailing list