HMACSHA256.TryHashFinal(Span<Byte>, Int32) Méthode

Définition

Tente de finaliser le calcul de HMAC après que les dernières données ont été traitées par l’algorithme 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

Paramètres

destination
Span<Byte>

Mémoire tampon utilisée pour recevoir la valeur de HMAC.

bytesWritten
Int32

Quand cette méthode est retournée, nombre total d’octets écrits dans destination. Ce paramètre est traité comme étant non initialisé.

Retours

true si destination est suffisamment long pour recevoir la valeur de HMAC ; sinon, false.

S’applique à