TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | EFI_SIGNATURE_DATA |
struct | EFI_SIGNATURE_LIST |
struct | EFI_CERT_X509_SHA256 |
struct | EFI_CERT_X509_SHA384 |
struct | EFI_CERT_X509_SHA512 |
struct | EFI_IMAGE_EXECUTION_INFO |
struct | EFI_IMAGE_EXECUTION_INFO_TABLE |
Typedefs | |
typedef UINT32 | EFI_IMAGE_EXECUTION_ACTION |
Variables | |
EFI_GUID | gEfiImageSecurityDatabaseGuid |
EFI_GUID | gEfiCertSha256Guid |
EFI_GUID | gEfiCertRsa2048Guid |
EFI_GUID | gEfiCertRsa2048Sha256Guid |
EFI_GUID | gEfiCertSha1Guid |
EFI_GUID | gEfiCertRsa2048Sha1Guid |
EFI_GUID | gEfiCertX509Guid |
EFI_GUID | gEfiCertSha224Guid |
EFI_GUID | gEfiCertSha384Guid |
EFI_GUID | gEfiCertSha512Guid |
EFI_GUID | gEfiCertX509Sha256Guid |
EFI_GUID | gEfiCertX509Sha384Guid |
EFI_GUID | gEfiCertX509Sha512Guid |
EFI_GUID | gEfiCertPkcs7Guid |
Image signature database are defined for the signed image validation.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ImageAuthentication.h.
#define EFI_CERT_RSA2048_GUID |
This identifies a signature containing an RSA-2048 key. The key (only the modulus since the public key exponent is known to be 0x10001) shall be stored in big-endian order. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of SignatureOwner component) + 256 bytes.
Definition at line 142 of file ImageAuthentication.h.
#define EFI_CERT_RSA2048_SHA1_GUID |
TThis identifies a signature containing a RSA-2048 signature of a SHA-1 hash. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of SignatureOwner component) + 256 bytes.
Definition at line 171 of file ImageAuthentication.h.
#define EFI_CERT_RSA2048_SHA256_GUID |
This identifies a signature containing a RSA-2048 signature of a SHA-256 hash. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of SignatureOwner component) + 256 bytes.
Definition at line 152 of file ImageAuthentication.h.
#define EFI_CERT_SHA1_GUID |
This identifies a signature containing a SHA-1 hash. The SignatureSize shall always be 16 (size of SignatureOwner component) + 20 bytes.
Definition at line 161 of file ImageAuthentication.h.
#define EFI_CERT_SHA224_GUID |
This identifies a signature containing a SHA-224 hash. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of SignatureOwner component) + 28 bytes.
Definition at line 195 of file ImageAuthentication.h.
#define EFI_CERT_SHA256_GUID |
This identifies a signature containing a SHA-256 hash. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of SignatureOwner component) + 32 bytes.
Definition at line 130 of file ImageAuthentication.h.
#define EFI_CERT_SHA384_GUID |
This identifies a signature containing a SHA-384 hash. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of SignatureOwner component) + 48 bytes.
Definition at line 205 of file ImageAuthentication.h.
#define EFI_CERT_SHA512_GUID |
This identifies a signature containing a SHA-512 hash. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of SignatureOwner component) + 64 bytes.
Definition at line 215 of file ImageAuthentication.h.
#define EFI_CERT_TYPE_PKCS7_GUID |
This identifies a signature containing a DER-encoded PKCS #7 version 1.5 [RFC2315] SignedData value.
Definition at line 263 of file ImageAuthentication.h.
#define EFI_CERT_X509_GUID |
This identifies a signature based on an X.509 certificate. If the signature is an X.509 certificate then verification of the signature of an image should validate the public key certificate in the image using certificate path verification, up to this X.509 certificate as a trusted root. The SignatureHeader size shall always be 0. The SignatureSize may vary but shall always be 16 (size of the SignatureOwner component) + the size of the certificate itself. Note: This means that each certificate will normally be in a separate EFI_SIGNATURE_LIST.
Definition at line 185 of file ImageAuthentication.h.
#define EFI_CERT_X509_SHA256_GUID |
This identifies a signature containing the SHA256 hash of an X.509 certificate's To-Be-Signed contents, and a time of revocation. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of the SignatureOwner component)
Definition at line 228 of file ImageAuthentication.h.
#define EFI_CERT_X509_SHA384_GUID |
This identifies a signature containing the SHA384 hash of an X.509 certificate's To-Be-Signed contents, and a time of revocation. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of the SignatureOwner component)
Definition at line 241 of file ImageAuthentication.h.
#define EFI_CERT_X509_SHA512_GUID |
This identifies a signature containing the SHA512 hash of an X.509 certificate's To-Be-Signed contents, and a time of revocation. The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of the SignatureOwner component)
Definition at line 254 of file ImageAuthentication.h.
#define EFI_IMAGE_EXECUTION_AUTH_SIG_FAILED 0x00000001 |
Definition at line 275 of file ImageAuthentication.h.
#define EFI_IMAGE_EXECUTION_AUTH_SIG_FOUND 0x00000004 |
Definition at line 278 of file ImageAuthentication.h.
#define EFI_IMAGE_EXECUTION_AUTH_SIG_NOT_FOUND 0x00000003 |
Definition at line 277 of file ImageAuthentication.h.
#define EFI_IMAGE_EXECUTION_AUTH_SIG_PASSED 0x00000002 |
Definition at line 276 of file ImageAuthentication.h.
#define EFI_IMAGE_EXECUTION_AUTH_UNTESTED 0x00000000 |
Definition at line 274 of file ImageAuthentication.h.
#define EFI_IMAGE_EXECUTION_AUTHENTICATION 0x00000007 |
Definition at line 273 of file ImageAuthentication.h.
#define EFI_IMAGE_EXECUTION_INITIALIZED 0x00000008 |
Definition at line 280 of file ImageAuthentication.h.
#define EFI_IMAGE_EXECUTION_POLICY_FAILED 0x00000005 |
Definition at line 279 of file ImageAuthentication.h.
#define EFI_IMAGE_SECURITY_DATABASE L"db" |
Varialbe name with guid EFI_IMAGE_SECURITY_DATABASE_GUID for the authorized signature database.
Definition at line 26 of file ImageAuthentication.h.
#define EFI_IMAGE_SECURITY_DATABASE1 L"dbx" |
Varialbe name with guid EFI_IMAGE_SECURITY_DATABASE_GUID for the forbidden signature database.
Definition at line 31 of file ImageAuthentication.h.
#define EFI_IMAGE_SECURITY_DATABASE2 L"dbt" |
Variable name with guid EFI_IMAGE_SECURITY_DATABASE_GUID for the timestamp signature database.
Definition at line 36 of file ImageAuthentication.h.
#define EFI_IMAGE_SECURITY_DATABASE_GUID |
Definition at line 17 of file ImageAuthentication.h.
#define SECURE_BOOT_MODE_DISABLE 0 |
Definition at line 39 of file ImageAuthentication.h.
#define SECURE_BOOT_MODE_ENABLE 1 |
Definition at line 38 of file ImageAuthentication.h.
#define SETUP_MODE 1 |
Definition at line 41 of file ImageAuthentication.h.
#define USER_MODE 0 |
Definition at line 42 of file ImageAuthentication.h.
typedef UINT32 EFI_IMAGE_EXECUTION_ACTION |
Definition at line 271 of file ImageAuthentication.h.