session-ios/SessionProtocolKit/CipherMessage/ClosedGroupCiphertextMessage.h

19 lines
571 B
Objective-C

#import "CipherMessage.h"
NS_ASSUME_NONNULL_BEGIN
@interface ClosedGroupCiphertextMessage : NSObject<CipherMessage>
@property (nonatomic, readonly) NSData *serialized;
@property (nonatomic, readonly) NSData *ivAndCiphertext;
@property (nonatomic, readonly) NSData *senderPublicKey;
@property (nonatomic, readonly) uint32_t keyIndex;
- (instancetype)init_throws_withIVAndCiphertext:(NSData *)ivAndCiphertext senderPublicKey:(NSData *)senderPublicKey keyIndex:(uint32_t)keyIndex;
- (instancetype)init_throws_withData:(NSData *)serialized;
@end
NS_ASSUME_NONNULL_END