Package org.conscrypt
Class OkHostnameVerifier
java.lang.Object
org.conscrypt.OkHostnameVerifier
- All Implemented Interfaces:
ConscryptHostnameVerifier
A HostnameVerifier consistent with RFC 2818.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionallSubjectAltNames(X509Certificate certificate) static OkHostnameVerifierbooleanverify(String host, X509Certificate certificate) booleanverify(X509Certificate[] certs, String host, SSLSession session) Returns whether the given hostname is allowable given the peer's authentication information from the given session.
-
Field Details
-
INSTANCE
-
-
Method Details
-
strictInstance
-
verify
Description copied from interface:ConscryptHostnameVerifierReturns whether the given hostname is allowable given the peer's authentication information from the given session.- Specified by:
verifyin interfaceConscryptHostnameVerifier
-
verify
-
allSubjectAltNames
-