Time-stamping services -- Part 1: Framework