Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.5.1
-
None
-
Windows XP service pack2, Axis2 1.5.4, Rampart 1.5.1, jdk 1.5_06, Apache Tomcat 5.5.17
Description
I want to encrypt each parameter of a method of a service by different algorithm.
Like,
if method is:
multiplication(int a,int b)
then
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.