MLDsa.SignDataCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.