[xmlsec] problems by xmlSecKeysMngrFindKey

Jürgen Heiss jheiss at Mesonic.com
Tue Oct 10 02:13:20 PDT 2006


I forgot to tell that I'm using mscrypto.

  _____  

From: xmlsec-bounces at aleksey.com [mailto:xmlsec-bounces at aleksey.com] On Behalf Of Jürgen Heiss
Sent: Dienstag, 10. Oktober 2006 11:06
To: xmlsec at aleksey.com
Subject: [xmlsec] problems by xmlSecKeysMngrFindKey


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20061010/297e45be/attachment.htm


More information about the xmlsec mailing list