private static class TrustManagerUtils.TrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
| Modifier and Type | Field and Description |
|---|---|
private boolean |
checkServerValidity |
| Constructor and Description |
|---|
TrustManager(boolean checkServerValidity) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] certificates,
java.lang.String authType)
Never generates a CertificateException.
|
void |
checkServerTrusted(java.security.cert.X509Certificate[] certificates,
java.lang.String authType) |
java.security.cert.X509Certificate[] |
getAcceptedIssuers() |
public void checkClientTrusted(java.security.cert.X509Certificate[] certificates,
java.lang.String authType)
checkClientTrusted in interface javax.net.ssl.X509TrustManagerpublic void checkServerTrusted(java.security.cert.X509Certificate[] certificates,
java.lang.String authType)
throws java.security.cert.CertificateException
checkServerTrusted in interface javax.net.ssl.X509TrustManagerjava.security.cert.CertificateExceptionpublic java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface javax.net.ssl.X509TrustManager