HMACSHA512.Verify Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Verify(Byte[], Byte[], Byte[])
public:
static bool Verify(cli::array <System::Byte> ^ key, cli::array <System::Byte> ^ source, cli::array <System::Byte> ^ hash);
public static bool Verify(byte[] key, byte[] source, byte[] hash);
static member Verify : byte[] * byte[] * byte[] -> bool
Public Shared Function Verify (key As Byte(), source As Byte(), hash As Byte()) As Boolean
Parameters
- key
- Byte[]
- source
- Byte[]
- hash
- Byte[]
Returns
Applies to
Verify(Byte[], Stream, Byte[])
public:
static bool Verify(cli::array <System::Byte> ^ key, System::IO::Stream ^ source, cli::array <System::Byte> ^ hash);
public static bool Verify(byte[] key, System.IO.Stream source, byte[] hash);
static member Verify : byte[] * System.IO.Stream * byte[] -> bool
Public Shared Function Verify (key As Byte(), source As Stream, hash As Byte()) As Boolean
Parameters
- key
- Byte[]
- source
- Stream
- hash
- Byte[]
Returns
Applies to
Verify(ReadOnlySpan<Byte>, Stream, ReadOnlySpan<Byte>)
public:
static bool Verify(ReadOnlySpan<System::Byte> key, System::IO::Stream ^ source, ReadOnlySpan<System::Byte> hash);
public static bool Verify(ReadOnlySpan<byte> key, System.IO.Stream source, ReadOnlySpan<byte> hash);
static member Verify : ReadOnlySpan<byte> * System.IO.Stream * ReadOnlySpan<byte> -> bool
Public Shared Function Verify (key As ReadOnlySpan(Of Byte), source As Stream, hash As ReadOnlySpan(Of Byte)) As Boolean
Parameters
- key
- ReadOnlySpan<Byte>
- source
- Stream
- hash
- ReadOnlySpan<Byte>
Returns
Applies to
Verify(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
public:
static bool Verify(ReadOnlySpan<System::Byte> key, ReadOnlySpan<System::Byte> source, ReadOnlySpan<System::Byte> hash);
public static bool Verify(ReadOnlySpan<byte> key, ReadOnlySpan<byte> source, ReadOnlySpan<byte> hash);
static member Verify : ReadOnlySpan<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Public Shared Function Verify (key As ReadOnlySpan(Of Byte), source As ReadOnlySpan(Of Byte), hash As ReadOnlySpan(Of Byte)) As Boolean
Parameters
- key
- ReadOnlySpan<Byte>
- source
- ReadOnlySpan<Byte>
- hash
- ReadOnlySpan<Byte>