Question Encrypting a file with X.509 Certificate

sbalmer70

New member
Joined
Sep 13, 2010
Messages
1
Programming Experience
Beginner
Hi,

I created a key and certificate file with OpenSSL (self-signed). How do I encrypt a file using a self-signed certificate using .NET

I've read the documentation, but they talk about XML, which seems completely irrelevant to me. I do not want to encrypt an XML element, I want to encrypt text or a file.

Can this be done with the X.509 library? If so, how? I can't find an example online.
 
Back
Top