Hi,
I'm writing a module in C# to sign and verify digital signatures.
The method to verify has these parameters: the doc to verify, the signedHash and the X509 certificate of the signer; to verify, if I understod well, I've to decrypt the signedHash, calculate the hash of the doc and verify that the two hashes are the same... The problem is: how can I know the hash algorithm (I'm using RSA) used by the signer from some field of the X509 certificate?