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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: