Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从 UEFI 中的 C 代码创建签名证书请求(我使用 edk2)。
我知道如何在 Linux C 代码中使用 openssl 来做到这一点。我知道 edk2 中有CryptoPkg。但我没有找到创建请求和检查证书的功能。
有没有办法使用CryptoPkgX509_REQ创建和检查X509证书?我该怎么做?
X509_REQ
X509
如果我不能这样做:如何创建创建请求并检查证书?创建我自己的 openssl 包装器的最佳方法是什么?
好的。我发现对我来说最好的方法是在CryptoPkg创建我自己的包装器。所以我CryptoPkg\Library\MyCryptLib根据创建库CryptoPkg\Library\BaseCryptLib,将环境头和库路径复制到链接。
CryptoPkg\Library\MyCryptLib
CryptoPkg\Library\BaseCryptLib
所以我有可以扩展和使用的 openssl 包装器