How can i change Hash Algorithm from SHA1 to SHA256 on openPDF 1.4.1 #1233
Replies: 1 comment
-
Yes, you can change the hash algorithm from SHA-1 to SHA-256 in OpenPDF 1.4.1 when signing PDFs. By default, the method SolutionReplace this line in your code: appearance.setCrypto(privateKey, certChain, null, PdfSignatureAppearance.WINCER_SIGNED); with this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can I change Hash Algorithm from SHA1 to SHA256 when signing PDF files on openPDF version 1.4.1?
Here is my code:
Beta Was this translation helpful? Give feedback.
All reactions