public static String getTrustStoreType( ConnectionType type )
    {
        final String propertyName = type.getPrefix() + "trustStoreType";
        final String defaultValue = getKeyStoreType( type );

        if ( type.getFallback() == null )
        {
            return JiveGlobals.getProperty( propertyName, defaultValue ).trim();
        }
        else
        {
            return JiveGlobals.getProperty( propertyName, getTrustStoreType( type.getFallback() ) ).trim();
        }
    }
The KeyStore type (jks, jceks, pkcs12, etc) for the trust store for connections of a particular type.

@param type the connection type
@return a store type (never null).
@see <a href="https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyStore">Java Cryptography Architecture Standard Algorithm Name Documentation</a>
xmppserver/src/main/java/org/jivesoftware/openfire/keystore/CertificateStoreManager.java