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

Definice

Vypočítá podpis ECDSA pro zadanou hodnotu hash v uvedeném formátu.

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

Parametry

hash
ReadOnlySpan<Byte>

Hodnota hash, která se má podepsat.

signatureFormat
DSASignatureFormat

Formát kódování, který se má použít pro podpis.

Návraty

Byte[]

Podpis ECDSA pro zadaná data.

Výjimky

Při operaci podepisování došlo k chybě.

Platí pro