Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Kavita Gupta
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic