0

如何从 x509 v.3 证书中获取私钥并将其存储在一个RSACryptoServiceProvider类中?

4

2 回答 2

1
RSACryptoServiceProvider rsaCsp = (RSACryptoServiceProvider)x509certificateobject.PrivateKey;

假设如果您使用公钥,那么只需.PrivateKey.PublicKey.

于 2012-09-18T09:31:36.520 回答
0
RSACryptoServiceProvider rsaCsp = (RSACryptoServiceProvider)x509certificateobject.PrivateKey;
于 2012-09-14T10:43:20.773 回答