ReactOS
0.4.16-dev-226-g79f2289
WinCertificate.h
Go to the documentation of this file.
1
17
#ifndef __EFI_WIN_CERTIFICATE_H__
18
#define __EFI_WIN_CERTIFICATE_H__
19
20
//
21
// _WIN_CERTIFICATE.wCertificateType
22
//
23
#define WIN_CERT_TYPE_PKCS_SIGNED_DATA 0x0002
24
#define WIN_CERT_TYPE_EFI_PKCS115 0x0EF0
25
#define WIN_CERT_TYPE_EFI_GUID 0x0EF1
26
30
typedef
struct
{
35
UINT32
dwLength
;
40
UINT16
wRevision
;
46
UINT16
wCertificateType
;
53
}
WIN_CERTIFICATE
;
54
58
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
59
{0xa7717414, 0xc616, 0x4977, { 0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
60
64
typedef
struct
{
65
EFI_GUID
HashType
;
66
UINT8
PublicKey[256];
67
UINT8
Signature
[256];
68
}
EFI_CERT_BLOCK_RSA_2048_SHA256
;
69
70
74
typedef
struct
{
79
WIN_CERTIFICATE
Hdr
;
84
EFI_GUID
CertType
;
91
UINT8
CertData[1];
92
}
WIN_CERTIFICATE_UEFI_GUID
;
93
94
103
typedef
struct
{
108
WIN_CERTIFICATE
Hdr
;
113
EFI_GUID
HashAlgorithm
;
124
}
WIN_CERTIFICATE_EFI_PKCS1_15
;
125
126
extern
EFI_GUID
gEfiCertTypeRsa2048Sha256Guid
;
127
128
#endif
UINT16
unsigned short UINT16
Definition:
ProcessorBind.h:171
UINT8
unsigned char UINT8
Definition:
ProcessorBind.h:189
UINT32
unsigned int UINT32
Definition:
ProcessorBind.h:163
gEfiCertTypeRsa2048Sha256Guid
EFI_GUID gEfiCertTypeRsa2048Sha256Guid
Signature
static const WCHAR Signature[]
Definition:
parser.c:141
GUID
Definition:
shobjidl.idl:2988
EFI_CERT_BLOCK_RSA_2048_SHA256
Definition:
WinCertificate.h:64
EFI_CERT_BLOCK_RSA_2048_SHA256::HashType
EFI_GUID HashType
Definition:
WinCertificate.h:65
WIN_CERTIFICATE_EFI_PKCS1_15
Definition:
WinCertificate.h:103
WIN_CERTIFICATE_EFI_PKCS1_15::Hdr
WIN_CERTIFICATE Hdr
Definition:
WinCertificate.h:108
WIN_CERTIFICATE_EFI_PKCS1_15::HashAlgorithm
EFI_GUID HashAlgorithm
Definition:
WinCertificate.h:113
WIN_CERTIFICATE_UEFI_GUID
Definition:
WinCertificate.h:74
WIN_CERTIFICATE_UEFI_GUID::Hdr
WIN_CERTIFICATE Hdr
Definition:
WinCertificate.h:79
WIN_CERTIFICATE_UEFI_GUID::CertType
EFI_GUID CertType
Definition:
WinCertificate.h:84
WIN_CERTIFICATE
Definition:
WinCertificate.h:30
WIN_CERTIFICATE::wRevision
UINT16 wRevision
Definition:
WinCertificate.h:40
WIN_CERTIFICATE::dwLength
UINT32 dwLength
Definition:
WinCertificate.h:35
WIN_CERTIFICATE::wCertificateType
UINT16 wCertificateType
Definition:
WinCertificate.h:46
boot
environ
include
efi
WinCertificate.h
Generated on Sun Nov 3 2024 06:05:18 for ReactOS by
1.9.6