Andrew,

You could set a parameter WSHandlerConstants.SIG_KEY_ID to "DirectReference" in deplyoment file. This would attach the cetificate as Binary data in the soap message.

Cheers,

Ashok.

Andrew Kinard wrote:

Hello All,

I have a project in which I would like to send a signed message to a client and include a cert in the SOAP header. Basically, I have a need to verify the identity of the sender without keeping a local keystore. I have used WSS4J for sending a signed message, but have not found any documentation on including the cert in the SOAP header, which I think is covered by the XML-Signature spec.

Does anyone have any information on how I might do this?

Regards,
Andrew Kinard
AK;-)



Reply via email to