RSA transformation string can be externalized when creating Cipher Instance
---------------------------------------------------------------------------

                 Key: WSS-63
                 URL: http://issues.apache.org/jira/browse/WSS-63
             Project: WSS4J
          Issue Type: Improvement
            Reporter: Muthiah Mohan
         Assigned To: Davanum Srinivas


WSS4J tries to create the Cipher Instance using the transformation String 
RSA/NONE/PKCS1PADDING
I am not using Bouncy Castle as a JCE Provider and I have my own Security 
Provider that does not
understand the Cipher Mode "NONE" but works fine with "ECB" as the Cipher Mode. 
. It would be really 
great if we do not hardcode this transformation string and take it from a 
System Property. If the 
value of the System Property is NULL then the default transformation 
(RSA/NONE/PKCS1PADDING) can be 
used. In my case I need to set the transformation string as 
RSA/ECB/PKCS1Padding.
This needs a change to the "getCipherInstance" method of 
org/apache/ws/security/util/WSSecurityUtil.java


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to