Returns true if the signature is valid.

Namespace: BasicCard.Crypto.EC
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public bool Verify(
	byte[] PublicKey,
	byte[] hash,
	byte[] signature
)
Visual Basic
Public Function Verify ( 
	PublicKey As Byte(),
	hash As Byte(),
	signature As Byte()
) As Boolean
Visual C++
public:
virtual bool Verify(
	array<unsigned char>^ PublicKey, 
	array<unsigned char>^ hash, 
	array<unsigned char>^ signature
) sealed
F#
abstract Verify : 
        PublicKey : byte[] * 
        hash : byte[] * 
        signature : byte[] -> bool 
override Verify : 
        PublicKey : byte[] * 
        hash : byte[] * 
        signature : byte[] -> bool 

Parameters

PublicKey
Type: array<System..::..Byte>[]()[][]
Public key.
hash
Type: array<System..::..Byte>[]()[][]
Hash data to verify.
signature
Type: array<System..::..Byte>[]()[][]
Signature of data.

Return Value

Type: Boolean
True if signature is valid, otherwise false.

Implements

EllipticCurve..::..Verify(array<Byte>[]()[][], array<Byte>[]()[][], array<Byte>[]()[][])

Remarks

This is the Signature Verification Operation of IEE P1363 scheme ECSSA: Elliptic Curve Signature Scheme with Appendix.

Exceptions

See Also