Contents

SSLSetSessionConfig(_:_:)

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

Declaration

func SSLSetSessionConfig(_ context: SSLContext, _ config: CFString) -> OSStatus

Parameters

  • context:

    An SSL session context reference.

  • config:

    The predefined configuration you want to apply to the SSL session. You can configure enabled protocol versions, enabled cipher suites, and the Fallback session option.

Return Value

A result code. See Secure Transport Result Codes.