Mono Class Library: System.Security.Cryptography.DSASignatureDeformatter Overview | MembersSystem.Security.Cryptography.DSASignatureDeformatter.VerifySignature Method |
Verify the signature for the specified hash value using the DSA public key. [Edit]
|
True if the signature match the specified hash (with the DSA public key), false otherwise. [Edit]
A System.Security.Cryptography.CryptographicUnexpectedOperationException will be thrown if a System.Security.Cryptography.DSA object instance hasn't been set in the constructor or by DSASignatureFormatter.SetKey.
The hash byte array should always have 20 bytes as only the SHA-1 algorithm is supported.
The size of the signature, 40 bytes, isn't affected by the length of the public key (512 - 1024 bits).
[Edit]
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0