session-ios/SignalServiceKit/src/Devices/OWSVerificationStateSyncMessage.h

25 lines
792 B
C
Raw Normal View History

2017-06-06 23:43:41 +02:00
//
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
//
#import "OWSOutgoingSyncMessage.h"
#import "OWSRecipientIdentity.h"
NS_ASSUME_NONNULL_BEGIN
@interface OWSVerificationStateSyncMessage : OWSOutgoingSyncMessage
- (instancetype)initWithVerificationState:(OWSVerificationState)verificationState
identityKey:(NSData *)identityKey
verificationForRecipientId:(NSString *)recipientId;
2017-06-07 17:27:33 +02:00
// This is a clunky name, but we want to differentiate it from `recipientIdentifier` inherited from `TSOutgoingMessage`
@property (nonatomic, readonly) NSString *verificationForRecipientId;
2017-06-06 23:43:41 +02:00
@property (nonatomic, readonly) size_t paddingBytesLength;
2017-06-22 20:32:06 +02:00
@property (nonatomic, readonly) size_t unpaddedVerifiedLength;
2017-06-06 23:43:41 +02:00
@end
NS_ASSUME_NONNULL_END