2017-08-25 23:02:57 +02:00
|
|
|
/**
|
|
|
|
* Copyright (C) 2014-2016 Open Whisper Systems
|
|
|
|
*
|
|
|
|
* Licensed according to the LICENSE file in this repository.
|
|
|
|
*/
|
|
|
|
|
2018-06-07 07:57:59 +02:00
|
|
|
// iOS - since we use a modern proto-compiler, we must specify
|
|
|
|
// the legacy proto format.
|
|
|
|
syntax = "proto2";
|
|
|
|
|
2018-08-01 17:28:52 +02:00
|
|
|
package ProvisioningProtos;
|
2016-08-19 21:36:24 +02:00
|
|
|
|
|
|
|
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;
|
2016-09-12 20:20:34 +02:00
|
|
|
optional string userAgent = 5;
|
2017-08-25 23:02:57 +02:00
|
|
|
optional bytes profileKey = 6;
|
2017-10-02 22:03:17 +02:00
|
|
|
optional bool readReceipts = 7;
|
2016-08-19 21:36:24 +02:00
|
|
|
}
|