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 2015/07/14 11:42:05 UTC

[jira] [Closed] (SANTUARIO-421) Use of algorithm from given parameter not field

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

Colm O hEigeartaigh closed SANTUARIO-421.
-----------------------------------------

> Use of algorithm from given parameter not field 
> ------------------------------------------------
>
>                 Key: SANTUARIO-421
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-421
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.5.9
>         Environment: Any
>            Reporter: Zoran Regvart
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.5.9, Java 2.0.5
>
>
> XMLCipher.decryptToByteArray uses algorithm from instance field not the given element argument. XMLCipher can be initialised without algorithm, in that case algorithm field remains to be null. With algorithm field null proper selection of algorithm parameters (e.g. when using GCM mode) is not performed.
> I've created a pull request on GitHub at:
> https://github.com/apache/santuario-java/pull/1



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