質問

How to get private key from a x509 v.3 certificate and store it in a RSACryptoServiceProvider class?

役に立ちましたか?

解決

RSACryptoServiceProvider rsaCsp = (RSACryptoServiceProvider)x509certificateobject.PrivateKey;

Suppose if you use public key then just change the .PrivateKey to .PublicKey.

他のヒント

RSACryptoServiceProvider rsaCsp = (RSACryptoServiceProvider)x509certificateobject.PrivateKey;
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top