public static List<String> getDefaultCipherSuites() throws NoSuchAlgorithmException, KeyManagementException
    {
        // TODO Might want to cache the result. It's unlikely to change at runtime.
        final SSLContext context = getUninitializedSSLContext();
        context.init( null, null, null );
        return Arrays.asList( context.createSSLEngine().getEnabledCipherSuites() );
    }
Returns the names of all encryption cipher suites that are enabled by default.

@return An array of cipher suite names. Not expected to be empty.
@throws NoSuchAlgorithmException if the algorithm is not supported
@throws KeyManagementException if there was problem manging the ket
xmppserver/src/main/java/org/jivesoftware/openfire/spi/EncryptionArtifactFactory.java