I have a user with a PKI card connected to the computer. In the application, after he uploads a pdf to the database I would have to sign the document with users digital certificate. Has anyone done something similar?