|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.net.AllCertificatesTrustManager
public final class AllCertificatesTrustManager
A trust manager that will accept any certificate. I.e. thisclass performs NO TRUST MANAGEMENT and simply serves as a mechanism through which https connections can be established with the same notion of trust as a http connection (i.e. none).
| Constructor Summary | |
|---|---|
AllCertificatesTrustManager()
|
|
| Method Summary | |
|---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
Null implementation. |
void |
checkServerTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
Null implementation. |
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
Null implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AllCertificatesTrustManager()
| Method Detail |
|---|
public void checkServerTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
checkServerTrusted in interface javax.net.ssl.X509TrustManagercerts - the supplied certs (ignored)authType - the supplied type (ignored)
public void checkClientTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
checkClientTrusted in interface javax.net.ssl.X509TrustManagercerts - the supplied certs (ignored)authType - the supplied type (ignored)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 | |||||||||