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.
我试图了解 .pem 文件的布局方式。密码是如何验证的?.pem 文件如何检查您尝试打开它的密码?
多种不同类型的数据存储在扩展名为 .pem 的文件中。所以你的问题不准确。但是假设它是一个受密码保护的私钥文件。为什么您认为密码存储在其中的任何位置?实际上它并没有存储在文件中。密码用于生成对称密钥,用于解密文件并检查解密文件的一致性。