SlhDsa.SignPreHashCore Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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.
Buffer per ricevere la firma, che sarà sempre la dimensione esatta per l'algoritmo.
Eccezioni
Errore durante la firma dell'hash.