I want to sign a PDF file with an eID card (essentially a smartcard), preferably in python.
I accomplished to have a signed hash of the file, but I can't find out how to embed this hash with the PDF file; and I presume the certificate will also need to be embedded?
Can you point me to some usable libraries or samples?