'Does Apache Camel support digital signatures as HMAC using shared secret?

While building a message listener using Apache Camel, there is a requirement to verify the message for integrity using digital signatures.

The message producer signs the message using a shared secret and the listener is expected to verify the signature by recomputing the hash using the shared secret.

Apache Camel Crypto components seem to mandate encryption using Public/Private Key pairs but is there an option simply with shared secret instead? If so, how to configure?

HMAC: https://en.wikipedia.org/wiki/HMAC



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source