Verifies a signed message and returns the payload it carries.
Returns null when the message is too short to hold a signature, was altered, or was signed by a different device, and throws only when the key is the wrong length.
null
Verifies a signed message and returns the payload it carries.
Returns
nullwhen the message is too short to hold a signature, was altered, or was signed by a different device, and throws only when the key is the wrong length.