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.
		
		
		
		
		
			
	
	
		
			
				
					
						
							|  |  |  | /**
 | 
					
						
							|  |  |  |  * Copyright (C) 2014-2016 Open Whisper Systems
 | 
					
						
							|  |  |  |  *
 | 
					
						
							|  |  |  |  * Licensed according to the LICENSE file in this repository.
 | 
					
						
							|  |  |  |  */
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // iOS - since we use a modern proto-compiler, we must specify
 | 
					
						
							|  |  |  | // the legacy proto format.
 | 
					
						
							|  |  |  | syntax = "proto2";
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // iOS - package name determines class prefix
 | 
					
						
							|  |  |  | package IOSProtos;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | message BackupSnapshot {
 | 
					
						
							|  |  |  |     message BackupEntity {
 | 
					
						
							|  |  |  |         enum Type {
 | 
					
						
							|  |  |  |             UNKNOWN     = 0;
 | 
					
						
							|  |  |  |             MIGRATION   = 1;
 | 
					
						
							|  |  |  |             THREAD      = 2;
 | 
					
						
							|  |  |  |             INTERACTION = 3;
 | 
					
						
							|  |  |  |             ATTACHMENT  = 4;
 | 
					
						
							|  |  |  |             MISC        = 5;
 | 
					
						
							|  |  |  |         }
 | 
					
						
							|  |  |  |         // @required
 | 
					
						
							|  |  |  |         optional Type type         = 1;
 | 
					
						
							|  |  |  |         // @required
 | 
					
						
							|  |  |  |         optional bytes entityData  = 2;
 | 
					
						
							|  |  |  |         // @required
 | 
					
						
							|  |  |  |         optional string collection = 3;
 | 
					
						
							|  |  |  |         // @required
 | 
					
						
							|  |  |  |         optional string key        = 4;
 | 
					
						
							|  |  |  |     }
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     repeated BackupEntity entity = 1;
 | 
					
						
							|  |  |  | }
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | message DeviceName {
 | 
					
						
							|  |  |  |   // @required
 | 
					
						
							|  |  |  |   optional bytes ephemeralPublic = 1;
 | 
					
						
							|  |  |  |   // @required
 | 
					
						
							|  |  |  |   optional bytes syntheticIv     = 2;
 | 
					
						
							|  |  |  |   // @required
 | 
					
						
							|  |  |  |   optional bytes ciphertext      = 3;
 | 
					
						
							|  |  |  | }
 | 
					
						
							|  |  |  | 
 |