CryptographicOperations.VerifyHmacAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
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)
Parameter
- hashAlgorithm
- HashAlgorithmName
- key
- ReadOnlyMemory<Byte>
- source
- Stream
- hash
- ReadOnlyMemory<Byte>
- cancellationToken
- CancellationToken
Gibt zurück
Gilt für:
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)
Parameter
- hashAlgorithm
- HashAlgorithmName
- key
- Byte[]
- source
- Stream
- hash
- Byte[]
- cancellationToken
- CancellationToken