RSAPKCS1SignatureFormatter.SetHashAlgorithm strings

  • Thread starter Thread starter viepia
  • Start date Start date
V

viepia

Hi,

Is there any other string hashAlgorithm for
RSAPKCS1SignatureFormatter.SetHashAlgorithm(hashAlgorithm) other than "SHA1"? From
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/fxref_mscorlib/html/f9808429-85df-4e5b-34c1-d04cb27f24a1.htm
I tried "SHA512","HMACSHA512", "RIPEMD160", and " HMACRIPEMD160"; they all threw
System.Security.Cryptography.CryptographicUnexpectedOperationException "Required object
identifier (OID) cannot be found." Is there a way to enumerate the list of allowed
values for hashAlgorithm?


Thanks,
Viepia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top