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

DSAManaged.SignData Method

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

SignData(Byte[], HashAlgorithm)

Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.

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

The input data for which to compute the hash.

HashAlgorithm halg

The hash algorithm to use to create the hash value.

Returns
Type Description
Byte[]

The DSA signature for the specified data.

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