Edit

Share via


MLDsa.SignDataCore Method

Definition

When overridden in a derived class, computes the signature of the specified data and context, writing it into the provided buffer.

protected:
 abstract void SignDataCore(ReadOnlySpan<System::Byte> data, ReadOnlySpan<System::Byte> context, Span<System::Byte> destination);
protected abstract void SignDataCore(ReadOnlySpan<byte> data, ReadOnlySpan<byte> context, Span<byte> destination);
abstract member SignDataCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> -> unit
Protected MustOverride Sub SignDataCore (data As ReadOnlySpan(Of Byte), context As ReadOnlySpan(Of Byte), destination As Span(Of Byte))

Parameters

data
ReadOnlySpan<Byte>

The data to sign.

context
ReadOnlySpan<Byte>

The signature context.

destination
Span<Byte>

The buffer to receive the signature, which will always be the exactly correct size for the algorithm.

Exceptions

An error occurred while signing the data.

Applies to