• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2015 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17option optimize_for = LITE_RUNTIME;
18package tpm_manager;
19
20// The format of persistent local TPM management data stored on the device.
21// When Tpm ownership is taken, this protobuf is populated with the passwords
22// used to take ownership, and with a list of clients who have a dependency on
23// the owner password (like Attestation, InstallAttributes and BootLockbox).
24// when all the clients have the owner password injected, this protobuf is
25// cleared of all passwords.
26message LocalData {
27  optional bytes owner_password = 2;
28  repeated string owner_dependency = 3;
29  optional bytes endorsement_password = 4;
30  optional bytes lockout_password = 5;
31}
32