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