Displays one or more certificates in a modal sheet.
Original signature is '- (void)beginSheetForWindow:(NSWindow *)docWindow modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo certificates:(NSArray *)certificates showGroup:(BOOL)showGroup'
Available in Mac OS X v10.3 and later.

C# | Visual Basic | Visual C++ |
public virtual void BeginSheetForWindowModalDelegateDidEndSelectorContextInfoCertificatesShowGroup( NSWindow docWindow, Id delegate, IntPtr didEndSelector, IntPtr contextInfo, NSArray certificates, bool showGroup )

- 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.
- certificates (NSArray)
- The certificates to display. Pass an NSArray containing one or more objects of type SecCertificateRef in this parameter. The first certificate in the array must be the leaf certificate. The other certificates (if any) can be included in any order.
- showGroup (Boolean)
- Specifies whether additional certificates (other than the leaf certificate) are displayed.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)