HMACSHA256.TryHashFinal(Span<Byte>, Int32) メソッド

定義

HMAC アルゴリズムによって最後のデータが処理された後、HMAC 計算の終了を試みます。

protected:
 override bool TryHashFinal(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
protected override bool TryHashFinal (Span<byte> destination, out int bytesWritten);
override this.TryHashFinal : Span<byte> * int -> bool
Protected Overrides Function TryHashFinal (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

パラメーター

destination
Span<Byte>

HMAC 値を受け取るバッファー。

bytesWritten
Int32

このメソッドから制御が戻るときに、destination に書き込まれた合計バイト数。 このパラメーターは初期化前として処理されます。

戻り値

destination が HMAC 値を受け取るのに十分な長さである場合は true。それ以外の場合は false

適用対象