CryptoSignatureVerify (FUN)

FUNCTION CryptoSignatureVerify : RTS_IEC_RESULT

Verify a recieved signature

InOut:

Scope

Name

Type

Comment

Return

CryptoSignatureVerify

RTS_IEC_RESULT

unction returns ERR_OK if the signature is valid.

Input

hAlgo

RTS_IEC_HANDLE

Handle to the algorithm.

pData

POINTER TO RtsByteString

Data to verify.

publicKey

RtsCryptoKey

Public key of the sender.

pSignature

POINTER TO RtsByteString

Received signature.