是否可以理解为进口的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.)