ECDsa.SignHashCore(ReadOnlySpan<Byte>, DSASignatureFormat) Metod

Definition

Beräknar ECDSA-signaturen för det angivna hashvärdet i angivet format.

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()

Parametrar

hash
ReadOnlySpan<Byte>

Hash-värdet som ska signeras.

signatureFormat
DSASignatureFormat

Kodningsformatet som ska användas för signaturen.

Returer

Byte[]

ECDSA-signaturen för angivna data.

Undantag

Ett fel uppstod i signeringsåtgärden.

Gäller för