CryptoPkg: Add one new API (Pkcs7GetCertificatesList) for certs retrieving.
authorQin Long <qin.long@intel.com>
Thu, 5 Nov 2015 08:50:39 +0000 (08:50 +0000)
committerqlong <qlong@Edk2>
Thu, 5 Nov 2015 08:50:39 +0000 (08:50 +0000)
commit45419de6ca5bad34567e0ca2a16a4bc78f6a6f63
tree60ccc202bfd816e9832eaf877dd3ac2d3aa1b687
parenta06795c6a628aa07e2274e2e3e083a5e1cc99322
CryptoPkg: Add one new API (Pkcs7GetCertificatesList) for certs retrieving.

Adding one new API (Pkcs7GetCertificatesList) to retrieve and sort all
embedded certificates from Pkcs7 signedData. This new API will provide
the support for UEFI 2.5 Secure-Boot AuditMode feature.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18729 6f19259b-4bc3-4df7-8a09-765794883524
CryptoPkg/Include/Library/BaseCryptLib.h
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c