Sign PDFs in webapplication using smartcards