Message Recovery Order of Operations for Verifying

The order of operations for verifying is as follows

  1. The user initializes the signature object with signature at the very beginning so it can get the recoverable data at the earliest.
  2. The user invokes a combination of the update and verify methods to verify the signature based on the message data provided by the user.
  3. The verify method verifies the signature by comparing the accumulated hash with the hash in the message representative recovered during initialization.