runModal(for:showGroup:)
Displays a certificate chain in a modal panel.
Declaration
func runModal(for trust: SecTrust!, showGroup: Bool) -> IntParameters
- 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
showGroupto False.
Return Value
This method returns the integer constant NSOKButton when dismissed.