CryptographicOperations.VerifyHmac Metode

Definisi

Overload

VerifyHmac(HashAlgorithmName, Byte[], Byte[], Byte[])

Sumber:
CryptographicOperations.cs
public:
 static bool VerifyHmac(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, cli::array <System::Byte> ^ key, cli::array <System::Byte> ^ source, cli::array <System::Byte> ^ hash);
public static bool VerifyHmac(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, byte[] key, byte[] source, byte[] hash);
static member VerifyHmac : System.Security.Cryptography.HashAlgorithmName * byte[] * byte[] * byte[] -> bool
Public Shared Function VerifyHmac (hashAlgorithm As HashAlgorithmName, key As Byte(), source As Byte(), hash As Byte()) As Boolean

Parameter

hashAlgorithm
HashAlgorithmName
key
Byte[]
source
Byte[]
hash
Byte[]

Mengembalikan

Berlaku untuk

VerifyHmac(HashAlgorithmName, Byte[], Stream, Byte[])

Sumber:
CryptographicOperations.cs
public:
 static bool VerifyHmac(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, cli::array <System::Byte> ^ key, System::IO::Stream ^ source, cli::array <System::Byte> ^ hash);
public static bool VerifyHmac(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, byte[] key, System.IO.Stream source, byte[] hash);
static member VerifyHmac : System.Security.Cryptography.HashAlgorithmName * byte[] * System.IO.Stream * byte[] -> bool
Public Shared Function VerifyHmac (hashAlgorithm As HashAlgorithmName, key As Byte(), source As Stream, hash As Byte()) As Boolean

Parameter

hashAlgorithm
HashAlgorithmName
key
Byte[]
source
Stream
hash
Byte[]

Mengembalikan

Berlaku untuk

VerifyHmac(HashAlgorithmName, ReadOnlySpan<Byte>, Stream, ReadOnlySpan<Byte>)

Sumber:
CryptographicOperations.cs
public:
 static bool VerifyHmac(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, ReadOnlySpan<System::Byte> key, System::IO::Stream ^ source, ReadOnlySpan<System::Byte> hash);
public static bool VerifyHmac(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key, System.IO.Stream source, ReadOnlySpan<byte> hash);
static member VerifyHmac : System.Security.Cryptography.HashAlgorithmName * ReadOnlySpan<byte> * System.IO.Stream * ReadOnlySpan<byte> -> bool
Public Shared Function VerifyHmac (hashAlgorithm As HashAlgorithmName, key As ReadOnlySpan(Of Byte), source As Stream, hash As ReadOnlySpan(Of Byte)) As Boolean

Parameter

hashAlgorithm
HashAlgorithmName
source
Stream

Mengembalikan

Berlaku untuk

VerifyHmac(HashAlgorithmName, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Sumber:
CryptographicOperations.cs
public:
 static bool VerifyHmac(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, ReadOnlySpan<System::Byte> key, ReadOnlySpan<System::Byte> source, ReadOnlySpan<System::Byte> hash);
public static bool VerifyHmac(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key, ReadOnlySpan<byte> source, ReadOnlySpan<byte> hash);
static member VerifyHmac : System.Security.Cryptography.HashAlgorithmName * ReadOnlySpan<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Public Shared Function VerifyHmac (hashAlgorithm As HashAlgorithmName, key As ReadOnlySpan(Of Byte), source As ReadOnlySpan(Of Byte), hash As ReadOnlySpan(Of Byte)) As Boolean

Parameter

hashAlgorithm
HashAlgorithmName
source
ReadOnlySpan<Byte>

Mengembalikan

Berlaku untuk