On Wed, 20 Aug 2014 04:15:29 -0700 (PDT) mujahedsyed <[email protected]> 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.
