MLDsa.VerifyDataCore 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, verifies the signature of the specified data and context.
protected:
abstract bool VerifyDataCore(ReadOnlySpan<System::Byte> data, ReadOnlySpan<System::Byte> context, ReadOnlySpan<System::Byte> signature);
protected abstract bool VerifyDataCore(ReadOnlySpan<byte> data, ReadOnlySpan<byte> context, ReadOnlySpan<byte> signature);
abstract member VerifyDataCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Protected MustOverride Function VerifyDataCore (data As ReadOnlySpan(Of Byte), context As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte)) As Boolean
Parameters
- data
- ReadOnlySpan<Byte>
The data to verify.
- context
- ReadOnlySpan<Byte>
The signature context.
- signature
- ReadOnlySpan<Byte>
The signature to verify.
Returns
true
if the signature validates the data; otherwise, false
.
Exceptions
An error occurred while verifying the data.