Top Description Methods
org.conscrypt

public Interface ConscryptHostnameVerifier

Known Direct Implementers
org.conscrypt.OkHostnameVerifier
Imports
java.security.cert.X509Certificate, javax.net.ssl.SSLSession

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.

Method Summary

Modifier and TypeMethod and Description
public 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.

Method Detail

verifyback to summary
public 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.