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 {
    } 
}