|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rabbitmq.client.NullTrustManager
public class NullTrustManager
Convenience class providing a default implementation of javax.net.ssl.X509TrustManager. Trusts every single certificate presented to it.
Constructor Summary | |
---|---|
NullTrustManager()
|
Method Summary | |
---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
Doesn't even bother looking at its arguments, simply returns, which makes the check succeed. |
void |
checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
Doesn't even bother looking at its arguments, simply returns, which makes the check succeed. |
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
Always returns an empty array of X509Certificates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullTrustManager()
Method Detail |
---|
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
checkClientTrusted
in interface javax.net.ssl.X509TrustManager
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
checkServerTrusted
in interface javax.net.ssl.X509TrustManager
public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface javax.net.ssl.X509TrustManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |