是否可以理解在Windows证书存储证书是否导入为"启用强私钥"保护? [英] Is it possible to understand whether a certificate in Windows cert store imported as "Enable Strong Private Key" protection?
问题描述
是否可以理解为进口的Windows证书存储证书是否启用强私钥保护.NET?
Is it possible to understand whether a certificate in Windows cert store imported as "Enable Strong Private Key" protection in .NET?
推荐答案
它看起来像<一个href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509certificate2.aspx"相对=nofollow> x509certificate2
不直接暴露这一点,所以,除非有东西在它的<一个href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509certificate2.extensions.aspx"相对=nofollow> 扩展
财产没有在.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.)
这篇关于是否可以理解在Windows证书存储证书是否导入为&QUOT;启用强私钥&QUOT;保护?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!