hey all,

I'am new to Santuario, but there is may be an improvement about memory usage
in XMLSignatureInput file to reduce memory usage :
I can see in source XMLSignatureInput code :
"if (_inputOctetStreamProxy instanceof FileInputStream) {"
But il may be replaced by :
"if (_inputOctetStreamProxy.markSupported()) {"
This modification avoids ByteArrayInputStream usuage in some cases : if we
verify a signature on a non FileInputStream but "resatable" actual code use
ByteArrayInputStream...
I can give you real world cases if needed.

Best regards

Charles BOSQUET (FRANCE...sorry for my english)

Reply via email to