public class AggregateTrustManager extends Object implements X509TrustManager
| Modifier and Type | Class and Description |
|---|---|
static class |
AggregateTrustManager.Strategy
Enum to define how trust managers should be processed.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger
Logger for this class.
|
| Constructor and Description |
|---|
AggregateTrustManager(AggregateTrustManager.Strategy strategy,
X509TrustManager... managers)
Creates a new aggregate trust manager.
|
AggregateTrustManager(X509TrustManager... managers)
Creates a new aggregate trust manager with the ALL
AggregateTrustManager.Strategy. |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
String |
toString() |
public AggregateTrustManager(X509TrustManager... managers)
AggregateTrustManager.Strategy.managers - to aggregatepublic AggregateTrustManager(AggregateTrustManager.Strategy strategy, X509TrustManager... managers)
strategy - for processing trust managersmanagers - to aggregatepublic 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 © 2023. All rights reserved.