This PR adds the ability to access the isEncrypted value from Poppler. This value is true if the PDF is password-protected, and false otherwise.
This is especially useful for us at Lob. If a PDF is password protected, we have no way to render it onto a piece of mail in our Print and Mail API, so we must reject it.
I'm very open to feedback, so please let me know what I can do to help get this merged and published.
This PR adds the ability to access the
isEncrypted
value from Poppler. This value is true if the PDF is password-protected, and false otherwise.This is especially useful for us at Lob. If a PDF is password protected, we have no way to render it onto a piece of mail in our Print and Mail API, so we must reject it.
I'm very open to feedback, so please let me know what I can do to help get this merged and published.