You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/SignalUtilitiesKit/OWSProvisioningCipher.h

19 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