Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Java 1.5.1
-
Security Level: Public (Public issues, viewable by everyone)
-
None
-
Windows (XP, 7)
Description
When creating a signature based on a XML file (i.e. calling the method org.apache.xml.security.signature.XMLSignature.sign(Key signingKey)) the filehandle to the signed resource (the XML file) stays open after the method has finished (successfully).
I was able to track it down to the above mentioned method, but then get lost somewhere at org.apache.xml.security.signature.Reference, which seems to use a cache for resource.
Background: I want to delete the source-file after signature generation, which is not possible until the VM stops.