Language

SFCertificatePanel.RunModal Method

Definition

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

trust
SecTrust

The SecTrust object containing the 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