TianoCore EDK2
master
Loading...
Searching...
No Matches
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
24
typedef
struct
{
29
UINT32
dwLength
;
34
UINT16
wRevision
;
40
UINT16
wCertificateType
;
47
}
WIN_CERTIFICATE
;
48
52
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
53
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
54
58
typedef
struct
{
59
EFI_GUID
HashType;
60
UINT8 PublicKey[256];
61
UINT8 Signature[256];
62
}
EFI_CERT_BLOCK_RSA_2048_SHA256
;
63
67
typedef
struct
{
72
WIN_CERTIFICATE
Hdr
;
77
EFI_GUID
CertType
;
84
UINT8 CertData[1];
85
}
WIN_CERTIFICATE_UEFI_GUID
;
86
95
typedef
struct
{
100
WIN_CERTIFICATE
Hdr
;
105
EFI_GUID
HashAlgorithm
;
116
}
WIN_CERTIFICATE_EFI_PKCS1_15
;
117
118
extern
EFI_GUID
gEfiCertTypeRsa2048Sha256Guid;
119
120
#endif
EFI_CERT_BLOCK_RSA_2048_SHA256
Definition:
WinCertificate.h:58
GUID
Definition:
Base.h:213
WIN_CERTIFICATE_EFI_PKCS1_15
Definition:
WinCertificate.h:95
WIN_CERTIFICATE_EFI_PKCS1_15::Hdr
WIN_CERTIFICATE Hdr
Definition:
WinCertificate.h:100
WIN_CERTIFICATE_EFI_PKCS1_15::HashAlgorithm
EFI_GUID HashAlgorithm
Definition:
WinCertificate.h:105
WIN_CERTIFICATE_UEFI_GUID
Definition:
WinCertificate.h:67
WIN_CERTIFICATE_UEFI_GUID::Hdr
WIN_CERTIFICATE Hdr
Definition:
WinCertificate.h:72
WIN_CERTIFICATE_UEFI_GUID::CertType
EFI_GUID CertType
Definition:
WinCertificate.h:77
WIN_CERTIFICATE
Definition:
WinCertificate.h:24
WIN_CERTIFICATE::wRevision
UINT16 wRevision
Definition:
WinCertificate.h:34
WIN_CERTIFICATE::dwLength
UINT32 dwLength
Definition:
WinCertificate.h:29
WIN_CERTIFICATE::wCertificateType
UINT16 wCertificateType
Definition:
WinCertificate.h:40
MdePkg
Include
Guid
WinCertificate.h
Generated on Fri Nov 15 2024 18:01:14 for TianoCore EDK2 by
1.9.6