Specifies a restricted set of SSL cipher suites to be enabled by the current SSL session context.
- iOS 5.0–13.0Deprecated
- macOS 10.2–10.15Deprecated
- UIKit for Mac 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
- watchOS 2.0–6.0Deprecated
An SSL session context reference.
A pointer to the cipher suites to enable.
The number of cipher suites to enable.
A result code. See Secure Transport Result Codes.
You can call this function, for example, to limit cipher suites to those that use exportable key sizes or to those supported by a particular protocol version.
This function can be called only when no session is active. The default set of enabled cipher suites is the complete set of supported cipher suites obtained by calling the
SSLGet function to determine which SSL cipher suites are currently enabled.