Function

sec_protocol_metadata_get_negotiated_protocol(_:)

Accesses the application protocol (ALPN) negotiated by TLS.

Declaration

func sec_protocol_metadata_get_negotiated_protocol(_ metadata: sec_protocol_metadata_t) -> UnsafePointer<Int8>?

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.