The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ECDsa::VerifyHash Method (array<Byte>^, array<Byte>^)
.NET Framework (current version)
Verifies a digital signature against the specified hash value.
Assembly: System.Core (in System.Core.dll)
public: virtual bool VerifyHash( array<unsigned char>^ hash, array<unsigned char>^ signature ) abstract
Parameters
- hash
-
Type:
array<System::Byte>^
The hash value of a block of data.
- signature
-
Type:
array<System::Byte>^
The digital signature to be verified.
Return Value
Type: System::Booleantrue if the hash value equals the decrypted signature; otherwise, false.
The signature is first decrypted by using the public key, and then compared to the hash value for verification.
.NET Framework
Available since 3.5
Available since 3.5
Show: