Function

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.

See Also

Session State

func SSLHandshake(SSLContext) -> OSStatus

Performs the SSL handshake.

Deprecated
func SSLClose(SSLContext) -> OSStatus

Terminates the current SSL session.

Deprecated
func SSLSetPeerID(SSLContext, UnsafeRawPointer?, Int) -> OSStatus

Specifies data that is sufficient to uniquely identify the peer of the current session.

Deprecated
enum SSLSessionState

The flags that represent the state of an SSL session.

func SSLSetError(SSLContext, OSStatus) -> OSStatus

Sets the status of a session context.

Deprecated