<div>Hi All,</div>
<div>I get the following errors <font color="#000080" size="2">with a certificate stored on a Smartcard when I try to sign a xml file. From IE the certificate is visible in the User's personal store, but I get the error messages : -
</font></div>
<div><font color="#000080" size="2"></font> </div>
<div>
<p>Error: signature failed<br>func=xmlSecMSCryptoKeyDataCtxDuplicateKey:file=..\src\mscrypto\certkeys.c:line=182:obj=unknown:subj=CryptDuplicateKey:error=4:crypto library function failed: ;last error=120 (0x00000078);last error msg=This function is not supported on this system.
</p>
<p><br>func=xmlSecMSCryptoKeyDataDuplicate:file=..\src\mscrypto\certkeys.c:line=621:obj=rsa:subj=xmlSecMSCryptoKeyDataCtxDuplicateKey:error=1:xmlsec library function failed: ;last error=120 (0x00000078);last error msg=This function is not supported on this system.
</p>
<p><br>func=xmlSecMSCryptoSignatureExecute:file=..\src\mscrypto\signatures.c:line=410:obj=unknown:subj=CryptSignHash:error=4:crypto library function failed: ;last error=-2146893811 (0x8009000d);last error msg=Key does not exist.
</p>
<p><br>func=:file=..\src\transforms.c:line=2173:obj=rsa-sha1:subj=xmlSecTransformExecute:error=1:xmlsec library function failed:final=1;last error=-2146893811 (0x8009000d);last error msg=Key does not exist.</p>
<p><br>func=:file=..\src\transforms.c:line=2856:obj=rsa-sha1:subj=xmlSecTransformPushBin:error=1:xmlsec library function failed: ;last error=-2146893811 (0x8009000d);last error msg=Key does not exist.</p>
<p><br>func=:file=..\src\c14n.c:line=275:obj=exc-c14n:subj=xmlOutputBufferClose:error=5:libxml2 library function failed: ;last error=-2146893811 (0x8009000d);last error msg=Key does not exist.</p>
<p><br>func=:file=..\src\transforms.c:line=1207:obj=unknown:subj=xmlSecTransformPushXml:error=1:xmlsec library function failed:transform=exc-c14n;last error=-2146893811 (0x8009000d);last error msg=Key does not exist.</p>
<p><br>func=:file=..\src\xmldsig.c:line=614:obj=unknown:subj=xmlSecTransformCtxXmlExecute:error=1:xmlsec library function failed: ;last error=-2146893811 (0x8009000d);last error msg=Key does not exist.</p>
<p><br>func=:file=..\src\xmldsig.c:line=303:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec library function failed: ;last error=-2146893811 (0x8009000d);last error msg=Key does not exist.</p>
<p> </p>
<p>Thanks & regards</p>
<p>Yesh</p></div>
<div><font color="#000080" size="2"></font> </div>
<div><font color="#000080" size="2"></font> </div>