[xmlsec] Verifying a signature against a PEM certificate

Asbjørn Oskal asbjorn.oskal at welldiagnostics.com
Fri Nov 22 00:17:05 PST 2002


> You can also load public key in the keys manager, set a name for it and
use
> <dsig:KeyName/> to specify the desired name.
>
> Aleksey

Hi!

Can I load the public key from a PEM cert with the
xmlSecSimpleKeysMngrLoadPemCert method?
Will it then be treated as a key or is it only CA certs that should be
loaded this way.
If not I will still have the problem with loading X509 PEM-certificates
starting with
"-----BEGIN CERTIFICATE-----".

Or should I use xmlSecKeyReadPemCert together with
xmlSecSimpleKeysMngrAddKey?

:)




More information about the xmlsec mailing list