<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=468540309-10102006>I try to Find a Key
but it always returns Null.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=468540309-10102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=468540309-10102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2> xmlSecKeysMngrPtr mngr =
xmlSecKeysMngrCreate(); <BR>
xmlSecCryptoAppDefaultKeysMngrInit(mngr);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> /* locate and load key you want
to use */<BR> xmlSecKeyInfoCtxPtr keyInfoCtx =
xmlSecKeyInfoCtxCreate(mngr);<BR> xmlSecKeyPtr key =
xmlSecKeysMngrFindKey(mngr, (xmlChar *)<SPAN
class=468540309-10102006>"dummy"</SPAN>, keyInfoCtx); </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT>
<DIV><SPAN class=468540309-10102006></SPAN><FONT face=Arial><FONT size=2>I<SPAN
class=468540309-10102006> my computer exists a certificate with the name
CN=dummy.</SPAN></FONT></FONT></DIV>
<DIV><FONT><SPAN class=468540309-10102006></SPAN><SPAN
class=468540309-10102006></SPAN><FONT face=Arial><FONT size=2>a<SPAN
class=468540309-10102006>ny ideas what went
wrong?</SPAN></FONT><BR></FONT></DIV><FONT
size=2></FONT></FONT></FONT></BODY></HTML>