SlhDsa.SignPreHashCore メソッド

定義

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

protected:
 abstract void SignPreHashCore(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> context, System::String ^ hashAlgorithmOid, Span<System::Byte> destination);
protected abstract void SignPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, Span<byte> destination);
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>

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

例外

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

適用対象