Function

sec_protocol_metadata_get_negotiated_protocol_version(_:)

Accesses the negotiated TLS version.

Declaration

func sec_protocol_metadata_get_negotiated_protocol_version(_ metadata: sec_protocol_metadata_t) -> SSLProtocol

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.