[ 
https://issues.apache.org/jira/browse/RAMPART-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002913#comment-13002913
 ] 

Abhinav Mishra commented on RAMPART-328:
----------------------------------------

Hi Amila,

Actually, I don't know much about WS-I. Here I am using just two asymmetric 
binding assertion in service side policy and client side policy to specify the 
algorithms to be used for encrypting my two parameters,
Is it wrong according to WS-I? 
According to WS-SecurityPolicyV1.0 I can specify two algorithms for encrypting 
those two parameters only through AlgorithmSuite Assertion which I think 
requires two asymmetric binding assertions.

Could please let me know if there is any other way of doing so?

Thanks,
Abhinav 

> In single service policy if I use two asymmetric binding two apply encryption 
> algorithm for each parameter of a method like multiply multiply(int a, int b) 
> then only single algorithm is applied .
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAMPART-328
>                 URL: https://issues.apache.org/jira/browse/RAMPART-328
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core, rampart-policy
>    Affects Versions: 1.5.1
>         Environment: Windows XP service pack2, Axis2 1.5.4, Rampart 1.5.1, 
> jdk 1.5_06, Apache Tomcat 5.5.17
>            Reporter: Abhinav Mishra
>              Labels: security
>             Fix For: 1.5.1
>
>         Attachments: Client.java, Multiplication9.aar, Multiplication9.java, 
> PWCBHandler.java, RequestResponseLog.txt, client.jks, policy.xml, 
> service.jks, services.xml
>
>   Original Estimate: 672h
>  Remaining Estimate: 672h
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to