Package org.apache.hc.client5.http.ssl
Interface HttpClientHostnameVerifier
- All Superinterfaces:
HostnameVerifier
- All Known Implementing Classes:
DefaultHostnameVerifier
Extended
HostnameVerifier
interface.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
verify
(String host, X509Certificate cert) Verifies the supplied serverX509Certificate
and ensures it matches the original host name.Methods inherited from interface javax.net.ssl.HostnameVerifier
verify
-
Method Details
-
verify
Verifies the supplied serverX509Certificate
and ensures it matches the original host name.- Parameters:
host
- the original host name.cert
- the server certificate;- Throws:
SSLException
-