On 1 December 2013 18:15, cvishnuid <cvishn...@gmail.com> wrote:
> Thanks for reply matt. Yeah your correct I want implement completely from
> starch as my agenda is to have complete manged code in my server app and i
> did't find any manged manged crypto library with will is compatable with
> Open SSL Client. Client will still remain using with Open SSL libraries
> .There will not be any changes in client app When can i find the complete
> low level details including the raw byte structure of initial handshake
> between the client and server and the internal logic used for encryption and
> decryption. I am understood of how Diffie Hellman works but i need to know
> how Open SSL client excepts initial handshake for exchange of DH public
> parameters. Here is my current server code which uses Open SSL . I want to
> rewrite this part with my own implementation in c# with out using Open SSL
> Libraries.

I don't know if its just my email client, but the code sample that you
sent through is completely unintelligible - there are no line breaks.
However, from what I could work out, your server seems to be using
OpenSSL to listen for incoming SSL/TLS connections. So I think you are
asking the wrong question (on the wrong list!). OpenSSL's
implementation of SSL/TLS is standards based. You should be able to
use any SSL/TLS compliant library in order to be able to establish
communication with your client.

If you really want to understand the details of the protocol, then the
wikipedia article is a good starting point, and provides links off to
the various standards:
https://en.wikipedia.org/wiki/Transport_Layer_Security

The question you seem to be asking is "How do I implement SSL/TLS
completely from scratch in .Net?". This is akin to building a website
by first building a webserver - you don't do it, you just get one off
the shelf. The question you should really be asking (on some .Net
forum) is "How do I write a server *using* SSL/TLS in .Net?". I am not
a .Net developer and can't really advise on this, except to say that a
few minutes on google turned up this which looks like a good place to
begin:
http://msdn.microsoft.com/en-us/library/ms729700%28v=vs.110%29.aspx


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

Reply via email to