File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes WSS4J configuration - using byte[] to do encryption, signature? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "WSS4J configuration - using byte[] to do encryption, signature?" Watch "WSS4J configuration - using byte[] to do encryption, signature?" New topic
Author

WSS4J configuration - using byte[] to do encryption, signature?

Kavita Gupta
Greenhorn

Joined: May 23, 2011
Posts: 4
Hi All,

I am trying to use Axis + WSS4J to do encryption, signature on the outgoing SOAP request to a third-party service.
The trouble is that we are using an in-house secure storage for storing the public-private key pair and the third-party certificate.
There is no truststore/keystore accessible here; we can only access this through our internal service and can get the keys in a byte[] format.

Does anyone know how I can use this byte[] and feed it into WSS4J so that WSS4J can use this key to do encryption and signature?

Any help would be very much appreciated!

Thanks!

-K.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSS4J configuration - using byte[] to do encryption, signature?
 
Similar Threads
WSS in applet
XKMS question from Mikalai's note
WSS4J - using byte[] to initialize a Crypto object
How to call external service(Third party api) from Enterprise bean(Session bean)
Signature