Contents

SSLGetNumberEnabledCiphers(_:_:)

Determines the number of cipher suites currently enabled.

Declaration

func SSLGetNumberEnabledCiphers(_ context: SSLContext, _ numCiphers: UnsafeMutablePointer<Int>) -> OSStatus

Parameters

  • context:

    An SSL session context reference.

  • numCiphers:

    On return, points to the number of enabled 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 SSLGetEnabledCiphers(_:_:_:) function to retrieve the list of currently enabled cipher suites.