I tried search solution to my query, I couldn't able find match I am looking for, this is very basic, but to my better understanding I am posting below query.
I want to encode and do signature for my string using "SHA256withRSA" algorithm. I could able to see lot of sample code in java using "SHA256withRSA" but in C# I could see first we are hashed data using SHA256 then we are sign hash using RSACryptoServiceProvider.
My questions are:
In C# we have separate algorithm of "SHA256withRSA", If yes, help with sample code.
If no then what would be better approach to achieve it in C#?