You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by Ofelia Tindea <of...@googlemail.com> on 2006/05/18 17:25:32 UTC

Decrypting with WSS4j

Hi,

I'm trying to encrypt / decrypt SOAP messages with wss4j. Encryption
is simple, I used WSEncryptBody. For decryption, as far as I
understand I should use WSSecurityEngine.processSecurityHeader.

Could anyone give me some sample on decrypting a SOAP message that was
encrypted using EncryptBody? I was unable to find some.

Thanx!

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Decrypting with WSS4j

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi,

Please have a look at the test cases available in the test/wssec/ dir
of wss4j trunk [1]

Please note that the WSEncryptBody is not refactored in to
org.apache.ws.security.message.WSSecEncrypt

Thanks,
Ruchith

[1] http://svn.apache.org/repos/asf/webservices/wss4j/trunk/

On 5/18/06, Ofelia Tindea <of...@googlemail.com> wrote:
> Hi,
>
> I'm trying to encrypt / decrypt SOAP messages with wss4j. Encryption
> is simple, I used WSEncryptBody. For decryption, as far as I
> understand I should use WSSecurityEngine.processSecurityHeader.
>
> Could anyone give me some sample on decrypting a SOAP message that was
> encrypted using EncryptBody? I was unable to find some.
>
> Thanx!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Decrypting with WSS4j

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi,

Please have a look at the test cases available in the test/wssec/ dir
of wss4j trunk [1]

Please note that the WSEncryptBody is not refactored in to
org.apache.ws.security.message.WSSecEncrypt

Thanks,
Ruchith

[1] http://svn.apache.org/repos/asf/webservices/wss4j/trunk/

On 5/18/06, Ofelia Tindea <of...@googlemail.com> wrote:
> Hi,
>
> I'm trying to encrypt / decrypt SOAP messages with wss4j. Encryption
> is simple, I used WSEncryptBody. For decryption, as far as I
> understand I should use WSSecurityEngine.processSecurityHeader.
>
> Could anyone give me some sample on decrypting a SOAP message that was
> encrypted using EncryptBody? I was unable to find some.
>
> Thanx!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org