java.security.InvalidParameterException: unsupported key size: 21

openbravopos | augustusalexand | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    InvalidParameterException

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

    New to Tina :(

    openbravopos | 1 decade ago | nobody
    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$1.actionPerformed
      1. net.adrianromero.tpv.util.AltEncrypter.<init>(Unknown Source)
      2. net.adrianromero.tpv.config.JPanelConfigDatabase.saveProperties(Unknown Source)
      3. net.adrianromero.tpv.config.JPanelConfiguration.saveProperties(Unknown Source)
      4. net.adrianromero.tpv.config.JPanelConfiguration.jbtnSaveActionPerformed(Unknown Source)
      5. net.adrianromero.tpv.config.JPanelConfiguration.access$000(Unknown Source)
      6. net.adrianromero.tpv.config.JPanelConfiguration$1.actionPerformed(Unknown Source)
      6 frames
    5. Java RT
      Component.processMouseEvent
      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)
      6 frames