Array

public extension Array where Element == ServerTrustEvaluating
  • Evaluates the given SecTrust value for the given host.

    Declaration

    Swift

    func evaluate(_ trust: SecTrust, forHost host: String) throws

    Parameters

    trust

    The SecTrust value to evaluate.

    host

    The host for which to evaluate the SecTrust value.

    Return Value

    Whether or not the evaluator considers the SecTrust value valid for host.