verifySignature
const func boolean: verifySignature (in string: data,
in string: signature, in digestAlgorithm: digestAlg,
in rsaKey: decryptionKey)
-
Verify data with the RSA signature signature.
verifySignature("abcde", signature, SHA256, stdRsaKeyPair.privateKey)
- Parameters:
- data - Data which should be verified with the signature.
- signature - Signature of data.
- digestAlg - Digest algorithm to be used.
- decryptionKey - RSA key to decrypt the signature.
- Returns:
- TRUE if data could be verified with signature, FALSE otherwise.