Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-310

Implement KeyResolvers for PrivateKeys and SecretKeys

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java 1.5.1
    • Java 1.5.2
    • None
    • Security Level: Public (Public issues, viewable by everyone)
    • None

    Description

      The built-in KeyResolvers can resolve PubicKeys by searching through the StorageResolvers. They cannot resolve private or secret keys because the StorageResolvers can only iterate certificates. I proposed to extend StorageResolverSpi or invent a new kind of storage class but the project lead prefers to rely on custom KeyResolvers.

      This patch implements KeyResolvers for private and secret keys for some common cases. These resolvers take their storage on the constructor. This means they cannot be used as static resolvers (because that requires a default constructor). The user must register the new resolvers explicitly as internal key resolvers.

      Attachments

        1. santuario-310.zip
          8 kB
          Clement Pellerin

        Activity

          People

            coheigea Colm O hEigeartaigh
            clement_pellerin@ibi.com Clement Pellerin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: