freerdp/client/iOS/Controllers/EncryptionController.h

26 lines
639 B
C
Raw Normal View History

2023-05-09 21:29:50 +00:00
/*
Password Encryption Controller
Copyright 2013 Thincast Technologies GmbH, Author: Dorian Johnson
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
*/
#import <Foundation/Foundation.h>
#import "Encryptor.h"
@interface EncryptionController : NSObject
{
Encryptor *_shared_encryptor;
}
+ (EncryptionController *)sharedEncryptionController;
// Return a Encryptor suitable for encrypting or decrypting with the master password
- (Encryptor *)decryptor;
- (Encryptor *)encryptor;
@end