SSLEngine.setUseClientMode

Configures the engine to use client (or server) mode when handshaking. <P> This method must be called before any handshaking occurs. Once handshaking has begun, the mode can not be reset for the life of this engine. <P> Servers normally authenticate themselves, and clients are not required to do so.

@param mode true if the engine should start its handshaking in "client" mode @throws IllegalArgumentException if a mode change is attempted after the initial handshake has begun. @see #getUseClientMode()

class SSLEngine
abstract
void
setUseClientMode
(
bool mode
)

Meta