]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.c
SecurityPkg/Pkcs7Verify: Complete the Pkcs7VerifyDxe protocol
authorLong Qin <qin.long@intel.com>
Tue, 5 Sep 2017 07:46:21 +0000 (15:46 +0800)
committerLong Qin <qin.long@intel.com>
Tue, 5 Sep 2017 07:47:31 +0000 (15:47 +0800)
commita2481f81b357c892c8eda725836f255cf4f72879
treeb264016b1b47376febbed9eb30dd091e9545a1ed
parent023387144299741d727521b425ef443438aecc1f
SecurityPkg/Pkcs7Verify: Complete the Pkcs7VerifyDxe protocol

VerifySignature can be implemented using a mirror of the
AuthenticodeVerify function that's already in use in the
ImageVerificationDXE environment, so this patch simply wires up
VerifySignature using that code.
<NOTE: Only Authenticode-signature verification was supported by
       this VerifySignature() implementation now.)

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Reviewed-by: Long Qin <qin.long@intel.com>
SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.c