serverTrust
The trust management object you use to evaluate trust for the current webpage.
Declaration
@MainActor final var serverTrust: SecTrust? { get }Discussion
Use the object in this property to validate the webpage’s certificate and associated credentials. See Evaluating a Trust and Parsing the Result for more details on how to use the trust.