commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #8338] Signature: Impossible to re-use key


From: Michael Kaufmann
Subject: [bugs #8338] Signature: Impossible to re-use key
Date: Sat, 27 Mar 2004 17:16:06 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1) Gecko/20020826

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #8338] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8338>
Project: classpath
Submitted by: Michael Kaufmann
On: Sat 03/27/04 at 22:16

Severity:  5 - Average
Resolution:  None
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  Signature: Impossible to re-use key

Original Submission:  According to the Java API documentation, it's only 
necessary to call Signature.initVerify(...) or Signature.initSign(...) once. So 
the following command sequence is allowed:

Signature.initVerify(...);
Signature.update(...);
Signature.verify(...);
Signature.update(...);  <-- SignatureException is thrown
Signature.verify(...);

Classpath's implementations of verify(...) and sign(...) reset the key, but 
they should keep it for reuse.











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8338>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]