|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eaglei.network.driver.SSLUtilities.FakeX509TrustManager
public static class SSLUtilities.FakeX509TrustManager
This class allow any X509 certificates to be used to authenticate the remote side of a secure socket, including self-signed certificates.
| Constructor Summary | |
|---|---|
SSLUtilities.FakeX509TrustManager()
|
|
| Method Summary | |
|---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
Always trust for client SSL chain peer certificate chain with any authType authentication types. |
void |
checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
Always trust for server SSL chain peer certificate chain with any authType exchange algorithm types. |
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
Return an empty array of certificate authority certificates which are trusted for authenticating peers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLUtilities.FakeX509TrustManager()
| Method Detail |
|---|
public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
checkClientTrusted in interface javax.net.ssl.X509TrustManagerchain - the peer certificate chain.authType - the authentication type based on the client certificate.
public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
checkServerTrusted in interface javax.net.ssl.X509TrustManagerchain - the peer certificate chain.authType - the key exchange algorithm used.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 | ||||||||