Package org.conscrypt
Interface ConscryptHostnameVerifier
-
- All Known Implementing Classes:
OkHostnameVerifier
public interface ConscryptHostnameVerifier
This interface is used to implement hostname verification in Conscrypt. Unlike withHostnameVerifier
, the hostname verifier is called whenever hostname verification is needed, without any use of default rules.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
verify(java.security.cert.X509Certificate[] certs, java.lang.String hostname, javax.net.ssl.SSLSession session)
Returns whether the given hostname is allowable given the peer's authentication information from the given session.
-