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.
		
		
		
		
		
			
		
			
	
	
		
			30 lines
		
	
	
		
			834 B
		
	
	
	
		
			Protocol Buffer
		
	
		
		
			
		
	
	
			30 lines
		
	
	
		
			834 B
		
	
	
	
		
			Protocol Buffer
		
	
| 
								 
											8 years ago
										 
									 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Copyright (C) 2014-2016 Open Whisper Systems
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * Licensed according to the LICENSE file in this repository.
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											8 years ago
										 
									 | 
							
								// iOS - since we use a modern proto-compiler, we must specify
							 | 
						||
| 
								 | 
							
								// the legacy proto format.
							 | 
						||
| 
								 | 
							
								syntax = "proto2";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											7 years ago
										 
									 | 
							
								package ProvisioningProto;
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								option java_package = "org.whispersystems.signalservice.internal.push";
							 | 
						||
| 
								 | 
							
								option java_outer_classname = "ProvisioningProtos";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								message ProvisionEnvelope {
							 | 
						||
| 
								 | 
							
								  optional bytes publicKey = 1;
							 | 
						||
| 
								 | 
							
								  optional bytes body      = 2; // Encrypted ProvisionMessage
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								message ProvisionMessage {
							 | 
						||
| 
								 | 
							
								  optional bytes  identityKeyPublic  = 1;
							 | 
						||
| 
								 | 
							
								  optional bytes  identityKeyPrivate = 2;
							 | 
						||
| 
								 | 
							
								  optional string number             = 3;
							 | 
						||
| 
								 | 
							
								  optional string provisioningCode   = 4;
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								  optional string userAgent          = 5;
							 | 
						||
| 
								 
											8 years ago
										 
									 | 
							
								  optional bytes  profileKey         = 6;
							 | 
						||
| 
								 
											8 years ago
										 
									 | 
							
								  optional bool   readReceipts       = 7;
							 | 
						||
| 
								 
											9 years ago
										 
									 | 
							
								}
							 |