Is there any way to look or log signed message through camel - crypto
component.

I am digitally signing message like below

.to("crypto:sign://rsa?algorithm=SHA1withRSA") which uses 

context.getEndpoint("crypto:sign://rsa?algorithm=SHA1withRSA",
DigitalSignatureEndpoint.class).setPrivateKey(privateKey);
context.getEndpoint("crypto:verify://rsa?algorithm=SHA1withRSA",
DigitalSignatureEndpoint.class).setPublicKey(publicKey);

1. I would like to see what signature got added in message header to verify
if it's correct.

2. I am doing .to("crypto:verify//rsa?algorithm=SHA1withRSA") which is
failing with /Cannot verify signature as no Public Key or Certificate has
been supplied/ anyway 
If message got signed in (crypto:sign) then there should be way to log that
in console.

So Any suggestions?

Thanks appreciate your ime.



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-view-the-crypto-signed-messages-tp5764461.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to