private static class AsyncHttpClientFactoryEmbed.CustomTrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
Modifier | Constructor and Description |
---|---|
private |
CustomTrustManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
Check client trusted.
|
void |
checkServerTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType)
Check server trusted.
|
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
Gets the accepted issuers.
|
public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface javax.net.ssl.X509TrustManager
public void checkClientTrusted(java.security.cert.X509Certificate[] certs, java.lang.String authType)
checkClientTrusted
in interface javax.net.ssl.X509TrustManager
certs
- the certsauthType
- the auth typepublic void checkServerTrusted(java.security.cert.X509Certificate[] certs, java.lang.String authType)
checkServerTrusted
in interface javax.net.ssl.X509TrustManager
certs
- the certsauthType
- the auth type