CryptographicException “Key not valid for use in specified state.” while trying to export RSAParameters of a X509 private key

后端 未结 7 1502
悲&欢浪女
悲&欢浪女 2020-12-03 06:34

I am staring at this for quite a while and thanks to the MSDN documentation I cannot really figure out what\'s going. Basically I am loading a PFX file from the disc into a

相关标签:
7条回答
  • 2020-12-03 07:15

    I've met some similar issue, and X509KeyStorageFlags.Exportable solved my problem.

    0 讨论(0)
提交回复
热议问题