You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/03/27 08:45:53 UTC
[jira] [Closed] (PDFBOX-2732) I am facing problem in check password
is correct.
[ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org