Contents

SSLGetEnableCertVerify

Determines whether peer certificate chain validation is currently enabled.

Declaration

OSStatus SSLGetEnableCertVerify(SSLContextRef context, Boolean *enableVerify);

Parameters

  • context:

    An SSL session context reference.

  • enableVerify:

    On return, a pointer to a Boolean value specifying whether peer certificate chain validation is enabled. If this value is true, then Secure Transport automatically attempts to verify the certificate chain during exchange of peer certificates.

Return Value

A result code. See Secure Transport Result Codes.

Discussion

Use the SSLSetEnableCertVerify function to set the value of the enableVerify flag.