Code example for X509TrustManager

Methods: checkServerTrusted

0
    } 
 
    public void checkServerTrusted( 
            final X509Certificate[] chain, final String authType) throws CertificateException {
        if (!this.trustStrategy.isTrusted(chain, authType)) {
            this.trustManager.checkServerTrusted(chain, authType);
        } 
    } 
 
    public X509Certificate[] getAcceptedIssuers() {
        return this.trustManager.getAcceptedIssuers();
    } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java