TianoCore EDK2 master
WinCertificate.h
Go to the documentation of this file.
1
11#ifndef __EFI_WIN_CERTIFICATE_H__
12#define __EFI_WIN_CERTIFICATE_H__
13
14//
15// _WIN_CERTIFICATE.wCertificateType
16//
17#define WIN_CERT_TYPE_PKCS_SIGNED_DATA 0x0002
18#define WIN_CERT_TYPE_EFI_PKCS115 0x0EF0
19#define WIN_CERT_TYPE_EFI_GUID 0x0EF1
20
24typedef struct {
29 UINT32 dwLength;
34 UINT16 wRevision;
48
52#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
53 {0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
54
58typedef struct {
59 EFI_GUID HashType;
60 UINT8 PublicKey[256];
61 UINT8 Signature[256];
63
67typedef struct {
84 UINT8 CertData[1];
86
95typedef struct {
117
118extern EFI_GUID gEfiCertTypeRsa2048Sha256Guid;
119
120#endif
Definition: Base.h:213
UINT16 wCertificateType