public class HostnameVerifier extends Object
| Constructor and Description |
|---|
HostnameVerifier() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isIPv4(String ip) |
static boolean |
isIPv6(String ip) |
static void |
verify(String host,
X509Certificate cert,
long serverThreadId)
Verification that throw an exception with a detailed error message in case of error.
|
public static boolean isIPv4(String ip)
public static boolean isIPv6(String ip)
public static void verify(String host, X509Certificate cert, long serverThreadId) throws SSLException
host - hostnamecert - certificateserverThreadId - server thread Identifier to identify connection in logsSSLException - exceptionCopyright © 2023 SingleStore. All rights reserved.