Retrieves a trust management object for the certificate used by a session.
- iOS 5.0+
- macOS 10.6+
- tvOS 9.0+
- watchOS 2.0+
An SSL session context reference.
On return, a trust management object you can use to evaluate trust for the certificate used by the session. A trust management object includes the certificate to be verified plus the policy or policies to be used in evaluating trust. See Certificate, Key, and Trust Services for functions to create and evaluate trust management objects. You must call the
CFReleasefunction for this object when you are finished with it.
A result code. See Secure Transport Result Codes.
This function is valid any time after a handshake attempt.