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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java 2.0.1
    • Java 1.5.8, Java 2.0.2
    • Java
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: