ECDsa.SignHash Method

Definition

Overloads

SignHash(Byte[])

Génère une signature numérique pour la valeur de hachage spécifiée.Generates a digital signature for the specified hash value.

SignHash(Byte[], DSASignatureFormat)

SignHash(Byte[])

Génère une signature numérique pour la valeur de hachage spécifiée.Generates a digital signature for the specified hash value.

public:
 abstract cli::array <System::Byte> ^ SignHash(cli::array <System::Byte> ^ hash);
public abstract byte[] SignHash (byte[] hash);
abstract member SignHash : byte[] -> byte[]
Public MustOverride Function SignHash (hash As Byte()) As Byte()

Parameters

hash
Byte[]

Valeur de hachage des données signées.The hash value of the data that is being signed.

Returns

Byte[]

Signature numérique pour la valeur de hachage spécifiée.A digital signature for the specified hash value.

Exceptions

Le paramètre hash a la valeur null.The hash parameter is null.

SignHash(Byte[], DSASignatureFormat)

public:
 cli::array <System::Byte> ^ SignHash(cli::array <System::Byte> ^ hash, System::Security::Cryptography::DSASignatureFormat signatureFormat);
public byte[] SignHash (byte[] hash, System.Security.Cryptography.DSASignatureFormat signatureFormat);
member this.SignHash : byte[] * System.Security.Cryptography.DSASignatureFormat -> byte[]
Public Function SignHash (hash As Byte(), signatureFormat As DSASignatureFormat) As Byte()

Parameters

hash
Byte[]
signatureFormat
DSASignatureFormat

Returns

Byte[]

Applies to