MonobjcMonobjc Documented Class Library
BeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage Method (docWindow, modalDelegate, contextInfo, trust, message)
NamespacesMonobjc.SecurityInterfaceSFCertificateTrustPanelBeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage(NSWindow, SheetDidEndReturnCodeContextInfoEventHandler<(Of <<'(SFCertificateTrustPanel>)>>), IntPtr, IntPtr, NSString)

Displays a modal sheet that shows the results of a certificate trust evaluation and that allows the user to edit trust settings.

Original signature is '- (void)beginSheetForWindow:(NSWindow *)docWindow modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo trust:(SecTrustRef)trust message:(NSString *)message'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public void BeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage(
	NSWindow docWindow,
	SheetDidEndReturnCodeContextInfoEventHandler<SFCertificateTrustPanel> modalDelegate,
	IntPtr contextInfo,
	IntPtr trust,
	NSString message
)
Public Sub BeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage ( _
	docWindow As NSWindow, _
	modalDelegate As SheetDidEndReturnCodeContextInfoEventHandler(Of SFCertificateTrustPanel), _
	contextInfo As IntPtr, _
	trust As IntPtr, _
	message As NSString _
)
public:
void BeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage(
	NSWindow^ docWindow, 
	SheetDidEndReturnCodeContextInfoEventHandler<SFCertificateTrustPanel^>^ modalDelegate, 
	IntPtr contextInfo, 
	IntPtr trust, 
	NSString^ message
)
Parameters
docWindow (NSWindow)
The parent window to which the sheet is attached.
modalDelegate (SheetDidEndReturnCodeContextInfoEventHandler<(Of <(<'SFCertificateTrustPanel>)>)>)
The delegate object in which the method specified in the didEndSelector parameter is implemented.
contextInfo (IntPtr)
A pointer to data that is passed to the delegate method. You can use this data pointer for any purpose you wish.
trust (IntPtr)
A trust management object. Use the SecTrustCreateWithCertificates function (in Security/SecTrust.h) to create the trust management object.
message (NSString)
A message string to display in the sheet.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.SecurityInterface (Module: Monobjc.SecurityInterface)