Sign and verify a pdf document