Function

sec_protocol_metadata_get_negotiated_tls_protocol_version(_:)

Accesses the negotiated TLS version.

Declaration

func sec_protocol_metadata_get_negotiated_tls_protocol_version(_ metadata: sec_protocol_metadata_t) -> tls_protocol_version_t

See Also

Inspecting TLS State

typealias sec_protocol_metadata_t

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

protocol OS_sec_protocol_metadata

An interface used to define the object that represents the TLS state associated with a connection.

func sec_protocol_metadata_copy_peer_public_key(sec_protocol_metadata_t) -> __DispatchData?

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