[xmlsec] Verifying a signature against a PEM certificate
aleksey at aleksey.com
Fri Nov 22 00:31:59 PST 2002
>Can I load the public key from a PEM cert with the
>Will it then be treated as a key or is it only CA certs that should be
>loaded this way.
Please, read the code or documentation:
>If not I will still have the problem with loading X509 PEM-certificates
Sorry, but it is OpenSSL limitation.
>Or should I use xmlSecKeyReadPemCert together with
You also may use xmlSecSimpleKeysMngrLoadPemKey() + xmlSecKeyReadPemCert()
(you should probably look at the readPemKey() function in apps/xmlsec.c
More information about the xmlsec