Code example for X509TrustManager

Methods: getAcceptedIssuers

0
        this.defaultTrustManager = defaultTrustManager;
    } 
 
    @Override 
    public X509Certificate[] getAcceptedIssuers() {
        return this.defaultTrustManager.getAcceptedIssuers();
    } 
 
    @Override 
    public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
    } 
 
    @Override 
    public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE