RSACryptoServiceProviderVerifyData Method |
Verifies the specified signature data by comparing it to the signature computed
for the specified data.
Namespace: Crestron.SimplSharp.CryptographyAssembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntaxpublic bool VerifyData(
byte[] buffer,
Object halg,
byte[] signature
)
Parameters
- buffer Byte
- The data that was signed.
- halg Object
- The name of the hash algorithm used to create the hash value of the data.
- signature Byte
- The signature data to be verified.
Return Value
Booleantrue if the signature verifies as valid; otherwise, false.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also