CryptographicOperations.VerifyHmacAsync Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
| Nama | Deskripsi |
|---|---|
| VerifyHmacAsync(HashAlgorithmName, ReadOnlyMemory<Byte>, Stream, ReadOnlyMemory<Byte>, CancellationToken) | |
| VerifyHmacAsync(HashAlgorithmName, Byte[], Stream, Byte[], CancellationToken) |
VerifyHmacAsync(HashAlgorithmName, ReadOnlyMemory<Byte>, Stream, ReadOnlyMemory<Byte>, CancellationToken)
- Sumber:
- CryptographicOperations.cs
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
Mengembalikan
Berlaku untuk
VerifyHmacAsync(HashAlgorithmName, Byte[], Stream, Byte[], CancellationToken)
- Sumber:
- CryptographicOperations.cs
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