Retrieves a trust management object for the certificate used by a session.
- iOS 5.0–13.0Deprecated
- macOS 10.6–10.15Deprecated
- UIKit for Mac 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
- watchOS 2.0–6.0Deprecated
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.