-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPreKeyBundle.proto
More file actions
28 lines (22 loc) · 1.04 KB
/
PreKeyBundle.proto
File metadata and controls
28 lines (22 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
syntax = "proto3";
package e2ees;
option java_package = "org.e2eelab.proto.e2ees";
option java_outer_classname = "PreKeyBundleProto";
option objc_class_prefix = "Objc";
option swift_prefix="Swift";
import "e2ees/E2eeAddress.proto";
import "e2ees/IdentityKeyPublic.proto";
import "e2ees/OneTimePreKeyPublic.proto";
import "e2ees/ServerSignedSignature.proto";
import "e2ees/SignedPreKeyPublic.proto";
/**
* Bundle for pre-key.
*/
message PreKeyBundle {
uint32 e2ees_pack_id = 1; // The E2EE Security pack ID.
E2eeAddress user_address = 2; // The user's address.
IdentityKeyPublic identity_key_public = 11; // The public part of the identity key pair.
SignedPreKeyPublic signed_pre_key_public = 12; // The public part of the signed pre-key pair.
OneTimePreKeyPublic one_time_pre_key_public = 13; // The public part of the one-time pre-key pair.
ServerSignedSignature signature = 21; // The signature of pre-key bundle signed by the server's key.
}