start through server invitation process
This commit is contained in:
@ -15,6 +15,16 @@ message PackedServerMessage {
|
||||
bytes signature = 3; // The message signature with the client public key |eo| the reference to teh symetrical key used
|
||||
}
|
||||
|
||||
// structure to hold an invitation through a server
|
||||
message Invitation {
|
||||
bytes payload = 1;
|
||||
int32 timeout = 2;
|
||||
int32 urllen = 3;
|
||||
string password = 4;
|
||||
string url = 5;
|
||||
int64 expiry = 6;
|
||||
}
|
||||
|
||||
// structure defining a message for a server, that will be encrypted, then sent in a "packedmessage" payload
|
||||
message ToServerMessage {
|
||||
string type = 1; // Type 1 : final destination / 2 : forward
|
||||
@ -39,6 +49,8 @@ message ToServerMessage {
|
||||
|
||||
string uuid = 8;
|
||||
|
||||
Invitation invitation = 9;
|
||||
|
||||
}
|
||||
|
||||
// structure defining a from server receiver message decrypted from a "packedmessage" payload
|
||||
@ -57,6 +69,8 @@ message FromServerMessage {
|
||||
|
||||
repeated Server knownServers = 7;
|
||||
|
||||
Invitation invitation = 8;
|
||||
|
||||
}
|
||||
|
||||
message MatriochkaServer {
|
||||
|
Reference in New Issue
Block a user