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

# serverTrust

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

## Declaration

```swift
var serverTrust: SecTrust? { get }
```

## Discussion

Discussion Use the object in this property to validate the webpage’s certificate and associated credentials. WKWebView is key-value observing (KVO) compliant for this property.

## See Also

### Inspecting the view information

- [scrollView](webkit/wkwebview/scrollview.md)
- [title](webkit/wkwebview/title.md)
- [url](webkit/wkwebview/url.md)
- [mediaType](webkit/wkwebview/mediatype.md)
- [customUserAgent](webkit/wkwebview/customuseragent.md)
- [hasOnlySecureContent](webkit/wkwebview/hasonlysecurecontent.md)
- [themeColor](webkit/wkwebview/themecolor.md)
- [underPageBackgroundColor](webkit/wkwebview/underpagebackgroundcolor.md)
