public static class SSLUtilities.FakeX509TrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
| Modifier and Type | Field and Description | 
|---|---|
| private static java.security.cert.X509Certificate[] | _AcceptedIssuersEmpty array of certificate authority certificates. | 
| Constructor and Description | 
|---|
| SSLUtilities.FakeX509TrustManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | checkClientTrusted(java.security.cert.X509Certificate[] chain,
                  java.lang.String authType)Always trust for client SSL chain peer certificate
 chain with any authType authentication types. | 
| void | checkServerTrusted(java.security.cert.X509Certificate[] chain,
                  java.lang.String authType)Always trust for server SSL chain peer certificate
 chain with any authType exchange algorithm types. | 
| java.security.cert.X509Certificate[] | getAcceptedIssuers()Return an empty array of certificate authority certificates which
 are trusted for authenticating peers. | 
private static final java.security.cert.X509Certificate[] _AcceptedIssuers
public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
                      java.lang.String authType)
checkClientTrusted in interface javax.net.ssl.X509TrustManagerchain - the peer certificate chain.authType - the authentication type based on the client
 certificate.public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
                      java.lang.String authType)
checkServerTrusted in interface javax.net.ssl.X509TrustManagerchain - the peer certificate chain.authType - the key exchange algorithm used.public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface javax.net.ssl.X509TrustManager