Hi All, I get the following errors 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 : -
Error: signature failed 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. 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. 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. 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. 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. 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. 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. 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. 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. Thanks & regards Yesh
_______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
