session-ios/Signal/src/textsecure/Account/TSPreKeyManager.h
Frederic Jacobs bcd98f90ee Closes #263
2015-01-27 15:31:54 -10:00

23 lines
543 B
Objective-C

//
// TSPrekeyManager.h
// TextSecureKit
//
// Created by Frederic Jacobs on 07/11/14.
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TSConstants.h"
#import "TSAccountManager.h"
// Time before deletion of signed PreKeys (measured in seconds)
#define SignedPreKeysDeletionTime 14*24*60*60
@interface TSPreKeyManager : NSObject
+ (void)registerPreKeysWithSuccess:(successCompletionBlock)success failure:(failedVerificationBlock)failureBlock;
+ (void)refreshPreKeys;
@end