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.
我将能够检索有关证书的一些信息,例如哈希算法和加密算法,它们都是简单的字符串,例如:
SHA-1
RSA
有什么方法可以获取这些信息吗?
听起来像你想要的:
var hashAlgorithm = certificate.PrivateKey.SignatureAlgorithm; var encryptionAlgorithm = certificate.PrivateKey.KeyExchangeAlgorithm;
它们可能不完全是您给出的样本值,但这将是我的起点......