是否可以理解在Windows证书存储证书是否导入为"启用强私钥"保护?证书、Windows、强私钥、QUOT

2023-09-03 06:34:37 作者:褪色の老照片

是否可以理解为进口的Windows证书存储证书是否启用强私钥保护.NET?

Is it possible to understand whether a certificate in Windows cert store imported as "Enable Strong Private Key" protection in .NET?

推荐答案

它看起来像 x509certificate2 不直接暴露这一点,所以,除非有东西在它的 扩展 财产没有在.NET中没有直接的支持。

It looks like x509certificate2 doesn't directly expose this, so unless there is something in its Extensions property there is no direct support in .NET.

(我没有用启用强私钥,直接检查证书。)

(I don't have a certificate with "Enable Strong Private Key" to check directly.)