.NET Core 2.0 RSA PlatformNotSupportedException

前端 未结 2 677
慢半拍i
慢半拍i 2020-12-11 02:38

I am trying to use this code to generate a public and private key, I am using .NET Core 2 on Windows 10

So far I had no success in running this code, it compiles jus

相关标签:
2条回答
  • 2020-12-11 02:49

    .Net Core don't have the toXmlString() and fromXmlString method. but you can use an extension

    Workarounds: #874, #23686

    Update:

    Added ToXmlString and FromXmlString implementations to RSA and DSA in .NET Core 3.0

    RSA & DSA examples.

    0 讨论(0)
  • 2020-12-11 03:09

    Looks like it's finally been implemented in .NET Core 3.0: https://github.com/dotnet/corefx/pull/37593

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