You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Brent Putman (JIRA)" <ji...@apache.org> on 2014/09/20 04:12:33 UTC

[jira] [Created] (SANTUARIO-399) XMLCipher fails to declare signature namespace on xenc:EncryptionMethod/ds:DigestMethod elements

Brent Putman created SANTUARIO-399:
--------------------------------------

             Summary: XMLCipher fails to declare signature namespace on xenc:EncryptionMethod/ds:DigestMethod elements
                 Key: SANTUARIO-399
                 URL: https://issues.apache.org/jira/browse/SANTUARIO-399
             Project: Santuario
          Issue Type: Bug
          Components: Java
    Affects Versions: Java 2.0.1
            Reporter: Brent Putman
            Assignee: Colm O hEigeartaigh
         Attachments: xmlcipher-digestmethod.patch

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)