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.
19 lines
571 B
Objective-C
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
|
|
|