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

AsymmetricKeyAlgorithm.VerifyHash Method

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

VerifyHash(Byte[], SignatureHashAlgorithm, Byte[])

Verifies the specified signature.

Declaration
public bool VerifyHash(byte[] hash, SignatureHashAlgorithm hashAlgorithm, byte[] signature)
Parameters
Type Name Description
Byte[] hash

The hash value of the signed data.

SignatureHashAlgorithm hashAlgorithm

A hash algorithm used to create the hash value.

Byte[] signature

The signature for the specified hash value.

Returns
Type Description
Boolean

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

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