@Override
    public void setEnabledProtocols(String[] protocols) {
        sslParameters.setEnabledProtocols(protocols);
    }
This method enables the protocols' versions listed by
getSupportedProtocols().

@param protocols names of all the protocols to enable.

@throws IllegalArgumentException when one or more of the names in the
            array are not supported, or when the array is null.
common/src/main/java/org/conscrypt/ConscryptServerSocket.java