Verification of electronic documents