verify-signature()
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
; list of supported algorithms). It returns true
if the signature could be verified, false
otherwise.
Example
See also
Last updated