CryptographicOperations.VerifyHmacAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
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)
Parameters
- hashAlgorithm
- HashAlgorithmName
- key
- ReadOnlyMemory<Byte>
- source
- Stream
- hash
- ReadOnlyMemory<Byte>
- cancellationToken
- CancellationToken
Retouren
Van toepassing op
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)
Parameters
- hashAlgorithm
- HashAlgorithmName
- key
- Byte[]
- source
- Stream
- hash
- Byte[]
- cancellationToken
- CancellationToken