I haven't done anything similar before and after reading about this I'm still not sure on how to progress.
I have a RSA private key which is protected using a password, stored as text in the local database, and this is my fist problem, how to get the orginal RSA private key.
The second part, relates to signing a document. Basically I have the following method signature which I have to implement:
string GenerateDocumentSignature(string privateKey, string password, string documentId)
So within this methods I will have to reverse the private key and thena apply a RSA encryption.
Can you guys shed some light on how to archive this? Thanks