SSLGetNumberSupportedCiphers(_:_:)
Determines the number of cipher suites supported.
Declaration
func SSLGetNumberSupportedCiphers(_ context: SSLContext, _ numCiphers: UnsafeMutablePointer<Int>) -> OSStatusParameters
- context:
An SSL session context reference.
- numCiphers:
On return, points to the number of supported cipher suites.
Return Value
A result code. See Secure Transport Result Codes.
Discussion
You use the number of enabled cipher suites returned by this function when you call the SSLGetNumberSupportedCiphers(_:_:) function to retrieve the list of currently enabled cipher suites.