SSLEngine.setEnabledCipherSuites

Sets the cipher suites enabled for use on this engine. <P> Each cipher suite in the <code>suites</code> parameter must have been listed by getSupportedCipherSuites(), or the method will fail. Following a successful call to this method, only suites listed in the <code>suites</code> parameter are enabled for use. <P> See {@link #getEnabledCipherSuites()} for more information on why a specific cipher suite may never be used on a engine.

@param suites Names of all the cipher suites to enable @throws IllegalArgumentException when one or more of the ciphers named by the parameter is not supported, or when the parameter is null. @see #getSupportedCipherSuites() @see #getEnabledCipherSuites()

class SSLEngine
abstract
void
setEnabledCipherSuites
(
string[] suites
)

Meta