2018-02-15 19:59:46 +00:00
|
|
|
package signalservice;
|
2014-07-26 05:31:41 +00:00
|
|
|
|
2015-01-19 20:23:25 +00:00
|
|
|
message ProvisioningUuid {
|
|
|
|
optional string uuid = 1;
|
|
|
|
}
|
|
|
|
|
2015-01-23 21:19:29 +00:00
|
|
|
|
|
|
|
message ProvisionEnvelope {
|
|
|
|
optional bytes publicKey = 1;
|
|
|
|
optional bytes body = 2; // Encrypted ProvisionMessage
|
2014-07-26 05:31:41 +00:00
|
|
|
}
|
|
|
|
|
2015-01-23 21:19:29 +00:00
|
|
|
message ProvisionMessage {
|
2020-03-05 21:14:58 +00:00
|
|
|
optional bytes identityKeyPrivate = 2;
|
|
|
|
optional string number = 3;
|
|
|
|
optional string uuid = 8;
|
|
|
|
optional string provisioningCode = 4;
|
|
|
|
optional string userAgent = 5;
|
|
|
|
optional bytes profileKey = 6;
|
|
|
|
optional bool readReceipts = 7;
|
|
|
|
optional uint32 ProvisioningVersion = 9;
|
2014-07-26 05:31:41 +00:00
|
|
|
}
|
2020-03-05 21:14:58 +00:00
|
|
|
|
|
|
|
enum ProvisioningVersion {
|
|
|
|
option allow_alias = true;
|
|
|
|
|
|
|
|
INITIAL = 0;
|
|
|
|
TABLET_SUPPORT = 1;
|
|
|
|
CURRENT = 1;
|
|
|
|
}
|