SSLSetSessionOption(_:_:_:)
Specifies options for a specific session.
Declaration
func SSLSetSessionOption(_ context: SSLContext, _ option: SSLSessionOption, _ value: Bool) -> OSStatusParameters
- context:
An SSL session context reference.
- option:
An SSL session option. Possible values are listed in Sslsessionoption.
- value:
Return Value
A result code. See Secure Transport Result Codes.
Discussion
This function must be called prior to the SSLHandshake(_:) function; consequently, this function can be called only when no session is active.