<!--
{
  "availability" : [
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SecurityInterface",
  "identifier" : "/documentation/SecurityInterface/SFCertificateTrustPanel",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Security Interface"
    ],
    "preciseIdentifier" : "c:objc(cs)SFCertificateTrustPanel"
  },
  "title" : "SFCertificateTrustPanel"
}
-->

# SFCertificateTrustPanel

A panel or sheet that lets the user edit the trust settings in any of the certificates in a certificate chain.

```
class SFCertificateTrustPanel
```

## Overview

The following figure shows an example of a certificate trust panel.

![Certificate trust panel](images/com.apple.securityinterface/media-1965607.jpg)

You can use this class to enable a user to make trust decisions when one or more certificates required for an operation are invalid or cannot be verified.

To display a certificate in a panel or sheet without editable trust settings, use the [`SFCertificatePanel`](/documentation/SecurityInterface/SFCertificatePanel) class. To display certificates in a custom view, use the [`SFCertificateView`](/documentation/SecurityInterface/SFCertificateView) class.

## Topics

### Returning a Shared Certificate Trust Panel Object

[`shared()`](/documentation/SecurityInterface/SFCertificateTrustPanel/shared())

Returns a fully initialized, singleton certificate trust panel object.

### Displaying a Sheet or Panel

[`beginSheet(for:modalDelegate:didEnd:contextInfo:trust:message:)`](/documentation/SecurityInterface/SFCertificateTrustPanel/beginSheet(for:modalDelegate:didEnd:contextInfo:trust:message:))

Displays a modal sheet that shows the results of a certificate trust evaluation and that allows the user to edit trust settings.

[`runModal(for:message:)`](/documentation/SecurityInterface/SFCertificateTrustPanel/runModal(for:message:))

Displays a modal panel that shows the results of a certificate trust evaluation and that allows the user to edit trust settings.

### Controlling the Appearance of a Certificate Trust Panel

[`informativeText()`](/documentation/SecurityInterface/SFCertificateTrustPanel/informativeText())

Returns the (optional) informative text currently displayed in the panel.

[`setInformativeText(_:)`](/documentation/SecurityInterface/SFCertificateTrustPanel/setInformativeText(_:))

Sets the (optional) informative text displayed in the panel.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)