---
title: serverTrust
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpage/servertrust
---

# serverTrust

The trust management object you use to evaluate trust for the current webpage.

## Declaration

```swift
@MainActor final var serverTrust: SecTrust? { get }
```

## Discussion

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.

## See Also

### Inspecting page information

- [WebPage.CSSMediaType](webkit/webpage/cssmediatype.md)
- [title](webkit/webpage/title.md)
- [url](webkit/webpage/url.md)
- [mediaType](webkit/webpage/mediatype.md)
- [customUserAgent](webkit/webpage/customuseragent.md)
- [hasOnlySecureContent](webkit/webpage/hasonlysecurecontent.md)
- [themeColor](webkit/webpage/themecolor.md)
- [isBlockedByScreenTime](webkit/webpage/isblockedbyscreentime.md)
- [isInspectable](webkit/webpage/isinspectable.md)
- [isWritingToolsActive](webkit/webpage/iswritingtoolsactive.md)
