@Contract(threading=STATELESS) public interface HttpClientHostnameVerifier extends 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. |
verify
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
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.