SlhDsa.SignPreHashCore Metodo

Definizione

Quando ne viene eseguito l'override in una classe derivata, calcola la firma di pre-hash dell'hash e del contesto specificati, scrivendola nel buffer fornito.

protected:
 abstract void SignPreHashCore(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> context, System::String ^ hashAlgorithmOid, Span<System::Byte> destination);
protected abstract void SignPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, Span<byte> destination);
abstract member SignPreHashCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * string * Span<byte> -> unit
Protected MustOverride Sub SignPreHashCore (hash As ReadOnlySpan(Of Byte), context As ReadOnlySpan(Of Byte), hashAlgorithmOid As String, destination As Span(Of Byte))

Parametri

hash
ReadOnlySpan<Byte>

Hash da firmare.

context
ReadOnlySpan<Byte>

Contesto della firma.

hashAlgorithmOid
String

OID dell'algoritmo hash usato per creare l'hash.

destination
Span<Byte>

Buffer per ricevere la firma, che sarà sempre la dimensione esatta per l'algoritmo.

Eccezioni

Errore durante la firma dell'hash.

Si applica a