title: org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters
body: <p><strong>Hi when i am trying to add securement Encryption Sym Algorithm in spring ws configuration it is giving following exception</strong> :</p>
  
  <pre><code>Caused by: org.apache.ws.security.WSSecurityException: Cannot encrypt data; nested exception is: 
      org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters
  Original Exception was java.security.InvalidKeyException: Illegal key size or default parameters
      at org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:599)
      at org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:459)
      at org.apache.ws.security.message.WSSecEncrypt.encryptForInternalRef(WSSecEncrypt.java:348)
      at org.apache.ws.security.message.WSSecEncrypt.build(WSSecEncrypt.java:309)
      at org.apache.ws.security.action.EncryptionAction.execute(EncryptionAction.java:62)
      ... 20 more
  Caused by: org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters
  Original Exception was java.security.InvalidKeyException: Illegal key size or default parameters
      at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown Source)
      at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown Source)
      at org.apache.xml.security.encryption.XMLCipher.encryptElement(Unknown Source)
      at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown Source)
      at org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:593)
      ... 24 more
  </code></pre>