java.security.spec.InvalidKeySpecException: Inappropriate key specification

ykyuen.info | 9 months 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

    Java – Creating an RSA key pair in Java | Eureka!

    ykyuen.info | 9 months ago
    java.security.spec.InvalidKeySpecException: Inappropriate key specification
  2. 0

    java.security.spec.InvalidKeySpecException: Inappropriate key specification in IBM JDK AIX

    Coderanch | 4 years ago | Karthik Rajendiran
    java.security.spec.InvalidKeySpecException: Inappropriate key specification

    Root Cause Analysis

    1. java.security.spec.InvalidKeySpecException

      Inappropriate key specification

      at com.ibm.crypto.provider.RSAKeyFactory.engineGetKeySpec()
    2. com.ibm.crypto
      RSAKeyFactory.engineGetKeySpec
      1. com.ibm.crypto.provider.RSAKeyFactory.engineGetKeySpec(Unknown Source)
      1 frame
    3. Java RT
      KeyFactory.getKeySpec
      1. java.security.KeyFactory.getKeySpec(KeyFactory.java:164)
      1 frame
    4. rsaEncrypt
      CreateKeyAndCert.main
      1. rsaEncrypt.CreateKeyAndCert.main(CreateKeyAndCert.java:29)
      1 frame