// Copyright 2018 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 attestation; | |
option go_package = "chromiumos/system_api/attestation_proto"; | |
// Describes key type. | |
enum KeyType { | |
KEY_TYPE_RSA = 1; | |
KEY_TYPE_ECC = 2; | |
} | |
// Describes allowed key usage. | |
enum KeyUsage { | |
KEY_USAGE_SIGN = 1; | |
KEY_USAGE_DECRYPT = 2; | |
} |