SFCertificatePanel.RunModal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| RunModal(SecCertificate[], Boolean) |
Displays the panel modally for the specified array of certificates. |
| RunModal(SecTrust, Boolean) |
Displays the panel modally for the specified SecTrust object. |
RunModal(SecCertificate[], Boolean)
Displays the panel modally for the specified array of certificates.
[Foundation.Export("runModalForCertificates:showGroup:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSModalResponse RunModal(Security.SecCertificate[] certificates, bool showGroup);
[<Foundation.Export("runModalForCertificates:showGroup:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunModal : Security.SecCertificate[] * bool -> AppKit.NSModalResponse
override this.RunModal : Security.SecCertificate[] * bool -> AppKit.NSModalResponse
Parameters
- certificates
- SecCertificate[]
An array of certificates to display.
- showGroup
- Boolean
Whether to display the certificate group.
Returns
The button code that was pressed to dismiss the panel.
- Attributes
Applies to
RunModal(SecTrust, Boolean)
Displays the panel modally for the specified SecTrust object.
[Foundation.Export("runModalForTrust:showGroup:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSModalResponse RunModal(Security.SecTrust trust, bool showGroup);
[<Foundation.Export("runModalForTrust:showGroup:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunModal : Security.SecTrust * bool -> AppKit.NSModalResponse
override this.RunModal : Security.SecTrust * bool -> AppKit.NSModalResponse
Parameters
- showGroup
- Boolean
Whether to display the certificate group.
Returns
The button code that was pressed to dismiss the panel.
- Attributes