Utility trait to be implemented on payloads that can be signed.
Return a public key that is expected to have a matching key in the keystore, which should be used to sign the payload.
Sign the payload using the implementor’s provided public key.
Some(signature) if public key is supported.
Verify signature against payload.
Returns a bool indicating whether the signature is valid or not.