static void setEnabledCipherSuites(
            long ssl, NativeSsl ssl_holder, String[] cipherSuites, String[] protocols) {
        checkEnabledCipherSuites(cipherSuites);
        String maxProtocol = getProtocolRange(protocols).max;
        List<String> opensslSuites = new ArrayList<String>();
        for (int i = 0; i < cipherSuites.length; i++) {
            String cipherSuite = cipherSuites[i];
            if (cipherSuite.equals(TLS_EMPTY_RENEGOTIATION_INFO_SCSV)) {
                continue;
            }
            // Only send TLS_FALLBACK_SCSV if max version >= 1.2 to prevent inadvertent connection
            // problems when servers upgrade.  See https://github.com/google/conscrypt/issues/574
            // for more discussion.
            if (cipherSuite.equals(TLS_FALLBACK_SCSV)
                    && (maxProtocol.equals(DEPRECATED_PROTOCOL_TLSV1)
                            || maxProtocol.equals(DEPRECATED_PROTOCOL_TLSV1_1))) {
                SSL_set_mode(ssl, ssl_holder, NativeConstants.SSL_MODE_SEND_FALLBACK_SCSV);
                continue;
            }
            opensslSuites.add(cipherSuiteFromJava(cipherSuite));
        }
        SSL_set_cipher_lists(
                ssl, ssl_holder, opensslSuites.toArray(new String[opensslSuites.size()]));
    }
Gets the list of cipher suites enabled for the provided {@code SSL} instance.

@return array of {@code SSL_CIPHER} references.
common/src/main/java/org/conscrypt/NativeCrypto.java