RSAPKCS1SignatureDeformatter.VerifySignature Method (Byte(), Byte())
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Verifies the RSA PKCS#1 signature for the specified data.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overrides Function VerifySignature ( _ rgbHash As Byte(), _ rgbSignature As Byte() _ ) As Boolean
Parameters
- rgbHash
- Type:
System.Byte
()
The data signed with rgbSignature.
- rgbSignature
- Type:
System.Byte
()
The signature to be verified for rgbHash.
Return Value
Type: System.Booleantrue if rgbSignature matches the signature computed using the specified hash algorithm and key on rgbHash; otherwise, false.
| Exception | Condition |
|---|---|
| CryptographicUnexpectedOperationException | The key is Nothing. -or- The hash algorithm is Nothing. |
| ArgumentNullException | The rgbHash parameter is Nothing. -or- The rgbSignature parameter is Nothing. |
Show: