Enables OCSP support.


func sec_protocol_options_set_tls_ocsp_enabled(_ options: sec_protocol_options_t, _ ocsp_enabled: Bool)

See Also

Configuring TLS Behavior

func sec_protocol_options_set_tls_renegotiation_enabled(sec_protocol_options_t, Bool)

Enables TLS session renegotiation for versions 1.2 and earlier.

func sec_protocol_options_set_tls_is_fallback_attempt(sec_protocol_options_t, Bool)

Indicates that this TLS handshake is a fallback attempt with more relaxed requirements than a previous attempt.

func sec_protocol_options_set_tls_pre_shared_key_identity_hint(sec_protocol_options_t, __DispatchData)

Sets the PSK identity hint to use by servers when negotiating a PSK ciphersuite.


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