Contents

runModal(for:showGroup:)

Displays a certificate chain in a modal panel.

Declaration

func runModal(for trust: SecTrust!, showGroup: Bool) -> Int

Parameters

  • trust:

    A Sectrust object associated with the certificate chain to display.

  • showGroup:

    Specifies whether additional certificates (other than the leaf certificate) are displayed. To show only a single certificate, specify only one Seccertificate in the array and set showGroup to False.

Return Value

This method returns the integer constant NSOKButton when dismissed.

See Also

Displaying a Sheet or Panel