| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.equanda.util.security.SslUtil.TrustAllX509TrustManager
public static class SslUtil.TrustAllX509TrustManager
This class allow any X509 certificates to be used to authenticate the remote side of a secure socket, including self-signed certificates.
| Constructor Summary | |
|---|---|
SslUtil.TrustAllX509TrustManager()
 | 
|
| Method Summary | |
|---|---|
 void | 
checkClientTrusted(X509Certificate[] chain,
                   String authType)
Always trust for client SSL chain peer certificate chain with any authType authentication types.  | 
 void | 
checkServerTrusted(X509Certificate[] chain,
                   String authType)
Always trust for server SSL chain peer certificate chain with any authType exchange algorithm types.  | 
 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 SslUtil.TrustAllX509TrustManager()
| Method Detail | 
|---|
public void checkClientTrusted(X509Certificate[] chain,
                               String authType)
checkClientTrusted in interface X509TrustManagerchain - the peer certificate chain.authType - the authentication type based on the client certificate.
public void checkServerTrusted(X509Certificate[] chain,
                               String authType)
checkServerTrusted in interface X509TrustManagerchain - the peer certificate chain.authType - the key exchange algorithm used.public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManager
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||