MLDsa.VerifyPreHashCore メソッド

定義

派生クラスでオーバーライドされると、指定したハッシュとコンテキストの事前ハッシュ署名を検証します。

protected:
 abstract bool VerifyPreHashCore(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> context, System::String ^ hashAlgorithmOid, ReadOnlySpan<System::Byte> signature);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected abstract bool VerifyPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, ReadOnlySpan<byte> signature);
protected abstract bool VerifyPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, ReadOnlySpan<byte> signature);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member VerifyPreHashCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * string * ReadOnlySpan<byte> -> bool
abstract member VerifyPreHashCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * string * ReadOnlySpan<byte> -> bool
Protected MustOverride Function VerifyPreHashCore (hash As ReadOnlySpan(Of Byte), context As ReadOnlySpan(Of Byte), hashAlgorithmOid As String, signature As ReadOnlySpan(Of Byte)) As Boolean

パラメーター

hash
ReadOnlySpan<Byte>

確認するデータ。

context
ReadOnlySpan<Byte>

署名コンテキスト。

hashAlgorithmOid
String

ハッシュの作成に使用されるハッシュ アルゴリズムの OID。

signature
ReadOnlySpan<Byte>

確認する署名。

返品

true 署名がハッシュを検証する場合。それ以外の場合は false

属性

例外

ハッシュの検証中にエラーが発生しました。

適用対象