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 签名。

例外

签名操作中发生错误。

适用于