Mono Class Library: System.Security.Cryptography.DSASignatureDeformatter Overview | MembersSystem.Security.Cryptography.DSASignatureDeformatter.SetHashAlgorithm Method |
Set the hash algorithm to be used to verify the digital signature. For DSA the default (and only acceptable) hash algorithm is SHA-1. [Edit]
|
- strName
- Name of the hash algorithm. This name will be resolved by System.Security.Cryptography.CryptoConfig to create an instance of the class. [Edit]
This class only support the System.Security.Cryptography.SHA1 hash algorithm. Any name that resolves in another hash algorithm (or anything else) will throw a System.Security.Cryptography.CryptographicUnexpectedOperationException. This is a restriction of the DSA algorithm (FIPS 186) not of the class library. [Edit]
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0