Retrieves the distinguished names of acceptable certification authorities.
- iOS 5.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
An SSL session context reference.
On return, an array of
CFDataobjects, each representing one DER-encoded relative distinguished name of an acceptable certification authority. You must call the
CFReleasefunction to release this array when you are finished with it.
A result code. See Secure Transport Result Codes.
The list of distinguished names is provided by the server if the context reference represents a client; if the context reference represents a server, the list of distinguished names is specified with the
The array retrieved by this function is suitable for use in finding a client identity (that is, a certificate and associated private key) that matches a server's requirements.