Function

SSLSetClientSideAuthenticate

Specifies the requirements for client-side authentication.

Declaration

OSStatus SSLSetClientSideAuthenticate(SSLContextRef context, SSLAuthenticate auth);

Parameters

context

An SSL session context reference.

auth

A flag setting the requirements for client-side authentication. See SSLAuthenticate for possible values.

Return Value

A result code. See Secure Transport Result Codes.

Discussion

This function can be called only by servers. Use of this function is optional. The default authentication requirement is kNeverAuthenticate. This function may be called only when no session is active.

See Also

Session Configuration

SSLSetSessionConfig

Sets a predefined configuration for the Secure Sockets Layer (SSL) session.

SSLConfig

Use these constants to configure Transport Layer Security (TLS) sessions.

SSLAuthenticate

The flags that represent the requirements for client-side authentication.