Function

sec_protocol_options_set_peer_authentication_required(_:_:)

Configures TLS to require peer authentication.

Declaration

func sec_protocol_options_set_peer_authentication_required(_ options: sec_protocol_options_t, _ peer_authentication_required: Bool)

Discussion

Peer authentication is required by default for clients, and is optional by default for servers.

See Also

Configuring TLS Behavior

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