Function

SSLGetNegotiatedCipher

Retrieves the cipher suite negotiated for this session.

Declaration

OSStatus SSLGetNegotiatedCipher(SSLContextRef context, SSLCipherSuite *cipherSuite);

Parameters

context

An SSL session context reference.

cipherSuite

On return, points to the cipher suite that was negotiated for this session.

Return Value

A result code. See Secure Transport Result Codes.

Discussion

You should call this function only when a session is active.

See Also

Ciphers

SSLGetNumberSupportedCiphers

Determines the number of cipher suites supported.

Deprecated
SSLGetSupportedCiphers

Determines the values of the supported cipher suites.

Deprecated
SSLSetEnabledCiphers

Specifies a restricted set of SSL cipher suites to be enabled by the current SSL session context.

Deprecated
SSLGetNumberEnabledCiphers

Determines the number of cipher suites currently enabled.

Deprecated
SSLGetEnabledCiphers

Determines which SSL cipher suites are currently enabled.

Deprecated
SSLSetDiffieHellmanParams

Specifies Diffie-Hellman parameters for a given context.

Deprecated
SSLGetDiffieHellmanParams

Retrieves the Diffie-Hellman parameters for a given context.

Deprecated
tls_ciphersuite_group_t

Groups that collect ciphersuites of comparable security properties.

tls_ciphersuite_t

The collection of valid ciphersuites.

SSLCipherSuite

A type for storing cipher suite values.

SSLCiphersuiteGroup

A mechanism for grouping related cipher suites.

SSL Cipher Suite Values

Recognize the set of valid SSL cipher suite values.