Share via


ECDsa.SignHashCore(ReadOnlySpan<Byte>, DSASignatureFormat) Méthode

Définition

Calcule la signature ECDSA pour la valeur de hachage spécifiée au format indiqué.

protected:
 virtual cli::array <System::Byte> ^ SignHashCore(ReadOnlySpan<System::Byte> hash, System::Security::Cryptography::DSASignatureFormat signatureFormat);
protected virtual byte[] SignHashCore (ReadOnlySpan<byte> hash, System.Security.Cryptography.DSASignatureFormat signatureFormat);
abstract member SignHashCore : ReadOnlySpan<byte> * System.Security.Cryptography.DSASignatureFormat -> byte[]
override this.SignHashCore : ReadOnlySpan<byte> * System.Security.Cryptography.DSASignatureFormat -> byte[]
Protected Overridable Function SignHashCore (hash As ReadOnlySpan(Of Byte), signatureFormat As DSASignatureFormat) As Byte()

Paramètres

hash
ReadOnlySpan<Byte>

Valeur de hachage à signer.

signatureFormat
DSASignatureFormat

Format d’encodage à utiliser pour la signature.

Retours

Byte[]

Signature ECDSA pour les données spécifiées.

Exceptions

Une erreur s’est produite dans l’opération de signature.

S’applique à