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
		
	
	
		
			523 B
		
	
	
	
		
			Objective-C
		
	
			
		
		
	
	
			25 lines
		
	
	
		
			523 B
		
	
	
	
		
			Objective-C
		
	
| //
 | |
| //  CipherMessage.h
 | |
| //  AxolotlKit
 | |
| //
 | |
| //  Created by Frederic Jacobs on 26/10/14.
 | |
| //  Copyright (c) 2014 Frederic Jacobs. All rights reserved.
 | |
| //
 | |
| 
 | |
| #import <Foundation/Foundation.h>
 | |
| 
 | |
| typedef NS_ENUM(NSUInteger, CipherMessageType) {
 | |
|     CipherMessageType_Prekey = 0,
 | |
|     CipherMessageType_Whisper,
 | |
|     CipherMessageType_Fallback = 3,
 | |
|     CipherMessageType_ClosedGroupCiphertext = 4
 | |
| };
 | |
| 
 | |
| @protocol CipherMessage <NSObject>
 | |
| 
 | |
| - (NSData *)serialized;
 | |
| 
 | |
| @property (nonatomic, readonly) CipherMessageType cipherMessageType;
 | |
| 
 | |
| @end
 |