Al parecer este si tiene un api compatible con lenguajes de scripting como
python, ruby, php
http://www.kryptokoder.com/signwithext.html

import mypdfsigner

originalPDF = "/tmp/test.pdf"
signedPDF = "/tmp/test-signed.pdf"
location = "Chicago"
reason = "Testing"
password = "" #   if not empty signed PDF will be encrypted too
certify = True
visible = True
title = "Signing with MyPDFSigner"
author = "KryptoKoder"
subject = "Python Extension"
keywords = "KryptoKoder, MyPDFSigner, PKCS#12, PKCS#11, PDF"
confFile = ""   # defaults to /usr/local/mypdfsigner/mypdfsigner.conf if empty
timestamp = True

print mypdfsigner.sign(originalPDF, signedPDF, location, reason, password,
    certify, visible, title, author, subject, keywords, confFile, timestamp)

ltvedPDF = "/tmp/test-signed-ltved.pdf"

print mypdfsigner.addltv(signedPDF, ltvedPDF, confFile)



2016-07-12 15:39 GMT-05:00 miguel zamora m. <mzmp...@gmail.com>:

> Estimados
>
>
> Tengo una aplicacion que genera pdf con tcpdf con php y me gustaria acudir
> a ustedes
>
> para ver si me pueden dar una mano para poder firmar estos documentos con
> un certificado digital (self).  en python,  por algun motivo no he podido
> encontrar como hacerlo con python...
>
>
> Si me pudieran ayudar con unos link o informacion que me pueda llevar a
> terminar este tema.
>
> esto es para un trabajo de la universidad.
>
> de ante mano muchas gracias...
>
>
>
>
> _______________________________________________
> Python-es mailing list
> Python-es@python.org
> https://mail.python.org/mailman/listinfo/python-es
> FAQ: http://python-es-faq.wikidot.com/
>
>


-- 
Alexandro Colorado
Apache OpenOffice Contributor
9060 55AB FFD2 2F02 0E1A  3409 599C 14FC 9450 D3CF
_______________________________________________
Python-es mailing list
Python-es@python.org
https://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/

Responder a