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

XMLCipher fails to declare signature namespace on xenc:EncryptionMethod/ds:DigestMethod elements

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Java 2.0.1
    • Fix Version/s: Java 1.5.8, Java 2.0.2
    • Component/s: Java
    • Labels:
      None

      Description

      XMLCipher encryptKey generates the appropriate children of xenc:EncryptionMethod when RSA OAEP is parameterized. If an explicit digest method is used however, the resulting ds:DigestMethod child element does not have a namespace declaration for the signature namespace, so the "ds" prefix is not resolveable.

      My fix is copied from what is currently done for the xenc11:MGF element, a few lines below.

        Attachments

        1. xmlcipher-digestmethod.patch
          1.0 kB
          Brent Putman

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              putmanb@georgetown.edu Brent Putman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: