@Contract(threading=STATELESS) public interface HttpClientHostnameVerifier extends javax.net.ssl.HostnameVerifier
HostnameVerifier
interface.Modifier and Type | Method and Description |
---|---|
void |
verify(String host,
X509Certificate cert)
Verifies the supplied server
X509Certificate and ensures it matches
the original host name. |
void verify(String host, X509Certificate cert) throws SSLException
X509Certificate
and ensures it matches
the original host name.host
- the original host name.cert
- the server certificate;SSLException