I am trying to sign an XML EBICS file with SHA256 algorithm. I can't use the .Net Framework 4.5 in my project.
In the .NET 4.5 we can write the code below,
CryptoConfig.AddAlgorithm(typeof(RSAPKCS1SHA256SignatureDescription), "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256");
So I've no idea how I can did it in .Net 4.0
Could you help me please?
Have a look at CLR Security https://clrsecurity.codeplex.com/wikipage?title=Security.Cryptography.dll&referringTitle=Home
The RSAPKCS1SHA256SignatureDescription class has been implemented in that assembly, built in .NET 3.5, hence must work in .NET 4.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With