java.security.InvalidParameterException: unsupported key size: 21

openbravopos | nobody | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    New to Tina :(

    openbravopos | 1 decade ago | nobody
    java.security.InvalidParameterException: unsupported key size: 21
  2. 0

    InvalidParameterException

    openbravopos | 10 years ago | augustusalexand
    java.security.InvalidParameterException: unsupported key size: 21

    Root Cause Analysis

    1. java.security.InvalidParameterException

      unsupported key size: 21

      at gnu.javax.crypto.jce.key.SecretKeyGeneratorImpl.engineInit()
    2. gnu.javax.crypto
      SecretKeyGeneratorImpl.engineInit
      1. gnu.javax.crypto.jce.key.SecretKeyGeneratorImpl.engineInit(libgcj.so.7rh)
      1 frame
    3. Android Platform
      KeyGenerator.init
      1. javax.crypto.KeyGenerator.init(libgcj.so.7rh)
      1 frame
    4. net.adrianromero.tpv
      JPanelConfiguration$7.actionPerformed
      1. net.adrianromero.tpv.util.AltEncrypter.<init>(Unknown Source)
      2. net.adrianromero.tpv.config.JPanelConfiguration.saveProperties(Unknown Source)
      3. net.adrianromero.tpv.config.JPanelConfiguration.jbtnSaveActionPerformed(Unknown Source)
      4. net.adrianromero.tpv.config.JPanelConfiguration.access$600(Unknown Source)
      5. net.adrianromero.tpv.config.JPanelConfiguration$7.actionPerformed(Unknown Source)
      5 frames
    5. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(libgcj.so.7rh)
      2. javax.swing.AbstractButton$1.actionPerformed(libgcj.so.7rh)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(libgcj.so.7rh)
      4. javax.swing.DefaultButtonModel.setPressed(libgcj.so.7rh)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(libgcj.so.7rh)
      6. java.awt.Component.processMouseEvent(libgcj.so.7rh)
      7. java.awt.Component.processEvent(libgcj.so.7rh)
      8. java.awt.Container.processEvent(libgcj.so.7rh)
      9. java.awt.Component.dispatchEventImpl(libgcj.so.7rh)
      10. java.awt.Container.dispatchEventImpl(libgcj.so.7rh)
      11. java.awt.Component.dispatchEvent(libgcj.so.7rh)
      12. java.awt.LightweightDispatcher.handleMouseEvent(libgcj.so.7rh)
      13. java.awt.LightweightDispatcher.dispatchEvent(libgcj.so.7rh)
      14. java.awt.Container.dispatchEventImpl(libgcj.so.7rh)
      15. java.awt.Window.dispatchEventImpl(libgcj.so.7rh)
      16. java.awt.Component.dispatchEvent(libgcj.so.7rh)
      17. java.awt.EventQueue.dispatchEvent(libgcj.so.7rh)
      18. java.awt.EventDispatchThread.run(libgcj.so.7rh)
      18 frames