Code example for X509TrustManager

Methods: checkServerTrusted

0
        { 
            //certificates[0].checkValidity(); 
        } 
        else 
        { 
            standardTrustManager.checkServerTrusted( certificates, authType );
        } 
    } 
 
    /** 
     * @see javax.net.ssl.X509TrustManager#getAcceptedIssuers() 
     */ 
    public X509Certificate[] getAcceptedIssuers()
    { 
        return this.standardTrustManager.getAcceptedIssuers();
    } 
 
}