public class HostnameVerifier extends Object
| Constructor and Description |
|---|
HostnameVerifier() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isIPv4(String ip)
check if ip correspond to IPV4
|
static boolean |
isIPv6(String ip)
check if ip correspond to IPV6
|
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)
ip - ip valuepublic static boolean isIPv6(String ip)
ip - ip valuepublic static void verify(String host, X509Certificate cert, long serverThreadId) throws SSLException
host - hostnamecert - certificateserverThreadId - server thread Identifier to identify connection in logsSSLException - exceptionCopyright © 2025 SingleStore. All rights reserved.