FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
CertificateDialog Class Reference

#include <CertificateDialog.h>

Inheritance diagram for CertificateDialog:
Collaboration diagram for CertificateDialog:

Instance Methods

(IBAction) - onAccept:
 
(IBAction) - onTemporary:
 
(IBAction) - onCancel:
 
(int) - runModal:
 

Data Fields

NSTextField * textCommonName
 
NSTextField * textSubject
 
NSTextField * textIssuer
 
NSTextField * textFingerprint
 
NSTextField * textMismatch
 
NSTextField * messageLabel
 

Properties

IBOutlet NSTextField * textCommonName
 
IBOutlet NSTextField * textSubject
 
IBOutlet NSTextField * textIssuer
 
IBOutlet NSTextField * textFingerprint
 
IBOutlet NSTextField * textMismatch
 
IBOutlet NSTextField * messageLabel
 
NSString * serverHostname
 
NSString * commonName
 
NSString * subject
 
NSString * issuer
 
NSString * fingerprint
 
BOOL hostMismatch
 
BOOL changed
 
int result
 

Detailed Description

FreeRDP: A Remote Desktop Protocol Implementation MacFreeRDP

Copyright 2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2018 Thicast Technologies GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 23 of file CertificateDialog.h.

Method Documentation

◆ onAccept:

- (IBAction) onAccept: (NSObject *)  sender

Definition at line 28 of file CertificateDialog.m.

82 :(NSObject *)sender
83{
84 [NSApp stopModalWithCode:1];
85}

◆ onCancel:

- (IBAction) onCancel: (NSObject *)  sender

Definition at line 28 of file CertificateDialog.m.

92 :(NSObject *)sender
93{
94 [NSApp stopModalWithCode:0];
95}

◆ onTemporary:

- (IBAction) onTemporary: (NSObject *)  sender

Definition at line 28 of file CertificateDialog.m.

87 :(NSObject *)sender
88{
89 [NSApp stopModalWithCode:2];
90}

◆ runModal:

- (int) runModal: (NSWindow *)  mainWindow

Definition at line 28 of file CertificateDialog.m.

97 :(NSWindow *)mainWindow
98{
99 if ([mainWindow respondsToSelector:@selector(beginSheet:completionHandler:)])
100 {
101 [mainWindow beginSheet:self.window completionHandler:nil];
102 self.result = [NSApp runModalForWindow:self.window];
103 [mainWindow endSheet:self.window];
104 }
105 else
106 {
107 [NSApp beginSheet:self.window
108 modalForWindow:mainWindow
109 modalDelegate:nil
110 didEndSelector:nil
111 contextInfo:nil];
112 self.result = [NSApp runModalForWindow:self.window];
113 [NSApp endSheet:self.window];
114 }
115
116 [self.window orderOut:nil];
117 return self.result;
118}

Field Documentation

◆ messageLabel

- (NSTextField*) messageLabel

Definition at line 31 of file CertificateDialog.h.

◆ textCommonName

- (NSTextField*) textCommonName

Definition at line 26 of file CertificateDialog.h.

◆ textFingerprint

- (NSTextField*) textFingerprint

Definition at line 29 of file CertificateDialog.h.

◆ textIssuer

- (NSTextField*) textIssuer

Definition at line 28 of file CertificateDialog.h.

◆ textMismatch

- (NSTextField*) textMismatch

Definition at line 30 of file CertificateDialog.h.

◆ textSubject

- (NSTextField*) textSubject

Definition at line 27 of file CertificateDialog.h.

Property Documentation

◆ changed

- (BOOL) changed
readwriteatomic

Definition at line 35 of file CertificateDialog.h.

◆ commonName

- (NSString*) commonName
readwriteatomicretain

Definition at line 50 of file CertificateDialog.h.

◆ fingerprint

- (NSString*) fingerprint
readwriteatomicretain

Definition at line 53 of file CertificateDialog.h.

◆ hostMismatch

- (BOOL) hostMismatch
readwriteatomic

Definition at line 34 of file CertificateDialog.h.

◆ issuer

- (NSString*) issuer
readwriteatomicretain

Definition at line 52 of file CertificateDialog.h.

◆ messageLabel

- (IBOutlet NSTextField*) messageLabel
readwriteatomicretain

Definition at line 43 of file CertificateDialog.h.

◆ result

- (int) result
readatomicassign

Definition at line 36 of file CertificateDialog.h.

◆ serverHostname

- (NSString *) serverHostname
readwriteatomicretain

Definition at line 32 of file CertificateDialog.h.

◆ subject

- (NSString*) subject
readwriteatomicretain

Definition at line 51 of file CertificateDialog.h.

◆ textCommonName

- (IBOutlet NSTextField*) textCommonName
readwriteatomicretain

Definition at line 38 of file CertificateDialog.h.

◆ textFingerprint

- (IBOutlet NSTextField*) textFingerprint
readwriteatomicretain

Definition at line 41 of file CertificateDialog.h.

◆ textIssuer

- (IBOutlet NSTextField*) textIssuer
readwriteatomicretain

Definition at line 40 of file CertificateDialog.h.

◆ textMismatch

- (IBOutlet NSTextField*) textMismatch
readwriteatomicretain

Definition at line 42 of file CertificateDialog.h.

◆ textSubject

- (IBOutlet NSTextField*) textSubject
readwriteatomicretain

Definition at line 39 of file CertificateDialog.h.


The documentation for this class was generated from the following files: