FreeRDP
CertificateDialog.h
1 
21 #import <Cocoa/Cocoa.h>
22 
23 @interface CertificateDialog : NSWindowController
24 {
25  @public
26  NSTextField *textCommonName;
27  NSTextField *textSubject;
28  NSTextField *textIssuer;
29  NSTextField *textFingerprint;
30  NSTextField *textMismatch;
31  NSTextField *messageLabel;
32  NSString *serverHostname;
33 
34  BOOL hostMismatch;
35  BOOL changed;
36  int result;
37 }
38 @property(retain) IBOutlet NSTextField *textCommonName;
39 @property(retain) IBOutlet NSTextField *textSubject;
40 @property(retain) IBOutlet NSTextField *textIssuer;
41 @property(retain) IBOutlet NSTextField *textFingerprint;
42 @property(retain) IBOutlet NSTextField *textMismatch;
43 @property(retain) IBOutlet NSTextField *messageLabel;
44 
45 - (IBAction)onAccept:(NSObject *)sender;
46 - (IBAction)onTemporary:(NSObject *)sender;
47 - (IBAction)onCancel:(NSObject *)sender;
48 
49 @property(retain) NSString *serverHostname;
50 @property(retain) NSString *commonName;
51 @property(retain) NSString *subject;
52 @property(retain) NSString *issuer;
53 @property(retain) NSString *fingerprint;
54 @property BOOL hostMismatch;
55 @property BOOL changed;
56 @property(readonly) int result;
57 
58 - (int)runModal:(NSWindow *)mainWindow;
59 
60 @end