Returns whether digital signature is valid.
Signing algorithm and parameters
A PEM-encoded public key or X.509 certificate
Signature to verify
Input data that was signed
Will throw an error if the key is not compatible with the signing algorithm or if an unknown algorithm is used.
Returns whether digital signature is valid.