MLDsa.SignPreHashCore メソッド

定義

派生クラスでオーバーライドされると、指定したハッシュとコンテキストの事前ハッシュ署名を計算し、指定されたバッファーに書き込みます。

protected:
 abstract void SignPreHashCore(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> context, System::String ^ hashAlgorithmOid, Span<System::Byte> destination);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected abstract void SignPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, Span<byte> destination);
protected abstract void SignPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, Span<byte> destination);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member SignPreHashCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * string * Span<byte> -> unit
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))

パラメーター

hash
ReadOnlySpan<Byte>

署名するハッシュ。

context
ReadOnlySpan<Byte>

署名コンテキスト。

hashAlgorithmOid
String

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

destination
Span<Byte>

署名を受け取るバッファー。これは常にアルゴリズムの正確に正しいサイズになります。

属性

例外

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

適用対象