ok... sorry I can't help further. Maybe it's best to ask on stackoverflow. Use a label for bouncycastle and include all, i.e. code, links to PDF files and the image.

Tilman





Am 25.05.2017 um 12:42 schrieb Paresh Chouhan:
oh I cannot attach the image, see my work flow is something like this http://i64.tinypic.com/29v02u.png so I am doing the signing on the client and reattaching the signed hash that I receive from client.

On Thu, May 25, 2017 at 4:09 PM Paresh Chouhan <[email protected] <mailto:[email protected]>> wrote:

    On Thu, May 25, 2017 at 3:13 PM Tilman Hausherr
    <[email protected] <mailto:[email protected]>> wrote:

        Am 25.05.2017 um 08:22 schrieb Paresh Chouhan:
        > Original PDF : https://www.mediafire.com/?bg9z4c9450v01io
        > Signed PDF : https://www.mediafire.com/?fqvnf9mg50pfzjh

        Thanks... I wanted to see the files first because I'm lazy and
        had hoped
        it's some obvious problem in the PDF itself, but it isn't. So
        I looked
        at your code... the signing is quite different than in our
        example, why
        is this so? The "CreateSignatureBase" class has the code to
        produce the
        signature.

        That you mention a HSM isn't really relevant... At work, I'm
        signing
        with a PKI card and all I had to change was getting the keystore.

        Tilman

        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [email protected]
        <mailto:[email protected]>
        For additional commands, e-mail: [email protected]
        <mailto:[email protected]>

        workflow.png

-- Regards
    Paresh Chouhan
    https://github.com/pareshchouhan

--
Regards
Paresh Chouhan
https://github.com/pareshchouhan


Reply via email to