HMACSHA384.TryHashFinal(Span<Byte>, Int32) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- 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é.
true
si destination
est suffisamment long pour recevoir la valeur de HMAC ; sinon, false
.
Produit | Versions |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :