Inside the legalities of digital signatures