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/05/01 16:21:26 UTC

[jira] [Closed] (SANTUARIO-328) Streaming Signature Validation RSA test-case not working

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

Colm O hEigeartaigh closed SANTUARIO-328.
-----------------------------------------


> Streaming Signature Validation RSA test-case not working
> --------------------------------------------------------
>
>                 Key: SANTUARIO-328
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-328
>             Project: Santuario
>          Issue Type: Improvement
>      Security Level: Public(Public issues, viewable by everyone) 
>          Components: Java
>            Reporter: Colm O hEigeartaigh
>            Assignee: Marc Giger
>             Fix For: Java 2.0.0
>
>
> A Streaming Signature Validation RSA test-case is not working. See the first @Ignore'd test here:
> http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/src/test/java/org/apache/xml/security/test/stax/signature/RSASecurityTest.java?view=markup
> I get the following error:
> ests in error: 
>   test_enveloping(org.apache.xml.security.test.stax.signature.RSASecurityTest): org.apache.xml.security.stax.ext.XMLSecurityException: The signature or decryption was invalid (Digest verification failed for URI #envelopedData)
> At a guess, the namespace declarations in the reference are not being handled correctly:
> <dsig:Object Id="envelopedData" xmlns="" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><FOO xmlns="http://www.foo.org/foo">
> foo
> </FOO></dsig:Object>
> Colm.



--
This message was sent by Atlassian JIRA
(v6.2#6252)