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.
|
|
|
//
|
|
|
|
// TSInvalidIdentityKeySendingErrorMessage.h
|
|
|
|
// Signal
|
|
|
|
//
|
|
|
|
// Created by Frederic Jacobs on 15/02/15.
|
|
|
|
// Copyright (c) 2015 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "TSInvalidIdentityKeyErrorMessage.h"
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@class PreKeyBundle;
|
|
|
|
@class TSOutgoingMessage;
|
|
|
|
@class TSThread;
|
|
|
|
|
|
|
|
@interface TSInvalidIdentityKeySendingErrorMessage : TSInvalidIdentityKeyErrorMessage
|
|
|
|
|
|
|
|
#define TSInvalidPreKeyBundleKey @"TSInvalidPreKeyBundleKey"
|
|
|
|
#define TSInvalidRecipientKey @"TSInvalidRecipientKey"
|
|
|
|
|
|
|
|
+ (instancetype)untrustedKeyWithOutgoingMessage:(TSOutgoingMessage *)outgoingMessage
|
|
|
|
inThread:(TSThread *)thread
|
|
|
|
forRecipient:(NSString *)recipientId
|
|
|
|
preKeyBundle:(PreKeyBundle *)preKeyBundle
|
|
|
|
withTransaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|
|
|
|
|
@property (nonatomic, readonly) NSString *recipientId;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|