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 2014/10/27 19:25:34 UTC

[jira] [Commented] (PDFBOX-2460) fix TestPublicKeyEncryption.java

    [ https://issues.apache.org/jira/browse/PDFBOX-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185556#comment-14185556 ] 

Tilman Hausherr commented on PDFBOX-2460:
-----------------------------------------

Could you please explain
- where did you get the idea for the changes in PublicKeySecurityHandler / explain what it improves / fixes?
- isn't it risky to call match() with materialCert == null? Are you sure that this won't return true?
- what is the purpose of the second patch / why does the test not work without it?

> fix TestPublicKeyEncryption.java
> --------------------------------
>
>                 Key: PDFBOX-2460
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2460
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.0
>         Environment: java7 , deb7
>            Reporter: Ralf Hauser
>         Attachments: patch2460Decryption.txt, patch2460PublicKeyTestCase.txt
>
>
> as reported by Tilman in PDFBOX-2456



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)