SecTrustSetExceptions(_:_:)
Sets a list of exceptions that should be ignored when the certificate is evaluated.
Declaration
func SecTrustSetExceptions(_ trust: SecTrust, _ exceptions: CFData?) -> BoolParameters
- trust:
The trust management object whose exception list you wish to modify.
- exceptions:
An opaque cookie returned by a prior call to Sectrustcopyexceptions(_:).
Return Value
A Boolean that is true if the exceptions cookies was valid and matches the current leaf certificate, false otherwise.