Hi Mujahed,

On Wed, 20 Aug 2014 02:56:19 -0700 (PDT)
mujahedsyed <[email protected]> wrote:
> 
> Can I ask:
> 1. in my decrypt method I tried to use OutboundXMLSec classes and
> passed the encrypted stream to processInMessage but it didn't like
> it, I think the purpose of OutboundXMLSec is to encrypt only. is this
> true? 

Yes, OutboundXMLSec is used to sign/encrypt and InboundXMLSec is used
to verify sig/decrypt.

Apart from that there is no such method
OutboundXMLSec#processInMessage() !?

> 2. Can I use OutboundXMLSec in decryption and return decrypted
> xml as baos? 

@see 1)

> 3. If I have to use only InboundXMLSec for decryption
> than how can i achieve streaming?

Regarding an OutputStream as in OutboundXMLSec#processOutMessage() but
for decryption?

Whats with 
new StAXSource(xmlSecurityStreamReader) ?

> 4. does my explanation for decryptwithstax method regarding document
> object creation and it's cause to impact performance make sense?

Yes building a w3c document gives some additional overhead of course.

@see my next emails for additional infos and answers.


Marc


> 
> I am preparing sample app will post here, thanks very much for your
> help, much appreciated.
> Regards
> Mujahed
> 
> 
> 
> --
> View this message in context:
> http://apache-xml-project.6118.n7.nabble.com/Performance-Testing-tp41389p41391.html
> Sent from the Apache XML - Security - Dev mailing list archive at
> Nabble.com.

Reply via email to