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