Verifies a signature, returning 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 Verify(
byte[] PublicKey,
byte[] hash,
byte[] signature
) |
Visual Basic |
---|
Function Verify (
PublicKey As Byte(),
hash As Byte(),
signature As Byte()
) As Boolean |
Visual C++ |
---|
bool Verify(
array<unsigned char>^ PublicKey,
array<unsigned char>^ hash,
array<unsigned char>^ signature
) |
F# |
---|
abstract Verify :
PublicKey : byte[] *
hash : byte[] *
signature : byte[] -> bool
|
Parameters
- PublicKey
- Type: array<System..::..Byte>[]()[][]
Public key.
- hash
- Type: array<System..::..Byte>[]()[][]
Hash of data to verify.
- signature
- Type: array<System..::..Byte>[]()[][]
Signature to verify.
Return Value
Type:
BooleanTrue if signature is valid, otherwise false.
Remarks
Exceptions
See Also