You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2012/07/16 16:10:35 UTC
[jira] [Created] (WSS-397) Streaming Signature Validation RSA
test-case not working
Colm O hEigeartaigh created WSS-397:
---------------------------------------
Summary: Streaming Signature Validation RSA test-case not working
Key: WSS-397
URL: https://issues.apache.org/jira/browse/WSS-397
Project: WSS4J
Issue Type: Improvement
Reporter: Colm O hEigeartaigh
Assignee: Marc Giger
Fix For: 2.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org