You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2008/12/30 17:46:44 UTC

[jira] Created: (PDFBOX-395) NPE on public key encryption of an unencrypted document

NPE on public key encryption of an unencrypted document
-------------------------------------------------------

                 Key: PDFBOX-395
                 URL: https://issues.apache.org/jira/browse/PDFBOX-395
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 0.7.3
            Reporter: Jukka Zitting
            Priority: Minor


While updating the TestPublicKeyEncryption test case I noticed that the PublicKeySecurityHandler fails with an NPE when one tries to use public key encryption on an unencrypted document. This is because PublicKeySecurityHandler incorrectly expects the PDDocument to already contain an encryption dictionary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PDFBOX-395) NPE on public key encryption of an unencrypted document

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved PDFBOX-395.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.0-incubator
         Assignee: Jukka Zitting

Fixed in revision 730175.

> NPE on public key encryption of an unencrypted document
> -------------------------------------------------------
>
>                 Key: PDFBOX-395
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-395
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.7.3
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.8.0-incubator
>
>
> While updating the TestPublicKeyEncryption test case I noticed that the PublicKeySecurityHandler fails with an NPE when one tries to use public key encryption on an unencrypted document. This is because PublicKeySecurityHandler incorrectly expects the PDDocument to already contain an encryption dictionary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.