Returns true if the signature is valid.
Namespace: BasicCard.Crypto.ECAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
bool HashAndVerify(
byte[] PublicKey,
byte[] data,
byte[] signature
) |
Visual Basic |
---|
Function HashAndVerify (
PublicKey As Byte(),
data As Byte(),
signature As Byte()
) As Boolean |
Visual C++ |
---|
bool HashAndVerify(
array<unsigned char>^ PublicKey,
array<unsigned char>^ data,
array<unsigned char>^ signature
) |
F# |
---|
abstract HashAndVerify :
PublicKey : byte[] *
data : byte[] *
signature : byte[] -> bool
|
Parameters
- PublicKey
- Type: array<System..::..Byte>[]()[][]
Public key.
- data
- Type: array<System..::..Byte>[]()[][]
Data to verify.
- signature
- Type: array<System..::..Byte>[]()[][]
Signature of data.
Return Value
Type:
BooleanTrue if signature is valid, otherwise false.
Remarks
Exceptions
See Also