MonobjcMonobjc Documented Class Library
BeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage Method (docWindow, delegate, didEndSelector, contextInfo, trust, message)
NamespacesMonobjc.SecurityInterfaceSFCertificateTrustPanelBeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage(NSWindow, Id, IntPtr, 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 virtual void BeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage(
	NSWindow docWindow,
	Id delegate,
	IntPtr didEndSelector,
	IntPtr contextInfo,
	IntPtr trust,
	NSString message
)
Public Overridable Sub BeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage ( _
	docWindow As NSWindow, _
	delegate As Id, _
	didEndSelector As IntPtr, _
	contextInfo As IntPtr, _
	trust As IntPtr, _
	message As NSString _
)
public:
virtual void BeginSheetForWindowModalDelegateDidEndSelectorContextInfoTrustMessage(
	NSWindow^ docWindow, 
	Id^ delegate, 
	IntPtr didEndSelector, 
	IntPtr contextInfo, 
	IntPtr trust, 
	NSString^ message
)
Parameters
docWindow (NSWindow)
The parent window to which the sheet is attached.
delegate (Id)
The delegate object in which the method specified in the didEndSelector parameter is implemented.
didEndSelector (IntPtr)
A method selector for a delegate method called when the sheet has been dismissed. Implementation of this delegate method is optional.
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)