pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4312) Signature is not getting inserted into 00000 area
Date Thu, 01 Nov 2018 08:12:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671245#comment-16671245
] 

Tilman Hausherr commented on PDFBOX-4312:
-----------------------------------------

Sorry, I have explained all this several times now and I've really been patient.

You have two problems:
1) You need to calculate the signature from the data that you get in sign(). Just do it. Don't
take data from earlier. IT WILL NOT WORK!!1!
2) You can't use IKVM because the file random access needed for 1.8 signing is buggy.

I am now resolving this issue, the actual bug in 1.8 has been solved, the IKVM bug won't be
solved. Use a different PDF software or use java.

If you ask the same question on stackoverflow, please link to this issue.

> Signature is not getting inserted into 00000 area
> -------------------------------------------------
>
>                 Key: PDFBOX-4312
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4312
>             Project: PDFBox
>          Issue Type: Bug
>          Components: .NET, PDModel, Signing
>    Affects Versions: 1.8.9, 1.8.15
>            Reporter: bal
>            Priority: Major
>             Fix For: 1.8.17
>
>
> Hi ,
> I want to sign pdf using signature in pkcs 7 format . I am converting pkcs 7 signature
to byte array using Convert.FromBase64String method in .net . I am passing this byte array
to sign method in signature interface which gets called after calling saveincremental. My
byte array is inserting proper but the name of which signature is not shown when i open pdf.
May be my byte conversion may not proper or something else i am doing wrong. please let me
know.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message