Hello Team,
I want to encrypt and decrypt a specific field from incoming request using RSA in java call out policy.
I referred this link https://github.com/DinoChiesa/ApigeeEdge-CustomPolicy-RsaCrypto. But here entire payload is encrypted and decrypted. Can any one explain in detail how to add properties in java call out policy and how we can generate that jar by defining those properties in java class.
Please help me on this.
Thank you.
Solved! Go to Solution.
Hi,
There seem to be two questions involved in this so I try to split this:
1. The JavaCallout encrypts/decrypts the entire message? Yes, because the default value for the `source` property is `message.content`. You could change that. Please see the properties table in the Readme.
2. How to add properties in a java callout and create the jar? https://docs.apigee.com/api-platform/samples/cookbook/how-use-properties-java-callout