SignalProtocolKit/AxolotlKit/Classes/State/IdentityKeyStore.h
Frederic Jacobs 9421f39cbc String contact identifiers
Chose contact identifiers as strings, should help to move it to email
identifiers.
2014-11-17 23:32:04 +01:00

20 lines
480 B
Objective-C

//
// IdentityKeyStore.h
// AxolotlKit
//
// Created by Frederic Jacobs on 12/10/14.
// Copyright (c) 2014 Frederic Jacobs. All rights reserved.
//
#import <Foundation/Foundation.h>
@class ECKeyPair;
@protocol IdentityKeyStore <NSObject>
- (ECKeyPair*)identityKeyPair;
- (int)localRegistrationId;
- (void)saveRemoteIdentity:(NSData*)identityKey recipientId:(NSString*)recipientId;
- (BOOL)isTrustedIdentityKey:(NSData*)identityKey recipientId:(NSString*)recipientId;
@end