blob: a4b4473e3c50ec938e689d4721ae11d41d29b6cc [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package sync_pb;
message LocalTrustedVaultKey {
// The actual key.
optional bytes key_material = 1;
}
message LocalTrustedVaultPerUser {
// User identifier.
optional bytes gaia_id = 1;
// All keys known for a user.
repeated LocalTrustedVaultKey key = 2;
// The version corresponding to the last element in |key|.
optional int32 last_key_version = 3;
}
message LocalTrustedVault {
repeated LocalTrustedVaultPerUser user = 1;
}