Contents

SecTrustCallback

A block called with the results of an asynchronous trust evaluation.

Declaration

typealias SecTrustCallback = (SecTrust, SecTrustResultType) -> Void

Parameters

  • trustRef:

    The trust that was evaluated.

  • trustResult:

    The result of the trust evaluation. See Sectrustresulttype for a list of possible values.

Discussion

Use a block of this type when making a call to SecTrustEvaluateAsync(_:_:_:) to receive the result of the trust evaluation.