Enumeration Case

kSSLSessionOptionBreakOnClientAuth

Enables returning from SSLHandshake (with a result of errSSLClientAuthCompleted) when the client authentication portion of the handshake is complete to allow your application to perform its own certificate verification.

Declaration

kSSLSessionOptionBreakOnClientAuth = 2

Discussion

Note that in iOS (all versions) and macOS 10.8 and later, setting this option disables Secure Transport's automatic verification of client certificates.

If you set this option, your application should perform its own certificate verification when errSSLClientAuthCompleted is returned before continuing with the handshake.