SSLEngine.setEnabledProtocols

Set the protocol versions enabled for use on this engine. <P> The protocols must have been listed by getSupportedProtocols() as being supported. Following a successful call to this method, only protocols listed in the <code>protocols</code> parameter are enabled for use.

@param protocols Names of all the protocols to enable. @throws IllegalArgumentException when one or more of the protocols named by the parameter is not supported or when the protocols parameter is null. @see #getEnabledProtocols()

class SSLEngine
abstract
void
setEnabledProtocols
(
string[] protocols
)

Meta