Alfred
Alfred

Reputation: 1841

How is SSLSocket created?

In JSSE docs, it just says the sslsocket can be created by the SSLSocketFactory through a call of createSocket. But it does not describe how the ssl handshake is call, how the key material is passed in and how and which credential is chosen to authenticate the server or the client.

Anybody knows the detailed procedure of the creation of sslsocket?

thanks

Upvotes: 1

Views: 323

Answers (3)

user207421
user207421

Reputation: 310957

All JSSE does is implement what it says in RFC 2246. No need to say it all again in the Javadoc.

Upvotes: 1

btreat
btreat

Reputation: 1554

An algorithm like Diffie-Hellman can be used to establish secure communications between two parties across an unsecure network.

http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange

Upvotes: 0

Related Questions