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.
30 lines
571 B
Objective-C
30 lines
571 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "TSStorageManager.h"
|
|
|
|
@interface TSStorageManager (keyingMaterial)
|
|
|
|
#pragma mark Server Credentials
|
|
|
|
/**
|
|
* The server signaling key that's used to encrypt push payloads
|
|
*
|
|
* @return signaling key
|
|
*/
|
|
|
|
+ (NSString *)signalingKey;
|
|
|
|
/**
|
|
* The server auth token allows the TextSecure client to connect to the server
|
|
*
|
|
* @return server authentication token
|
|
*/
|
|
|
|
+ (NSString *)serverAuthToken;
|
|
|
|
+ (void)storeServerToken:(NSString *)authToken signalingKey:(NSString *)signalingKey;
|
|
|
|
@end
|