Contents

SSLReHandshake(_:)

Requests renegotiation of the SSL handshake. Server only.

Declaration

func SSLReHandshake(_ context: SSLContext) -> OSStatus

Parameters

  • context:

    An SSL session context reference.

Return Value

A result code. See Secure Transport Result Codes.

Discussion

On success, call the SSLHandshake(_:) function or the SSLRead(_:_:_:_:) function, or both, as appropriate, as you would for the original handshake.