@Override
    public void checkServerTrusted(X509Certificate[] chain, String authType)
            throws CertificateException {
        checkTrusted(chain, authType, null, null, false /* client auth */);
    }
For backward compatibility with older Android API that used String for the hostname only.
common/src/main/java/org/conscrypt/TrustManagerImpl.java