mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
18 lines
377 B
Objective-C
18 lines
377 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface OWSProvisioningCipher : NSObject
|
|
|
|
@property (nonatomic, readonly) NSData *ourPublicKey;
|
|
|
|
- (instancetype)initWithTheirPublicKey:(NSData *)theirPublicKey;
|
|
- (nullable NSData *)encrypt:(NSData *)plainText;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|