ICEpdf
  1. ICEpdf
  2. PDF-980

Make the Bouncy castle library optional for the core libriary.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.1.1
    • Component/s: API, Core/Parsing, Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description

      ICEpdf 6.1 introduced support for digital signature validation. The Viewer RI has been heavily modified to show how this new feature is to be used. However the core api doesn't actually need runtime support for this feature. The SignatureHandler class loads the Bouncy CastleProvide and adds it to the Java Security provider.

      This process could be done reflectively so the core library can run without Bouncy if signature validation isn't needed. However the Viewer RI will still require the Bouncy jars.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.1.1 [ 12975 ]
        Hide
        Patrick Corless added a comment -

        Used a similar method to what we do in the SecurityManager class. Basically we try and load the provider reflectively and log any errors along the way.

        Compilation still requires bouncy but run time will be OK as long as signature validation is not performed.

        Show
        Patrick Corless added a comment - Used a similar method to what we do in the SecurityManager class. Basically we try and load the provider reflectively and log any errors along the way. Compilation still requires bouncy but run time will be OK as long as signature validation is not performed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48539 Tue Mar 22 10:24:30 MDT 2016 patrick.corless PDF-980 bouncy castle security provider no registered via a reflecctive call.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/acroform/SignatureHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48540 Tue Mar 22 10:24:39 MDT 2016 patrick.corless PDF-980 bouncy castle security provider no registered via a reflecctive call.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/SignatureHandler.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: