docs: def validate_aead(self, nonce, key_handle, aead, cleartext):
          """
          Validate the contents of an AEAD using the YubiHSM. The matching is done
          inside the YubiHSM so the contents of the AEAD is never exposed (well,
          except indirectionally when the cleartext does match).
  
          The cleartext should naturally be of the same length as the AEAD minus
          the size of the MAC (8 bytes).
  
          @param nonce: The nonce used when creating the AEAD
          @param key_handle: The key handle that can decrypt the AEAD
          @param aead: AEAD containing the cryptographic key and permission flags
          @param cleartext: The presumed cleartext of the AEAD
          @type nonce: string
          @type key_handle: integer or string
          @type aead: L{YHSM_GeneratedAEAD} or string
          @type cleartext: string
  
          @returns: Whether or not the cleartext matches the contents of the AEAD.
          @rtype: bool
  
          @see: L{pyhsm.aead_cmd.YHSM_Cmd_AEAD_Decrypt_Cmp}
          """
          return pyhsm.aead_cmd.YHSM_Cmd_AEAD_Decrypt_Cmp(self.stick, nonce, key_handle, aead, cleartext).execute()