santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Giger <gi...@apache.org>
Subject Re: Performance Testing
Date Thu, 21 Aug 2014 19:14:11 GMT
On Wed, 20 Aug 2014 04:15:29 -0700 (PDT)
mujahedsyed <msyed1983@gmail.com> wrote:

> UPDATE:
> 
> After reviewing code this morning I found the most time consuming
> operation and it is this statement:
> 
> 
> 
> It takes around 20 secs, decryption is fast. so, I am investigating
> how I can get ByteArrayOutputStream with XMLStreamReader, not sure if
> this is possible but I referred to API's and there doesn't seems to
> be any helper method. is there a way around this - i mean how can i
> return the decrypted xmlstreamreader as a string? appreciate your
> help! Thanks
> Mujahed


As mentioned in the previous email:

transformer.tranform(new StAXSource(xmlSecurityStreamReader), new
StreamResult(...));

for example...

> 
> 
> 
> --
> View this message in context:
> http://apache-xml-project.6118.n7.nabble.com/Performance-Testing-tp41389p41392.html
> Sent from the Apache XML - Security - Dev mailing list archive at
> Nabble.com.


Mime
View raw message