Get an instance of the SSLContext class.
获得sslcontext类的实例。
Use the current SSLContext object to get a SSL socket Factory and instantiate an SSL socket out of it, as described in the previous section.
使用当前的SSLContext对象来获取SSLSocketFactory并且实例化其中的ssl套接字,如同前面章节中所描述的。
When getting the SSLContext, we specify a protocol of "SSL"; we could also put here specific versions of the SSL (or TLS) protocol and force communications to take place at that particular level.
当得到SSLContext时,我们指定“SSL ”的协议;我们也可以在这放入特定的SSL(或TLS)协议版本,并且强制通信在特定的级别发生。
When getting the SSLContext, we specify a protocol of "SSL"; we could also put here specific versions of the SSL (or TLS) protocol and force communications to take place at that particular level.
当得到SSLContext时,我们指定“SSL ”的协议;我们也可以在这放入特定的SSL(或TLS)协议版本,并且强制通信在特定的级别发生。
应用推荐