java.security.InvalidKeyException: Illegal key size or default parameters

pdfbox-users | Marison | 7 years ago
  1. 0

    Encrypt does not work

    pdfbox-users | 7 years ago | Marison
    java.security.InvalidKeyException: Illegal key size or default parameters
  2. 0

    Encrypt does not work

    pdfbox-users | 7 years ago | Marison
    java.security.InvalidKeyException: Illegal key size or default parameters
  3. 0

    Initialize Blowfish Key

    codeguru.com | 12 months ago
    java.security.InvalidKeyException: Illegal key size or default parameters
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting Error while decrypt a file using Blowfish algorithm

    Oracle Community | 9 years ago | 843811
    java.security.InvalidKeyException: Illegal key size or default parameters
  6. 0

    Problem with encryption - java is ignoring my classpath

    Oracle Community | 8 years ago | 843811
    java.security.InvalidKeyException: Illegal key size or default parameters

  1. Andreas Häber 16 times, last 3 weeks ago
  2. Handemelindo 2 times, last 1 month ago
  3. DannyDBag 1 times, last 3 months ago
  4. Nikolay Rybak 2 times, last 3 months ago
  5. muffinmannen 2444 times, last 6 months ago
1 more registered users
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.security.InvalidKeyException

    Illegal key size or default parameters

    at javax.crypto.Cipher.a()
  2. Android Platform
    Cipher.init
    1. javax.crypto.Cipher.a(DashoA12275)
    2. javax.crypto.Cipher.a(DashoA12275)
    3. javax.crypto.Cipher.a(DashoA12275)
    4. javax.crypto.Cipher.init(DashoA12275)
    5. javax.crypto.Cipher.init(DashoA12275)
    5 frames
  3. Apache PDFBox
    Encrypt.main
    1. org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler.computeRecipientInfo(PublicKeySecurityHandler.java:401)
    2. org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler.createDERForRecipient(PublicKeySecurityHandler.java:377)
    3. org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler.prepareDocumentForEncryption(PublicKeySecurityHandler.java:291)
    4. org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1002)
    5. org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:893)
    6. org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:874)
    7. org.apache.pdfbox.Encrypt.encrypt(Encrypt.java:189)
    8. org.apache.pdfbox.Encrypt.main(Encrypt.java:53)
    8 frames