public class SSLSocketUtils extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static boolean |
enableEndpointNameVerification(javax.net.ssl.SSLSocket socket) |
Enable the HTTPS endpoint identification algorithm on an SSLSocket.
|
public static boolean enableEndpointNameVerification(javax.net.ssl.SSLSocket socket)
socket
- the SSL sockettrue
on success (this is only supported on Java 1.7+)