Re: Integrating OpenSSL as a DLL in Windows

2010-06-23 Thread Strauch, Robert
Here's my sample code. --- SNIP --- [DllImport("lib\\libeay32.dll")] public static extern IntPtr EVP_MD_CTX_create(); [DllImport("lib\\libeay32.dll")] public static extern IntPtr EVP_md5(); [DllImport("lib\\libeay32.dll")] public static extern int EVP_DigestInit_ex(IntPtr digestContext, IntPtr

Re: Integrating OpenSSL as a DLL in Windows

2010-06-23 Thread Strauch, Robert
Hello Mounir, > Take a look at the OpenSSL.NET project on SourceForge : > http://openssl-net.sourceforge.net/ > They have implemented a managed wrapper around libeay32.dll and > ssleay32.dll. > I think this is what you are looking for. Thanks for that hint. Yes, I will definitely have a look at t

Integrating OpenSSL as a DLL in Windows

2010-06-22 Thread Strauch, Robert
Hello, I've been using OpenSSL for quite a time but now it's time for me to integrate some functionality into my own application (C#). That is: decrypting with a private key and building hashsums. As far as I understood I need the libeay32.dll to achieve this. However I cannot find something li