SSLEngine.setNeedClientAuth

Configures the engine to <i>require</i> client authentication. This option is only useful for engines in the server mode. <P> An engine's client authentication setting is one of the following: <ul> <li> client authentication required <li> client authentication requested <li> no client authentication desired </ul> <P> Unlike {@link #setWantClientAuth(bool)}, if this option is set and the client chooses not to provide authentication information about itself, <i>the negotiations will stop and the engine will begin its closure procedure</i>. <P> Calling this method overrides any previous setting made by this method or {@link #setWantClientAuth(bool)}.

@param need set to true if client authentication is required, or false if no client authentication is desired. @see #getNeedClientAuth() @see #setWantClientAuth(bool) @see #getWantClientAuth() @see #setUseClientMode(bool)

class SSLEngine
abstract
void
setNeedClientAuth
(
bool need
)

Meta