Blame client/iOS/Controllers/EncryptionController.h

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