public static ConscryptHostnameVerifier getHostnameVerifier(TrustManager trustManager) {
        return toConscrypt(trustManager).getHostnameVerifier();
    }
Returns the currently-set hostname verifier for the given trust manager.

@throws IllegalArgumentException if the provided trust manager is not a Conscrypt trust
manager per {@link #isConscrypt(TrustManager)}

@see #setHostnameVerifier(TrustManager, ConscryptHostnameVerifier)
common/src/main/java/org/conscrypt/Conscrypt.java