Am 19.10.2016 um 14:44 schrieb Damien Butaye:
Diego,
https://www.wetransfer.com/downloads/b53c2e61914a1d02d63ff0b631b75e5520161019123905/77df7c04ee02aa478962d2ef2d33f8f120161019123905/160cb1
The sign_me.pdf is the orginal file and the out.pdf is the certified pdf.
As my certificate is a self
Great!
The problema was
doc.save(...)
Now the PDF is certified.
I would like to be LTV also.
What are the things that make a signature LTV ?
Thank you Damien and Diego!
On Wed, Oct 19, 2016 at 6:09 PM, Damien Butaye
wrote:
> Hello Jonathan,
>
> Try also to use
Hello Jonathan,
Try also to use doc.saveIncremental(out) instead of doc.save(out)
Le 19 oct. 2016 23:01, "Diego Azevedo" a écrit :
> Hello Jonathan,
>
> After 'dictionary.setItem("Reference", references);' line, add:
>
> //Create Permissions Dictionary
> COSDictionary
Hello Jonathan,
After 'dictionary.setItem("Reference", references);' line, add:
//Create Permissions Dictionary
COSDictionary permissions = new COSDictionary();
permissions.setItem("DocMDP", signature);
//Add Permissions to Catalog
COSDictionary catalog =
Hi,
I have tried to certify a PDF with the provided code, but failed. This is
the code I'm trying
final PrivateKey privateKey = ...
final Certificate certificate = ...
PDDocument doc = PDDocument.load(input);
// PDSignature
PDSignature signature = new PDSignature();
Ok, I searched for "DocMDP" on ISO 32000 and found this:
* On a 'Signature Field Dictionary', one *could *have a 'Seed Value
Dictionary' with a 'MDP entry'
o This entry *shall *have a dictionary with only one entry: 'P'
and a integer value <0-3>:
+ 0 - Author Signature
Diego,
https://www.wetransfer.com/downloads/b53c2e61914a1d02d63ff0b631b75e5520161019123905/77df7c04ee02aa478962d2ef2d33f8f120161019123905/160cb1
The sign_me.pdf is the orginal file and the out.pdf is the certified pdf.
As my certificate is a self signed certificate, I had to trust it before to
Damien,
Can you upload a correctly certified PDF somewhere and share the link?
Wîth the original one, if possible?
I'll try to mimic the behavior.
[]'s
Diego Azevedo
On 19/10/2016 07:10, Damien Butaye wrote:
In some Java code of different PDF Signatue framework, I saw the use of the
In some Java code of different PDF Signatue framework, I saw the use of the
"Perms" dictionnary to certify PDF. Do you have any idea if the "Perms" can
help to see the blue ribbon?
2016-10-19 10:48 GMT+02:00 Damien Butaye :
> Yes but in my case my certificate has the
Yes but in my case my certificate has the authorization to certify document
(the cross is green beside the "Certify Document" in your previous
printscreen).
I wonder me if another information must be present in the PDF to show the
blue ribbon?!
2016-10-18 17:40 GMT+02:00 Diego Azevedo
No, but in my case it would never happen, because my certificate is
trusted for signing, but not certifying:
Image: http://imgur.com/XYZCB8H
[]'s
Diego Azevedo
On 18/10/2016 13:30, Damien Butaye wrote:
One last question, have you got the "blue ribbon" on the top the pdf
when you open it
One last question, have you got the "blue ribbon" on the top the pdf when
you open it with Acrobat? In my case not, although it is well certified as
shown in the Acrobat Signature Panel.
2016-10-18 15:58 GMT+02:00 Damien Butaye :
> Nice! Thank you very much!
>
> (Btw,
Nice! Thank you very much!
(Btw, it could be nice to integrate in a future release a method certify()
in the PDSignature object).
obrigado!
2016-10-18 15:42 GMT+02:00 Diego Azevedo :
> Hello Damien,
>
> I made a typo:
>
> dictionary.setItem("Reference", reference*s*); //
Hello Damien,
I made a typo:
dictionary.setItem("Reference", reference_*s*_); // Add Array to
Signature dictionary
There is no point in creating the array, add the "SigRef" dictionary to
it... and not use the array on the "Sig" dictionary. So... just add the
'S' to the variable and
From what I'm reading on ISO 32000, the certification Signature is a
normal signature, but with a DocMDP transform method. So the ou should
do something like this:
PDSignature signature = new PDSignature;
[..] //do your thing
COSDictinary dictionary = signature.getCOSObject();
Hello Tilman,
Here follows two links explaining the difference :
1. http://www.investintech.com/resources/articles/certifyingsigningpdf/
2.
http://stackoverflow.com/questions/16710439/how-to-add-blank-page-in-digitally-signed-pdf-using-java/16711745#16711745
Damien.
2016-10-18 8:49
Dear all,
I'm looking for a solution to certify a PDF. Currently I'm able to sign a
PDF using PDFBox but I can't certify it. Is-it possible to do it with
PDFBox?
Thank you for your help!
What's the difference? (See my other answer from today)
Tilman
Dear all,
I'm looking for a solution to certify a PDF. Currently I'm able to sign a
PDF using PDFBox but I can't certify it. Is-it possible to do it with
PDFBox?
Thank you for your help!
18 matches
Mail list logo