ServerTrustEvaluating - SwiftDocOrg/Alamofire GitHub Wiki
A protocol describing the API used to evaluate server trusts.
public protocol ServerTrustEvaluating!((os(Linux)))-
Evaluates the given
SecTrustvalue for the givenhost.func evaluate(_ trust: SecTrust, forHost host: String) throws
- trust: The
SecTrustvalue to evaluate. - host: The host for which to evaluate the
SecTrustvalue.
A
Boolindicating whether the evaluator considers theSecTrustvalue valid forhost. - trust: The