Function

sec_protocol_options_add_tls_application_protocol

Adds an Application-Layer Protocol Negotiation (ALPN) value to present in the TLS handshake.

Declaration

void sec_protocol_options_add_tls_application_protocol(sec_protocol_options_t options, const char *application_protocol);

See Also

Configuring TLS Handshake Options

sec_protocol_options_t

An object that contains security options to use for TLS handshakes.

sec_protocol_options_set_tls_server_name

Sets the server name to request in the TLS handshake.

sec_protocol_options_add_pre_shared_key

Adds a preshared key to use for authentication.

sec_protocol_options_append_tls_ciphersuite

Adds a supported TLS ciphersuite to the configuration.

Beta
sec_protocol_options_append_tls_ciphersuite_group

Adds a supported TLS ciphersuite group to the configuration.

Beta
sec_protocol_options_add_tls_ciphersuite

Adds a supported TLS ciphersuite to the configuration.

Deprecated
sec_protocol_options_add_tls_ciphersuite_group

Adds a supported TLS ciphersuite group to the configuration.

Deprecated
sec_protocol_options_set_tls_diffie_hellman_parameters

Configures legacy Diffie-Hellman parameters.

Deprecated
sec_protocol_options_are_equal

Checks if two security options objects are equivalent.

Beta

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