You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/09/06 16:40:00 UTC

[jira] [Commented] (PDFBOX-4312) byte array format to pass to sign method

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

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

The .net version(s) are not supported by the Apache PDFBox team. The PDFBox source download has examples in Java on how to sign, please try implementing that in .net first. If that works, then try your own changes. I have not understood the problem, please attach your target PDF, and the code you are using, maybe I'll understand something then. "but the name of which signature is not shown" - does this mean the signature is invisible? Or that the name is missing? Or that you'd like to see text?

> byte array format to pass to sign method
> ----------------------------------------
>
>                 Key: PDFBOX-4312
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4312
>             Project: PDFBox
>          Issue Type: Wish
>          Components: .NET, PDModel, Signing
>    Affects Versions: 1.8.9
>            Reporter: bal
>            Priority: Critical
>
> 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