MdePkg[all]
1.08
|
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 |
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
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#define EFI_CERT_TYPE_PKCS7_GUID |
This identifies a signature containing a DER-encoded PKCS #7 version 1.5 [RFC2315] SignedData value.
#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.
#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)
#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)
#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)
#define EFI_IMAGE_EXECUTION_AUTH_SIG_FAILED 0x00000001 |
#define EFI_IMAGE_EXECUTION_AUTH_SIG_FOUND 0x00000004 |
#define EFI_IMAGE_EXECUTION_AUTH_SIG_NOT_FOUND 0x00000003 |
#define EFI_IMAGE_EXECUTION_AUTH_SIG_PASSED 0x00000002 |
#define EFI_IMAGE_EXECUTION_AUTH_UNTESTED 0x00000000 |
#define EFI_IMAGE_EXECUTION_AUTHENTICATION 0x00000007 |
#define EFI_IMAGE_EXECUTION_INITIALIZED 0x00000008 |
#define EFI_IMAGE_EXECUTION_POLICY_FAILED 0x00000005 |
#define EFI_IMAGE_SECURITY_DATABASE L"db" |
Varialbe name with guid EFI_IMAGE_SECURITY_DATABASE_GUID for the authorized signature database.
#define EFI_IMAGE_SECURITY_DATABASE1 L"dbx" |
Varialbe name with guid EFI_IMAGE_SECURITY_DATABASE_GUID for the forbidden signature database.
#define EFI_IMAGE_SECURITY_DATABASE2 L"dbt" |
Variable name with guid EFI_IMAGE_SECURITY_DATABASE_GUID for the timestamp signature database.
#define EFI_IMAGE_SECURITY_DATABASE_GUID |
#define SECURE_BOOT_MODE_DISABLE 0 |
#define SECURE_BOOT_MODE_ENABLE 1 |
#define SETUP_MODE 1 |
#define USER_MODE 0 |
typedef UINT32 EFI_IMAGE_EXECUTION_ACTION |
EFI_GUID gEfiCertPkcs7Guid |
EFI_GUID gEfiCertRsa2048Guid |
EFI_GUID gEfiCertRsa2048Sha1Guid |
EFI_GUID gEfiCertRsa2048Sha256Guid |
EFI_GUID gEfiCertSha1Guid |
EFI_GUID gEfiCertSha224Guid |
EFI_GUID gEfiCertSha256Guid |
EFI_GUID gEfiCertSha384Guid |
EFI_GUID gEfiCertSha512Guid |
EFI_GUID gEfiCertX509Guid |
EFI_GUID gEfiCertX509Sha256Guid |
EFI_GUID gEfiCertX509Sha384Guid |
EFI_GUID gEfiCertX509Sha512Guid |
EFI_GUID gEfiImageSecurityDatabaseGuid |