santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41520] - Cannot generate signatures with the same key but different algorithms in sucession
Date Fri, 02 Feb 2007 10:48:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41520>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41520





------- Additional Comments From lijun.liao@gmail.com  2007-02-02 02:48 -------
There is the same problem if you try to verify two signatures with the same
public key but with different signature algorithms. 
[1]   public void initVerify(Key verificationKey) throws XMLSignatureException {
[2]	   initializeAlgorithm(false);
[3]	   if (keysVerify.get()==verificationKey) {
[4]    	   return;
[5]       }
[6]	   keysVerify.set(verificationKey);
[7]	   this._signatureAlgorithm.engineInitVerify(verificationKey);
[8]   }

The the code in lines 3-5 should be commented to solve the problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message