You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Vishal Mahajan <vm...@amberpoint.com> on 2005/06/20 18:55:05 UTC

Re: javax.crypto.NoSuchPaddingException: Paddding: ISO10126Padding not implemented (Websphere 5.1)

Try installing bouncy castle JCE provider in your system 
(http://www.bouncycastle.org). It would contain implementation of the 
missing algorithm.

Vishal

Benjamin.Francioni@sanofi-aventis.com wrote:

>
>
>Hello All,
>
>I use WSS4J to encrypt and sign Axis service calls. This work perfectly
>with Tomcat/Sun JDK 1.4 but with Websphere 5.1 an exception occure:
>WSDoAllSender: Encryption: error during message
>processingorg.apache.ws.security.WSSecurityException: An unsupported
>signature or encryption algorithm was used; nested exception is:
>      org.apache.xml.security.encryption.XMLEncryptionException: Paddding:
>ISO10126Padding not implemented
>I think it's because this algo isn't implemented in IBM jdk, is it???
>Is anybody knows a way to make it work?
>
>Thanks,
>
>Benjamin
>
>Here is my config file:
>
>   <requestFlow >
>    <handler name="DoSecuritySender"
>type="java:org.apache.ws.axis.security.WSDoAllSender" >
>      <parameter name="action" value="Signature Encrypt"/>
>      <parameter name="user" value="16c73ab6-b892-458f-abf5-2f875f74882e"/>
>      <parameter name="passwordCallbackClass"
>value="samples.stock.client.PWCallback"/>
>      <parameter name="signaturePropFile" value="crypto.properties" />
>      <parameter name="signatureKeyIdentifier" value="DirectReference" />
>      <parameter name="encryptionKeyIdentifier" value="X509KeyIdentifier"
>/>
>    </handler>
>    <handler type="SimpleSessionHandler"/>
>   </requestFlow >
>
>----------------------------------------------------------
>Le présent message ainsi que ses éventuelles pièces jointes est
>exclusivement destiné au(x) destinataire(s), personnes physiques ou
>morales, qu'il désigne.
>Il constitue de ce fait une correspondance à caractère privé et peut
>contenir des informations confidentielles.
>Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser
>immédiatement l'expéditeur par retour de courrier électronique puis de le
>détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de
>copie.
>
>
>This message, including any attachment, is intended for the use of the
>individual or entity to which it is addressed.
>It is therefore to be considered as a private correspondence which may
>contain confidential information.
>If you are not the intended recipient, please advise the sender immediately
>by reply e.mail and delete this message and any attachment thereto without
>retaining a copy.
>----------------------------------------------------------
>
>
>  
>