Verifying ECDSA signature with Bouncy Castle in C#
问题 I have a problem when I try to verify the ECDSA signature in Bouncy Castle in C#. The code is adopted from Java example that I have, so I am 100% sure that the public key and signature are correct. But the C# implementation always returns that the signature is not valid. I checked the curve parameters and they are correct. I tried with DER and "raw" signature and again it did not work. Can anybody spot what I am doing wrong: namespace TestECDSA { class Program { static void Main(string[] args