public class HostnameVerifierImpl extends Object implements HostnameVerifier
| Constructor and Description |
|---|
HostnameVerifierImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verify(String host,
SSLSession session) |
void |
verify(String host,
X509Certificate cert)
Verification that throw an exception with a detailed error message in case of error.
|
public boolean verify(String host, SSLSession session)
verify in interface HostnameVerifierpublic void verify(String host, X509Certificate cert) throws SSLException
host - hostnamecert - certificateSSLException - exceptionCopyright © 2017. All rights reserved.