SecTrustGetTrustResult(_:_:)
Returns the result code from the most recent trust evaluation.
Declaration
func SecTrustGetTrustResult(_ trust: SecTrust, _ result: UnsafeMutablePointer<SecTrustResultType>) -> OSStatusParameters
- trust:
The trust object from which results should be obtained
- result:
A pointer that the function sets to point at a value that is the result type. See Sectrustresulttype for possible values.
Mentioned in
Return Value
A result code. See Security Framework Result Codes.
Discussion
If the trust object has not yet been evaluated, the result type is SecTrustResultType.invalid.