SSLCopyCertificateAuthorities(_:_:)
Retrieves the current list of certification authorities.
Declaration
func SSLCopyCertificateAuthorities(_ context: SSLContext, _ certificates: UnsafeMutablePointer<CFArray?>) -> OSStatusParameters
- context:
An SSL session context reference.
- certificates:
On return, a pointer to a value of type
CFArrayRef. This array contains values of typeSecCertificateRefrepresenting the current set of certification authorities (specified with the Sslsetcertificateauthorities(_:_:_:) function). Returns aNULLarray if Sslsetcertificateauthorities(_:_:_:) has not been called. You must call theCFReleasefunction to release this array when you are finished with it.
Return Value
A result code. See Secure Transport Result Codes.