On 23-06-2010 08:23, Strauch, Robert wrote:
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 like an API 
documentiation which describes how to call OpenSSL functions from this DLL.

Could someone assist me in this?

Sincerely,
Robert
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

In native C and C++, you just use the headers and import library that are built together with the DLL.

To call libeay32.dll from .NET code, you will need some "glue" code
to make the native API calls with native types from your interpreted
code. I am no C# expert, but this may involve some work to create an "interop" assembly. Chances are that someone else have already
created such an assembly and made it available for free, so look
around for that.  If you don't find anything, the new C# 4.0 features
may make creating the interop code easier.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to