FreeRDP
EncryptionController.h
1 /*
2  Password Encryption Controller
3 
4  Copyright 2013 Thincast Technologies GmbH, Author: Dorian Johnson
5 
6  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
7  If a copy of the MPL was not distributed with this file, You can obtain one at
8  http://mozilla.org/MPL/2.0/.
9  */
10 
11 #import <Foundation/Foundation.h>
12 #import "Encryptor.h"
13 
14 @interface EncryptionController : NSObject
15 {
16  Encryptor *_shared_encryptor;
17 }
18 
19 + (EncryptionController *)sharedEncryptionController;
20 
21 // Return a Encryptor suitable for encrypting or decrypting with the master password
22 - (Encryptor *)decryptor;
23 - (Encryptor *)encryptor;
24 
25 @end