Contents

SSLSetProtocolVersionMin(_:_:)

Sets the minimum protocol version allowed by the application for a given SSL context.

Declaration

func SSLSetProtocolVersionMin(_ context: SSLContext, _ minVersion: SSLProtocol) -> OSStatus

Parameters

  • context:

    The SSL context associated with the connection.

  • minVersion:

    The new minimum version (Tlsprotocol1, for example). See Sslprotocol for a complete list.

Return Value

A result code. See Secure Transport Result Codes.