mirror of https://github.com/oxen-io/session-ios
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.
23 lines
808 B
Objective-C
23 lines
808 B
Objective-C
//
|
|
// BobAxolotlParameters.h
|
|
// AxolotlKit
|
|
//
|
|
// Created by Frederic Jacobs on 26/07/14.
|
|
// Copyright (c) 2014 Frederic Jacobs. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "AxolotlParameters.h"
|
|
|
|
@interface BobAxolotlParameters : NSObject<AxolotlParameters>
|
|
|
|
@property (nonatomic, readonly)ECKeyPair *ourSignedPrekey;
|
|
@property (nonatomic, readonly)ECKeyPair *ourRatchetKey;
|
|
@property (nonatomic, readonly)ECKeyPair *ourOneTimePrekey;
|
|
|
|
@property (nonatomic, readonly)NSData *theirBaseKey;
|
|
|
|
- (instancetype)initWithMyIdentityKeyPair:(ECKeyPair*)ourIdentityKeyPair theirIdentityKey:(NSData*)theirIdentityKey ourSignedPrekey:(ECKeyPair*)ourSignedPrekey ourRatchetKey:(ECKeyPair*)ourRatchetKey ourOneTimePrekey:(ECKeyPair*)ourOneTimeKeyPair theirBaseKey:(NSData*)theirBaseKey;
|
|
|
|
@end
|