public class NullTrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
NullTrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType)
Doesn't even bother looking at its arguments, simply returns,
which makes the check succeed.
|
void |
checkServerTrusted(X509Certificate[] chain,
String authType)
Doesn't even bother looking at its arguments, simply returns,
which makes the check succeed.
|
X509Certificate[] |
getAcceptedIssuers()
Always returns an empty array of X509Certificates.
|
public void checkClientTrusted(X509Certificate[] chain, String authType)
checkClientTrusted in interface X509TrustManagerpublic void checkServerTrusted(X509Certificate[] chain, String authType)
checkServerTrusted in interface X509TrustManagerpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2016 Pivotal Software, Inc.. All rights reserved.