Contents

SSLSetClientSideAuthenticate(_:_:)

Specifies the requirements for client-side authentication.

Declaration

func SSLSetClientSideAuthenticate(_ context: SSLContext, _ auth: SSLAuthenticate) -> OSStatus

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 SSLAuthenticate.neverAuthenticate. This function may be called only when no session is active.