xmlSecInit();
xmlSecCryptoAppInit(NULL);
xmlSecCryptoInit();
Also, do you get any error messages anywhere? Or the key is simply not found?
Wouter
On 10/10/06, Jürgen Heiss <
[EMAIL PROTECTED]> wrote:
I forgot to tell that I'm using mscrypto.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jürgen Heiss
Sent: Dienstag, 10. Oktober 2006 11:06
To: [email protected]
Subject: [xmlsec] problems by xmlSecKeysMngrFindKeyI try to Find a Key but it always returns Null.xmlSecKeysMngrPtr mngr = xmlSecKeysMngrCreate();
xmlSecCryptoAppDefaultKeysMngrInit(mngr);/* locate and load key you want to use */
xmlSecKeyInfoCtxPtr keyInfoCtx = xmlSecKeyInfoCtxCreate(mngr);
xmlSecKeyPtr key = xmlSecKeysMngrFindKey(mngr, (xmlChar *)"dummy", keyInfoCtx);I my computer exists a certificate with the name CN=dummy.any ideas what went wrong?
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
