---
title: SFCertificatePanel
framework: securityinterface
role: symbol
role_heading: Class
path: securityinterface/sfcertificatepanel
---

# SFCertificatePanel

A panel or sheet that displays one or more certificates.

## Declaration

```swift
class SFCertificatePanel
```

## Overview

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

An SFCertificatePanel can optionally display all of the certificates in a certificate chain. This class displays certificate details, but not trust settings. To display a certificate with editable trust settings in a panel or sheet, use the SFCertificateTrustPanel class. To display certificates in a custom view, use the SFCertificateView class. Note that for macOS 10.4 and later, this class displays the evaluation status for each certificate. You can modify how the certificates are evaluated by calling the setPolicies(_:) method.

## Topics

### Returning a Shared Certificate Panel Object

- [shared()](securityinterface/sfcertificatepanel/shared().md)

### Providing Help

- [setHelpAnchor(_:)](securityinterface/sfcertificatepanel/sethelpanchor(_:).md)
- [setShowsHelp(_:)](securityinterface/sfcertificatepanel/setshowshelp(_:).md)
- [helpAnchor()](securityinterface/sfcertificatepanel/helpanchor().md)
- [showsHelp()](securityinterface/sfcertificatepanel/showshelp().md)

### Customizing the Appearance of the Sheet or Panel

- [setAlternateButtonTitle(_:)](securityinterface/sfcertificatepanel/setalternatebuttontitle(_:).md)
- [setDefaultButtonTitle(_:)](securityinterface/sfcertificatepanel/setdefaultbuttontitle(_:).md)
- [setPolicies(_:)](securityinterface/sfcertificatepanel/setpolicies(_:).md)
- [policies()](securityinterface/sfcertificatepanel/policies().md)

### Displaying a Sheet or Panel

- [beginSheet(for:modalDelegate:didEnd:contextInfo:certificates:showGroup:)](securityinterface/sfcertificatepanel/beginsheet(for:modaldelegate:didend:contextinfo:certificates:showgroup:).md)
- [beginSheet(for:modalDelegate:didEnd:contextInfo:trust:showGroup:)](securityinterface/sfcertificatepanel/beginsheet(for:modaldelegate:didend:contextinfo:trust:showgroup:).md)
- [certificateView()](securityinterface/sfcertificatepanel/certificateview().md)
- [runModal(for:showGroup:)](securityinterface/sfcertificatepanel/runmodal(for:showgroup:).md)
- [runModal(forCertificates:showGroup:)](securityinterface/sfcertificatepanel/runmodal(forcertificates:showgroup:).md)

### Delegate method for providing help

- [certificatePanelShowHelp(_:)](objectivec/nsobject-swift.class/certificatepanelshowhelp(_:).md)

## Relationships

### Inherits From

- [NSPanel](appkit/nspanel.md)

### Inherited By

- [SFCertificateTrustPanel](securityinterface/sfcertificatetrustpanel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSAccessibilityElementProtocol](appkit/nsaccessibilityelementprotocol.md)
- [NSAccessibilityProtocol](appkit/nsaccessibilityprotocol.md)
- [NSAnimatablePropertyContainer](appkit/nsanimatablepropertycontainer.md)
- [NSAppearanceCustomization](appkit/nsappearancecustomization.md)
- [NSCoding](foundation/nscoding.md)
- [NSMenuItemValidation](appkit/nsmenuitemvalidation.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSStandardKeyBindingResponding](appkit/nsstandardkeybindingresponding.md)
- [NSTouchBarProvider](appkit/nstouchbarprovider.md)
- [NSUserActivityRestoring](appkit/nsuseractivityrestoring.md)
- [NSUserInterfaceItemIdentification](appkit/nsuserinterfaceitemidentification.md)
- [NSUserInterfaceValidations](appkit/nsuserinterfacevalidations.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Classes

- [SFAuthorizationPluginView](securityinterface/sfauthorizationpluginview.md)
- [SFAuthorizationView](securityinterface/sfauthorizationview.md)
- [SFCertificateTrustPanel](securityinterface/sfcertificatetrustpanel.md)
- [SFCertificateView](securityinterface/sfcertificateview.md)
- [SFChooseIdentityPanel](securityinterface/sfchooseidentitypanel.md)
- [SFChooseIdentityTableCellView](securityinterface/sfchooseidentitytablecellview.md)
- [SFKeychainSavePanel](securityinterface/sfkeychainsavepanel.md)
- [SFKeychainSettingsPanel](securityinterface/sfkeychainsettingspanel.md)
