I want to encrypt each parameter of a method of a service by different algorithm.
if method is:
multiplication(int a,int b)
parameter a by TripleDES
parameter b by AES256
for this I defined two asymmetric binding assertions in my services.xml and policy.xml defining algorithmsuite as Basic256 and TripleDesRas15 in those two asymmetric binding assertions respectively.
But when i run my client only one algorithm is applied over both the parameters for eg. only aes 256 is applied for both a and b which I don,t want.
So, can anybody suggest me a solution for this problem so that I can encrypt each parameter by using different algorithm.
Here I am attaching my Client Code(client.java ), Service code(Multiplication9.java) and server side policy(services.xml) and client side policy (policy.xml), keystore for client and service.