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

# shared()

Returns a fully initialized, singleton certificate trust panel object.

```
class func shared() -> SFCertificateTrustPanel!
```

## Discussion

Use this method if your application displays a single certificate trust panel or sheet at a time. If your application can display multiple certificate trust panels or sheets at once, you must allocate separate object instances (using the <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/alloc> class method inherited from <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class>) and initialize (using the <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/init()> instance method, also inherited from <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class>) instead of using this class method.

---

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)