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?
_______________________________________________
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to