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