@Override
    public X509Certificate[] getAcceptedIssuers() {
        val certificates = new ArrayList<X509Certificate>(trustManagers.size());
        this.trustManagers.forEach(trustManager ->
            certificates.addAll(CollectionUtils.wrapList(trustManager.getAcceptedIssuers())));
        return certificates.toArray(X509Certificate[]::new);
    }
This is {@link CompositeX509TrustManager}.
Represents an ordered list of {@link X509TrustManager}s with additive trust. If any one of the
composed managers trusts a certificate chain, then it is trusted by the composite manager.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/ssl/CompositeX509TrustManager.java