TianoCore EDK2 master
Loading...
Searching...
No Matches
Pkcs7Verify.h
Go to the documentation of this file.
1
14#ifndef __EFI_PKCS7_VERIFY_PROTOCOL_H__
15#define __EFI_PKCS7_VERIFY_PROTOCOL_H__
16
18
22#define EFI_PKCS7_VERIFY_PROTOCOL_GUID \
23 { \
24 0x47889fb2, 0xd671, 0x4fab, {0xa0, 0xca, 0xdf, 0x0e, 0x44, 0xdf, 0x70, 0xd6 } \
25 }
26
28
115typedef
119 IN VOID *SignedData,
120 IN UINTN SignedDataSize,
121 IN VOID *InData OPTIONAL,
122 IN UINTN InDataSize,
123 IN EFI_SIGNATURE_LIST **AllowedDb,
124 IN EFI_SIGNATURE_LIST **RevokedDb OPTIONAL,
125 IN EFI_SIGNATURE_LIST **TimeStampDb OPTIONAL,
126 OUT VOID *Content OPTIONAL,
127 IN OUT UINTN *ContentSize
128 );
129
196typedef
200 IN VOID *Signature,
201 IN UINTN SignatureSize,
202 IN VOID *InHash,
203 IN UINTN InHashSize,
204 IN EFI_SIGNATURE_LIST **AllowedDb,
205 IN EFI_SIGNATURE_LIST **RevokedDb OPTIONAL,
206 IN EFI_SIGNATURE_LIST **TimeStampDb OPTIONAL
207 );
208
216 EFI_PKCS7_VERIFY_BUFFER VerifyBuffer;
217 EFI_PKCS7_VERIFY_SIGNATURE VerifySignature;
218};
219
220extern EFI_GUID gEfiPkcs7VerifyProtocolGuid;
221
222#endif
UINT64 UINTN
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_PKCS7_VERIFY_SIGNATURE)(IN EFI_PKCS7_VERIFY_PROTOCOL *This, IN VOID *Signature, IN UINTN SignatureSize, IN VOID *InHash, IN UINTN InHashSize, IN EFI_SIGNATURE_LIST **AllowedDb, IN EFI_SIGNATURE_LIST **RevokedDb OPTIONAL, IN EFI_SIGNATURE_LIST **TimeStampDb OPTIONAL)
Definition: Pkcs7Verify.h:198
EFI_STATUS(EFIAPI * EFI_PKCS7_VERIFY_BUFFER)(IN EFI_PKCS7_VERIFY_PROTOCOL *This, IN VOID *SignedData, IN UINTN SignedDataSize, IN VOID *InData OPTIONAL, IN UINTN InDataSize, IN EFI_SIGNATURE_LIST **AllowedDb, IN EFI_SIGNATURE_LIST **RevokedDb OPTIONAL, IN EFI_SIGNATURE_LIST **TimeStampDb OPTIONAL, OUT VOID *Content OPTIONAL, IN OUT UINTN *ContentSize)
Definition: Pkcs7Verify.h:117
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213