Y
Yuki
Hi all,
I'm trying to use a smartcard to sign a xml document...
//xDoc is my xml to sign
SignedXml sXml = new SignedXml(xDoc);
//cert is a X509Certificate2 from my smartcard.
sXml.SigningKey = cert.PrivateKey;
The error occurs in [sXml.SigningKey = cert.PrivateKey;].
Anybody can help me?
Thanks!
I'm trying to use a smartcard to sign a xml document...
//xDoc is my xml to sign
SignedXml sXml = new SignedXml(xDoc);
//cert is a X509Certificate2 from my smartcard.
sXml.SigningKey = cert.PrivateKey;
The error occurs in [sXml.SigningKey = cert.PrivateKey;].
Anybody can help me?
Thanks!