public class SSLSocketUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
enableEndpointNameVerification(SSLSocket socket)
Enable the HTTPS endpoint identification algorithm on an SSLSocket.
|
public static boolean enableEndpointNameVerification(SSLSocket socket)
socket
- the SSL sockettrue
on success (this is only supported on Java 1.7+)Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.