public boolean isTrusted( Certificate chain[] )
    {
        return getEndEntityCertificate( chain ) != null;
    }
Decide whether or not to trust the given supplied certificate chain. For certain failures, we SHOULD generate
an exception - revocations and the like, but we currently do not.

@param chain an array of X509Certificate where the first one is the endEntityCertificate.
@return true if the content of this trust store allows the chain to be trusted, otherwise false.
xmppserver/src/main/java/org/jivesoftware/openfire/keystore/TrustStore.java