2 Provides a Secure Boot related data structure definitions.
4 Copyright (c) Microsoft Corporation.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef UEFI_SECURE_BOOT_H_
10 #define UEFI_SECURE_BOOT_H_
12 #pragma pack (push, 1)
15 Data structure to provide certificates to setup authenticated secure
16 boot variables ('db', 'dbx', 'dbt', 'pk', etc.).
21 // The size, in number of bytes, of supplied certificate in 'Data' field.
25 // The pointer to the certificates in DER-encoded format.
26 // Note: This certificate data should not contain the EFI_VARIABLE_AUTHENTICATION_2
27 // for authenticated variables.
30 } SECURE_BOOT_CERTIFICATE_INFO
;
33 Data structure to provide all Secure Boot related certificates.
38 // The human readable name for this set of Secure Boot key sets.
40 CONST CHAR16
*SecureBootKeyName
;
42 // The size, in number of bytes, of supplied certificate in 'DbPtr' field.
46 // The pointer to the DB certificates in signature list format.
47 // Note: This DB certificates should not contain the EFI_VARIABLE_AUTHENTICATION_2
48 // for authenticated variables.
52 // The size, in number of bytes, of supplied certificate in 'DbxPtr' field.
56 // The pointer to the DBX certificates in signature list format.
57 // Note: This DBX certificates should not contain the EFI_VARIABLE_AUTHENTICATION_2
58 // for authenticated variables.
62 // The size, in number of bytes, of supplied certificate in 'DbtPtr' field.
66 // The pointer to the DBT certificates in signature list format.
67 // Note: This DBT certificates should not contain the EFI_VARIABLE_AUTHENTICATION_2
68 // for authenticated variables.
72 // The size, in number of bytes, of supplied certificate in 'KekPtr' field.
76 // The pointer to the KEK certificates in signature list format.
77 // Note: This KEK certificates should not contain the EFI_VARIABLE_AUTHENTICATION_2
78 // for authenticated variables.
82 // The size, in number of bytes, of supplied certificate in 'PkPtr' field.
86 // The pointer to the PK certificates in signature list format.
87 // Note: This PK certificates should not contain the EFI_VARIABLE_AUTHENTICATION_2
88 // for authenticated variables.
91 } SECURE_BOOT_PAYLOAD_INFO
;
94 #endif // UEFI_SECURE_BOOT_H_