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.
如何从 x509 v.3 证书中获取私钥并将其存储在一个RSACryptoServiceProvider类中?
RSACryptoServiceProvider
RSACryptoServiceProvider rsaCsp = (RSACryptoServiceProvider)x509certificateobject.PrivateKey;
假设如果您使用公钥,那么只需.PrivateKey将.PublicKey.
.PrivateKey
.PublicKey