Hi there,
I am new to security certificates and encrypting through them.
I am trying to encrypt a simple string from within c# using the private
key of an X.509 certificate i have created on my machine.
I can find the relevant certificate no problem, its just i do not know
how to then use this certificates private key to encrypt (and then
decrypt with the public key) within c#.
I have looked all over the place, but i cannot find anything that helps
me.
Again, I am looking to encrypt and decrypt through private and public
keys of an X.509 certificate I have created.
Any help would be much appreciated.
Thanks,
Lenny
|