[xmlsec] MSCrypto - load key from certificate to keys manager

Wacław Szewczyk szewczykw at zetokatowice.pl
Thu Aug 3 00:47:44 PDT 2006


Hi! I have a problem to verify signature with X509 certficate, wchich I get
from X509Certificate Node.
A have in memory loaded certificate (byte array decoded from base64
certificate) - how can I load public key from it and put it in my keys
manager to verify signature? I use: keysManager = xmlSecKeysMngrCreate()
and: dsigContext = xmlSecDSigCtxCreate(keysManager) to call verification
dunction: xmlSecDSigCtxVerify(dsigContext, signatureNode) - but cant load
public key to keys manager before load public key to keysManager
(xmlSecDSigCtxVerify alwaus return -1).
Thanks for help!
Iguana




More information about the xmlsec mailing list