public interface ConscryptHostnameVerifier
HostnameVerifier, the hostname verifier is called whenever hostname
verification is needed, without any use of default rules.| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean verify(X509Certificate[] certs, String hostname, SSLSession session)