Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

RSAManaged.VerifyData Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)

VerifyData(Byte[], HashAlgorithm, Byte[])

Verifies the specified signature data by comparing it to the signature computed for the specified data.

Declaration
public bool VerifyData(byte[] buffer, HashAlgorithm halg, byte[] signature)
Parameters
Type Name Description
Byte[] buffer

The data that was signed.

HashAlgorithm halg

The hash algorithm used to create the hash value of the data.

Byte[] signature

The signature data to be verified.

Returns
Type Description
Boolean

true if the signature verifies as valid; otherwise, false.

In This Article
  • VerifyData(Byte[], HashAlgorithm, Byte[])
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies