<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "SecurityInterface",
  "identifier" : "/documentation/SecurityInterface",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "Security Interface"
    ],
    "preciseIdentifier" : "SecurityInterface"
  },
  "title" : "Security Interface"
}
-->

# Security Interface

Provide user interface elements for security features such as authorization, access to digital certificates, and access to items in keychains.

## Overview> Note:
> This document was previously titled *Security Objective-C API*. The documentation for the SFAuthorization class is now in a separate document, <doc://com.apple.documentation/documentation/SecurityFoundation>.

The Security Interface framework is a set of Objective-C classes that provide user interface elements for programs that implement security features such as authorization, access to digital certificates, and access to items in keychains.

## Topics

### Classes

[`SFAuthorizationPluginView`](/documentation/SecurityInterface/SFAuthorizationPluginView)

Allows authorization plug-in developers to create a custom view their plug-in can display.

[`SFAuthorizationView`](/documentation/SecurityInterface/SFAuthorizationView)

The class responsible for displaying a lock icon that can be used to indicate that a user interface has restricted access.

[`SFCertificatePanel`](/documentation/SecurityInterface/SFCertificatePanel)

A panel or sheet that displays one or more certificates.

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

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

[`SFCertificateView`](/documentation/SecurityInterface/SFCertificateView)

A view that displays the contents of a certificate, with options to display certificate details, display trust settings, and allow users to edit a certificate’s trust settings.

[`SFChooseIdentityPanel`](/documentation/SecurityInterface/SFChooseIdentityPanel)

A panel or sheet containing a list of identities that a user can choose from.

[`SFChooseIdentityTableCellView`](/documentation/SecurityInterface/SFChooseIdentityTableCellView)

[`SFKeychainSavePanel`](/documentation/SecurityInterface/SFKeychainSavePanel)

A panel or sheet that allows the user to create a keychain.

[`SFKeychainSettingsPanel`](/documentation/SecurityInterface/SFKeychainSettingsPanel)

A panel or sheet that allows users to change their keychain settings.

### Structures

### Reference

[`SFAuthorizationViewState`](/documentation/SecurityInterface/SFAuthorizationViewState)

Defines the current state of the authorization view.

[`SFButtonType`](/documentation/SecurityInterface/SFButtonType)

These constants define the button types used by authorization plug-ins.

[`SFViewType`](/documentation/SecurityInterface/SFViewType)

These constants define the view type requested by the authorization plug-in.

[SecurityInterface Constants](/documentation/SecurityInterface/securityinterface-constants)

Constants in the SecurityInterface framework.

[SecurityInterface Data Types](/documentation/SecurityInterface/securityinterface-data-types)

Data types found in the Security Interface framework.

[SecurityInterface Enumerations](/documentation/SecurityInterface/securityinterface-enumerations)



---

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)
