Windows apps
Collapse the table of content
Expand the table of content
Information
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.

ECDsaCng::VerifyHash Method (array<Byte>^, array<Byte>^)

 

Verifies the specified digital signature against a specified hash value.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public:
virtual bool VerifyHash(
	array<unsigned char>^ hash,
	array<unsigned char>^ signature
) override

Parameters

hash
Type: array<System::Byte>^

The hash value of the data to be verified.

signature
Type: array<System::Byte>^

The digital signature of the data to be verified against the hash value.

Return Value

Type: System::Boolean

true if the signature is valid; otherwise, false.

Exception Condition
ArgumentNullException

hash or signature is null.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft