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
.Net Core don't have the toXmlString()
and fromXmlString
method. but you can use an extension
Workarounds: #874, #23686
Added ToXmlString
and FromXmlString
implementations to RSA
and DSA
in .NET Core 3.0
RSA & DSA examples.
Looks like it's finally been implemented in .NET Core 3.0: https://github.com/dotnet/corefx/pull/37593