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