santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Mullan <Sean.Mul...@Sun.COM>
Subject Re: Error message signing external content as FileInputStream
Date Thu, 08 Sep 2005 16:08:35 GMT
Try using the 1.3 RC jar. Should be fixed.


Hess Yvan wrote:
> Hi,
> 
> I sign a XML document having an external content using java version 
> 1.2.1. I pass the external content as a FileInputStream into the 
> XMLSignatureInput constructor and I got on the error console the 
> following message "Mark Suported but not used as reset". I checked the 
> source code and I saw the following instruction into the method 
> XMLSignatureInput.getResetableInputStream() that generates this error 
> message and then the inputstream is converted into bytes.
> 
> if (_inputOctetStreamProxy.markSupported())
> {
>    System.err.println("Mark Suported but not used as reset");
> }
> bytes=JavaUtils.getBytesFromStream(_inputOctetStreamProxy);
> 
> Can somebody explain me why it is like that ? Why an error message is 
> displayed ? Is it better to use a ByteArrayInputStream and in this case 
> what about memory usage ?
> 
> Regards. Yvan Hess
> 
> 


Mime
View raw message