Example usage for Java javax.net.ssl X509TrustManager fields, constructors, methods, implement or subclass
The text is from its open source code.
void | checkClientTrusted(X509Certificate[] chain, String authType) Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for client SSL authentication based on the authentication type. |
void | checkServerTrusted(X509Certificate[] chain, String authType) Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for server SSL authentication based on the authentication type. |
X509Certificate[] | getAcceptedIssuers() Return an array of certificate authority certificates which are trusted for authenticating peers. |