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.

Deprecated
SSLConfig

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

SSLAuthenticate

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software