Retrieves the current list of trusted root certificates.
- macOS 10.5–10.9Deprecated
An SSL session context reference.
On return, a pointer to a value of type
CFArray. This array contains values of type
Secrepresenting the current set of trusted roots. You must call the
CFReleasefunction to release this array when you are finished with it.
A result code. See Secure Transport Result Codes.
You can use the
SSLSet function to replace or add to the set of trusted root certificates. If
SSLSet has never been called for this session, the
SSLCopy function returns the system’s default set of trusted root certificates.