[xmlsec] Verifying a signature against a PEM certificate

Asbjørn Oskal asbjorn.oskal@welldiagnostics.com
Fri, 22 Nov 2002 09:17:05 +0100


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

:)