You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2014/09/22 11:36:34 UTC

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

     [ https://issues.apache.org/jira/browse/SANTUARIO-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved SANTUARIO-399.
-------------------------------------------
    Resolution: Fixed

> 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
>             Fix For: Java 1.5.8, Java 2.0.2
>
>         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)