verify-signature()
Last updated
Was this helpful?
Last updated
Was this helpful?
The verify-signature
function verifies a given Base64-encoded signature
for the given data
using the given public_key
(in PEM format, with or without boundaries). The optional parameter algorithm
is the signing algorithm (the default is SHA256
; ). It returns true
if the signature could be verified, false
otherwise.