CFArrayRef Ice::SSL::SecureTransportServerAuthenticationOptions::trustedRootCertificates = nullptr |
The trusted root certificates used for validating the client's certificate chain.
If this field is set, the client's certificate chain is validated against these certificates; otherwise, the system's default root certificates are used.
The trusted root certificates are used by both the default validation callback and by custom validation callbacks set in clientCertificateValidationCallback.
This is equivalent to calling SecTrustSetAnchorCertificates with the CFArrayRef object, and SecTrustSetAnchorCertificatesOnly with the anchorCertificatesOnly parameter set to true.
Example of setting trustedRootCertificates:
Definition at line 161 of file ServerAuthenticationOptions.h.