SSLGetClientCertificateState(_:_:)
Retrieves the exchange status of the client certificate.
Declaration
func SSLGetClientCertificateState(_ context: SSLContext, _ clientState: UnsafeMutablePointer<SSLClientCertificateState>) -> OSStatusParameters
- context:
An SSL session context reference.
- clientState:
On return, a pointer to a value indicating the state of the client certificate exchange. See Sslclientcertificatestate for a list of possible values.
Return Value
A result code. See Secure Transport Result Codes.
Discussion
The value returned reflects the latest change in the state of the client certificate exchange. If either peer initiates a renegotiation attempt, Secure Transport resets the state to kSSLClientCertNone.