File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes HMAC secret key in keystore 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 » Java » Web Services
Bookmark "HMAC secret key in keystore" Watch "HMAC secret key in keystore" New topic
Author

HMAC secret key in keystore

Jeroen Wolff
Greenhorn

Joined: Jun 26, 2007
Posts: 4
Hi,

I want to get HMAC working on websphere 6 for WS-Security.
In the websphere docs i read:

WebSphere Application Server Versions 6 and later support a secret key-based signature called HMAC-SHA1. If you use HMAC-SHA1, the SOAP message does not contain a binary security token. In this case, it is assumed that the key information within the message contains the key name that is used to specify the secret key within the keystore.

How can i put a secret key in a keystore? I know how to generate keys with keytool, but
for this one we (client en server) need the same secret stored in the keystore...how do i do that?

Thanks,

Jeroen Wolff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HMAC secret key in keystore
 
Similar Threads
Using a password to encrypt a file sent between two clients?
where to find HMAC-SHA 256 hash function
Criptography
Applets, SSL Sockets, and Certificates
generating security tokens in servlets