You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2015/06/03 22:40:39 UTC

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

Zoran Regvart created SANTUARIO-421:
---------------------------------------

             Summary: 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


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)