CryptographicOperations.VerifyHmacAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
VerifyHmacAsync(HashAlgorithmName, ReadOnlyMemory<Byte>, Stream, ReadOnlyMemory<Byte>, CancellationToken)
public static System.Threading.Tasks.ValueTask<bool> VerifyHmacAsync(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, ReadOnlyMemory<byte> key, System.IO.Stream source, ReadOnlyMemory<byte> hash, System.Threading.CancellationToken cancellationToken = default);
static member VerifyHmacAsync : System.Security.Cryptography.HashAlgorithmName * ReadOnlyMemory<byte> * System.IO.Stream * ReadOnlyMemory<byte> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
Public Shared Function VerifyHmacAsync (hashAlgorithm As HashAlgorithmName, key As ReadOnlyMemory(Of Byte), source As Stream, hash As ReadOnlyMemory(Of Byte), Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of Boolean)
Parametri
- hashAlgorithm
- HashAlgorithmName
- key
- ReadOnlyMemory<Byte>
- source
- Stream
- hash
- ReadOnlyMemory<Byte>
- cancellationToken
- CancellationToken
Restituisce
Si applica a
VerifyHmacAsync(HashAlgorithmName, Byte[], Stream, Byte[], CancellationToken)
public static System.Threading.Tasks.ValueTask<bool> VerifyHmacAsync(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, byte[] key, System.IO.Stream source, byte[] hash, System.Threading.CancellationToken cancellationToken = default);
static member VerifyHmacAsync : System.Security.Cryptography.HashAlgorithmName * byte[] * System.IO.Stream * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
Public Shared Function VerifyHmacAsync (hashAlgorithm As HashAlgorithmName, key As Byte(), source As Stream, hash As Byte(), Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of Boolean)
Parametri
- hashAlgorithm
- HashAlgorithmName
- key
- Byte[]
- source
- Stream
- hash
- Byte[]
- cancellationToken
- CancellationToken