Creates a sec_trust_t from a SecTrust.


func sec_trust_create(_ trust: SecTrust) -> sec_trust_t?

See Also

Handling Trust

protocol OS_sec_trust

An interface for supporting the trust wrapper type.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software