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.
25 lines
792 B
C
25 lines
792 B
C
9 years ago
|
//
|
||
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "OWSOutgoingSyncMessage.h"
|
||
|
#import "OWSRecipientIdentity.h"
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@interface OWSVerificationStateSyncMessage : OWSOutgoingSyncMessage
|
||
|
|
||
8 years ago
|
- (instancetype)initWithVerificationState:(OWSVerificationState)verificationState
|
||
|
identityKey:(NSData *)identityKey
|
||
|
verificationForRecipientId:(NSString *)recipientId;
|
||
8 years ago
|
|
||
8 years ago
|
// This is a clunky name, but we want to differentiate it from `recipientIdentifier` inherited from `TSOutgoingMessage`
|
||
|
@property (nonatomic, readonly) NSString *verificationForRecipientId;
|
||
9 years ago
|
|
||
8 years ago
|
@property (nonatomic, readonly) size_t paddingBytesLength;
|
||
8 years ago
|
@property (nonatomic, readonly) size_t unpaddedVerifiedLength;
|
||
8 years ago
|
|
||
9 years ago
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|