2021-07-20 20:18:35 +00:00
|
|
|
// Copyright 2014-2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
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 {
|
2022-03-01 23:01:21 +00:00
|
|
|
optional bytes aciIdentityKeyPublic = 1;
|
|
|
|
optional bytes aciIdentityKeyPrivate = 2;
|
|
|
|
optional bytes pniIdentityKeyPublic = 11;
|
|
|
|
optional bytes pniIdentityKeyPrivate = 12;
|
|
|
|
optional string aci = 8;
|
|
|
|
optional string pni = 10;
|
|
|
|
optional string number = 3;
|
|
|
|
optional string provisioningCode = 4;
|
|
|
|
optional string userAgent = 5;
|
|
|
|
optional bytes profileKey = 6;
|
|
|
|
optional bool readReceipts = 7;
|
2020-03-05 21:14:58 +00:00
|
|
|
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;
|
2021-07-20 20:18:35 +00:00
|
|
|
}
|