public static class SSLUtilities.FakeX509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
SSLUtilities.FakeX509TrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType)
Always trust for client SSL chain peer certificate
chain with any authType authentication types.
|
void |
checkServerTrusted(X509Certificate[] chain,
String authType)
Always trust for server SSL chain peer certificate
chain with any authType exchange algorithm types.
|
X509Certificate[] |
getAcceptedIssuers()
Return an empty array of certificate authority certificates which
are trusted for authenticating peers.
|
public void checkClientTrusted(X509Certificate[] chain, String authType)
checkClientTrusted in interface X509TrustManagerchain - the peer certificate chain.authType - the authentication type based on the client
certificate.public void checkServerTrusted(X509Certificate[] chain, String authType)
checkServerTrusted in interface X509TrustManagerchain - the peer certificate chain.authType - the key exchange algorithm used.public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2013–2018. All rights reserved.