[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Verifies that a digital signature is valid by determining the hash value in the signature using the provided public key and comparing it to the hash value of the provided data.
Assembly: mscorlib (in mscorlib.dll)
The data that was signed.
- Type: System.Object
The name of the hash algorithm used to create the hash value of the data.
The signature data to be verified.
Return ValueType: System.Boolean
true if the signature is valid; otherwise, false.
This method verifies the RSA digital signature produced by the SignData method. The signature is verified by obtaining the hash value from the signature using the public key it was signed with, and comparing that value to the hash value of the provided data.