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

Use requested SecureRandom for OAEP in XMLCipher.encryptKey

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java 2.1.2
    • Java 2.1.3
    • Java
    • None

    Description

      There is currently no mechanism to tell XMLCipher.encryptKey() which SecureRandom to use for the random generation within OAEP, so the Sun RNG is used.

      To make this configurable, one could pass the SecureRandom algorithm to getProviderInstance, and encryptKey could use the requestedJCEProvider to create a SecureRandom instance. Alternatively, add an optional secureRandom parameter to encryptKey.

       

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            stevemit Steve Mitchell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: