|
|||||||||
| 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(X509Certificate[] certs,
String authType)
Null implementation. |
void |
checkServerTrusted(X509Certificate[] certs,
String authType)
Null implementation. |
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(X509Certificate[] certs,
String authType)
checkServerTrusted in interface X509TrustManagercerts - the supplied certs (ignored)authType - the supplied type (ignored)
public void checkClientTrusted(X509Certificate[] certs,
String authType)
checkClientTrusted in interface X509TrustManagercerts - the supplied certs (ignored)authType - the supplied type (ignored)public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||