protected static class HttpPoster.LaxTrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
| Constructor and Description |
|---|
LaxTrustManager()
Does nothing
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
We have no problem with any clients
|
void |
checkServerTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
We have no problem with any servers
|
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
Return a list of accepted issuers.
|
public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface javax.net.ssl.X509TrustManagerpublic void checkClientTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
throws java.security.cert.CertificateException
checkClientTrusted in interface javax.net.ssl.X509TrustManagerjava.security.cert.CertificateExceptionpublic void checkServerTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
throws java.security.cert.CertificateException
checkServerTrusted in interface javax.net.ssl.X509TrustManagerjava.security.cert.CertificateException