I have been following this article from Microsoft:
I would like to implement a feature where my clients choose a bunch of invoices, I load them in XML format, load my signature and sign it, zip the files and sent them back and do that automatically.
What I am struggling to understand is how do I import the signature itself?
// Create a new CspParameters object to specify
// a key container.
CspParameters cspParams = new CspParameters();
cspParams.KeyContainerName = "XML_DSIG_RSA_KEY";
// Create a new RSA signing key and save it in the container.
RSACryptoServiceProvider rsaKey = new RSACryptoServiceProvider(cspParams);
The document is signed with this rsaKey. How can I obtain the rsaKey from my own digital signature?