ECDsa.SignHashCore(ReadOnlySpan<Byte>, DSASignatureFormat) 方法

定義

以指定的格式計算指定雜湊值的 ECDSA 簽章。

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

參數

hash
ReadOnlySpan<Byte>

要簽署的雜湊值。

signatureFormat
DSASignatureFormat

要用於簽章的編碼格式。

傳回

Byte[]

指定資料的 ECDSA 簽章。

例外狀況

簽署作業中發生錯誤。

適用於