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

pdfbox-users | Marison | 7 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to iferca . Or join the community to write better ones.
  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
    samebug tip
    Install Java Cryptopraphic Extention for your JDK version
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Initialize Blowfish Key

    codeguru.com | 1 year ago
    java.security.InvalidKeyException: Illegal key size or default parameters
  6. 0

    Getting Error while decrypt a file using Blowfish algorithm

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

  1. iferca 6 times, last 5 months ago
  2. Andreas Häber 16 times, last 5 months ago
  3. Handemelindo 2 times, last 6 months ago
  4. DannyDBag 1 times, last 8 months ago
  5. Nikolay Rybak 2 times, last 8 months ago
2 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