I am trying to establish an SSL or TLS connection between a Java client and server I am setting up.
I have been using SSLContext.getInstance(\"SSL\")
to
Protocol is used for communicating between server and client. So SSLContext(String protocol)
returns the instance of the protocol and then using that server or client communicate with each other for security level.
For more ref refer this link. http://www.herongyang.com/JDK/SSL-java-net-ssl-SSLContext-Class-Test.html