I would like to set up a private/public key pair system to sign and verify documents. The signing and verifying is to be done with VFP calls. Any suggestions?
Thank you very much,
Alex
I googled "NET RSA signing verifying sample" and found a question in StackOverflow which received a couple of answers that together provide the solution. Thanks to all the helpers in the internet, including our own Rick Strahl for creating wwDotNetBridge.
Now I just need to figure out how to package it in a way that it's callable using wwDotNetBridge and I'll be home.
Alex
You can just create a .NET class library that you call from FoxPro. It'll be easier to put that code into .NET than trying to map it all via wwDotnetBridge, and then just call the new assembly from FoxPro where you just pass a few parameters or pass a FoxPro object.
+++ Rick ---
Hmm... I was planning to create a .NET class and then call it from VFP using wwDotNetBridge.
Your comment led me to search again and I found Claudio Lassala's article.
So... A useful trick to get at cool .NET classes. Thanks. Wasn't in my radar.
Alex
You don't need to do any of that if you use wwDotnetBridge. It's much easier that way than using classic COM interop because you don't have to register components and you don't have to worry about only accessing COM accessible classes and passing COM objects to .NET. With wwDotnetBridge you things just work.
Creating a .NET class as you planned is the right way to do this.
+++ Rick ---