Type Alias

sec_protocol_metadata_t

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

Declaration

typedef NSObject<OS_sec_protocol_metadata> *sec_protocol_metadata_t;

See Also

Inspecting TLS State

OS_sec_protocol_metadata

An interface used to define the 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_ciphersuite

Accesses the negotiated TLS ciphersuite.

sec_protocol_metadata_get_negotiated_protocol_version

Accesses the negotiated TLS version.

Deprecated
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.