@Override
    public X509Certificate[] getAcceptedIssuers()
    {
        final Set<X509Certificate> result;
        if ( checkValidity )
        {
            // Filter the set of issuers to see what certificates are currently valid. Note that this might result in a
            // different result as compared with the last verification.
            result = CertificateUtils.filterValid( this.trustedIssuers );
        }
        else
        {
            result = this.trustedIssuers;
        }
        return result.toArray( new X509Certificate[ result.size() ] );
    }
The set of trusted issuers from the trust store. Note that these certificates are not validated. It is assumed
that this set can be long-lived. Time-based validation should occur close to the actual usage / invocation.
xmppserver/src/main/java/org/jivesoftware/openfire/keystore/OpenfireX509TrustManager.java