This interface is used to implement hostname verification in Conscrypt. Unlike with
javax.net.ssl.HostnameVerifier
, the hostname verifier is called whenever hostname
verification is needed, without any use of default rules.
verify
public abstract boolean verify(X509Certificate[] certs, String hostname, SSLSession session)
Returns whether the given hostname is allowable given the peer's authentication information
from the given session.