santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 44335] can't validate after invalid validation
Date Tue, 09 Jun 2009 11:58:01 GMT

--- Comment #5 from coheigea <>  2009-06-09 04:57:56 PST ---
Created an attachment (id=23779)
 --> (
A patch for this issue

See attached for a patch for this issue.

I added in two new methods to SignatureAction, one to clear the signature
caches, and one to clear the verification caches.

The initializing code in XMLSignature for signing and verification is now
wrapped in a try/catch that calls the corresponding cache clearing method in
SignatureAction on an error, before throwing the exception. So if there's an
error here, the Signature "state" is reset before the next attempt and there
won't be a problem with a subsequent verification as per the bug.

I've tested it with the submitted test-case and it works fine.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message