Package com.rabbitmq.client
Class NullTrustManager
- java.lang.Object
-
- com.rabbitmq.client.NullTrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
public class NullTrustManager extends Object implements X509TrustManager
Deprecated.Convenience class providing a default implementation of javax.net.ssl.X509TrustManager. Trusts every single certificate presented to it. Deprecated, useTrustEverythingTrustManager
instead. Will be removed in next major release.
-
-
Constructor Summary
Constructors Constructor Description NullTrustManager()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType)
Deprecated.Doesn't even bother looking at its arguments, simply returns, which makes the check succeed.- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType)
Deprecated.Doesn't even bother looking at its arguments, simply returns, which makes the check succeed.- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
Deprecated.Always returns an empty array of X509Certificates.- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
-