Difference between SSL and TLS and their usage in Java

前端 未结 2 1488
日久生厌
日久生厌 2020-12-05 10:01

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

2条回答
  •  一整个雨季
    2020-12-05 10:29

    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

提交回复
热议问题