Shahid Ghafoor
Shahid Ghafoor

Reputation: 3103

PdfBox showing certified by instead of signed by in digital signature

I have put digital signature via Pdf Box using this example

I digitally sign a pdf twice.

enter image description here

It should show first time Re.1. Signed By My SSL Certificate

any update ?

Upvotes: 1

Views: 309

Answers (1)

Tilman Hausherr
Tilman Hausherr

Reputation: 18851

Remove this segment from your code:

    // Optional: certify 
    if (accessPermissions == 0)
    {
        SigUtils.setMDPPermission(document, signature, 2);
    }

That's the part that makes it a certification.

Upvotes: 1

Related Questions