<!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 dir=ltr align=left><SPAN class=863493012-04092006>
<P><SPAN class=863493012-04092006><FONT face=Arial color=#0000ff size=2>When I
set the Keyname like this</FONT></SPAN></P>
<P><FONT face=Arial
size=2><dsig:KeyName>dummy</dsig:KeyName></FONT></P>
<P><FONT face=Arial size=2>The file will be signed, but the KeyValue will be
just insert if the certificate is a file.</FONT></P>
<P><FONT face=Arial size=2>If the certifiacte come from registry or a Token the
keyvalue will not be set.</FONT></P>
<P><FONT face=Arial size=2>Is this a bug?</FONT></P></SPAN></DIV><FONT
face=Arial color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Jürgen Heiss <BR><B>Sent:</B> Montag, 04.
September 2006 09:00<BR><B>To:</B> xmlsec@aleksey.com<BR><B>Subject:</B> Help by
signing<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial size=2>I sign an xml
template like.</FONT></SPAN></DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial size=2>xmlsec --sign
--crypto mscrypto --pkcs12 c:\cert.p12 --pwd sectret
c:\template.xml</FONT></SPAN></DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial size=2>This works fine
;o)</FONT></SPAN></DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial size=2>but how can I sign
an XMl file if I don't have the certifiacte as file? I mean if the Certifiacte
is in the windows registry or if the cert file is on a token or
Card?</FONT></SPAN></DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=715115806-04092006><FONT face=Arial size=2>Any
Ideas?</FONT></SPAN></DIV></BODY></HTML>