[
https://issues.apache.org/jira/browse/PDFBOX-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-2732.
-----------------------------------
Resolution: Duplicate
Duplicate of PDFBOX-2731.
> I am facing problem in check password is correct.
> -------------------------------------------------
>
> Key: PDFBOX-2732
> URL: https://issues.apache.org/jira/browse/PDFBOX-2732
> Project: PDFBox
> Issue Type: Bug
> Environment: java -version
> java version "1.6.0_27"
> Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
> Reporter: sathish kumar s
>
> I use pdfbox 1.8.8 to check the pdf password is correct or incorrect.
> I am using below code:
> pdfdocument = PDDocument.load(inss);
> StandardDecryptionMaterial dm = new StandardDecryptionMaterial("password");
> pdfdocument.openProtection(dm);
> PDFBox have any methods ?? to check password is correct is return true.
> password is incorrect return false.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]