Function

sec_protocol_metadata_get_negotiated_protocol_version

Accesses the negotiated TLS version.

Declaration

SSLProtocol sec_protocol_metadata_get_negotiated_protocol_version(sec_protocol_metadata_t metadata);

See Also

Inspecting TLS State

sec_protocol_metadata_t

An object that represents the TLS state associated with a connection.

sec_protocol_metadata_get_negotiated_protocol

Accesses the application protocol (ALPN) negotiated by TLS.

sec_protocol_metadata_get_server_name

Accesses the server name presented in the TLS handshake.

sec_protocol_metadata_get_negotiated_tls_protocol_version

Accesses the negotiated TLS version.

Beta
sec_protocol_metadata_get_negotiated_tls_ciphersuite

Accesses the negotiated TLS ciphersuite.

sec_protocol_metadata_get_negotiated_ciphersuite

Accesses the negotiated TLS ciphersuite.

Deprecated
sec_protocol_metadata_get_early_data_accepted

Checks if TLS early data was successfully accepted.

sec_protocol_metadata_copy_peer_public_key

Accesses the public key presented by the peer in the TLS handshake.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software