pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: HOW-TO Question: Signing pdf document, that is already been signed.
Date Mon, 21 Dec 2015 19:21:45 GMT
Am 21.12.2015 um 20:17 schrieb Глеб Г.Г.:
> In my case I protect and then sign. This works on one signature, but fail
> on two. Looks like firs signature gets destroyed in process.

I'm surprised it even works with the first signature. Feel free to 
submit your code to PDFBOX-2729, including a PDF preferably in all its 
steps. Don't forget the password(s).

Tilman

>
> 2015-12-21 22:11 GMT+03:00 Tilman Hausherr <THausherr@t-online.de>:
>
>> Hi,
>>
>> Protect after signing - don't know how without destroying the signature(s)
>> validity; sign after protect - not yet:
>> https://issues.apache.org/jira/browse/PDFBOX-2729
>>
>> Tilman
>>
>>
>> Am 21.12.2015 um 20:06 schrieb Глеб Г.Г.:
>>
>>> By the way, is it even possible to protect with password a document that
>>> is
>>> signed twice?
>>>
>>> 2015-12-21 22:01 GMT+03:00 Глеб Г.Г. <darttyler@gmail.com>:
>>>
>>> Aw, forgive me big time! It was mine piece of code that created the issue.
>>>> I was protecting document with password and this somehow messed thing up,
>>>> even if I left passwords blank.
>>>>
>>>> 2015-12-21 21:45 GMT+03:00 Tilman Hausherr <THausherr@t-online.de>:
>>>>
>>>> Am 21.12.2015 um 19:43 schrieb Глеб Г.Г.:
>>>>> Or do I need to set specific
>>>>>> reopsitory?
>>>>>>
>>>>>> Ooops, yes, indeed:
>>>>> https://pdfbox.apache.org/2.0/getting-started.html
>>>>>
>>>>>
>>>>> |<repository> <id>ApacheSnapshot</id> <name>Apache
Repository</name>
>>>>> <url>
>>>>> https://repository.apache.org/content/groups/snapshots/</url>
>>>>> <snapshots> <enabled>true</enabled> </snapshots>
</repository>|
>>>>>
>>>>>
>>>>>
>>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message