Changeset View
Changeset View
Standalone View
Standalone View
shared/protos/identity_authenticated.proto
Show All 30 Lines | message RefreshUserPreKeysRequest { | ||||
identity.client.PreKey newNotifPreKeys = 2; | identity.client.PreKey newNotifPreKeys = 2; | ||||
} | } | ||||
// Information needed when establishing communication to someone else's device | // Information needed when establishing communication to someone else's device | ||||
message OutboundKeyInfo { | message OutboundKeyInfo { | ||||
identity.client.IdentityKeyInfo identityInfo = 1; | identity.client.IdentityKeyInfo identityInfo = 1; | ||||
identity.client.PreKey contentPrekey = 2; | identity.client.PreKey contentPrekey = 2; | ||||
identity.client.PreKey notifPrekey = 3; | identity.client.PreKey notifPrekey = 3; | ||||
optional string onetimeContentPrekey = 4; | optional string oneTimeContentPrekey = 4; | ||||
optional string onetimeNotifPrekey = 5; | optional string oneTimeNotifPrekey = 5; | ||||
} | } | ||||
message KeyserverKeysResponse { | message KeyserverKeysResponse { | ||||
optional OutboundKeyInfo keyserverInfo = 1; | optional OutboundKeyInfo keyserverInfo = 1; | ||||
} | } | ||||
// Information needed by a device to establish communcation when responding | // Information needed by a device to establish communcation when responding | ||||
// to a request. | // to a request. | ||||
// The device receiving a request only needs the content key and prekey. | // The device receiving a request only needs the content key and prekey. | ||||
message OutboundKeysForUserRequest { | message OutboundKeysForUserRequest { | ||||
string userID = 1; | string userID = 1; | ||||
} | } | ||||