public class CompositeX509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
CompositeX509TrustManager(List<X509TrustManager> trustManagers) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
boolean |
isIgnoreSSLCert() |
void |
setIgnoreSSLCert(boolean ignoreSSLCert) |
public CompositeX509TrustManager(List<X509TrustManager> trustManagers)
public boolean isIgnoreSSLCert()
public void setIgnoreSSLCert(boolean ignoreSSLCert)
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2022. All rights reserved.