org.bouncycastle.cms.CMSException: key > inappropriate for algorithm. at org.bouncycastle.mail.smime.SMIMEEnvelopedGenerator > $ContentEncryptor.write(Unknown Source) at > org.bouncycastle.mail.smime.handlers.PKCS7ContentHandler.writeTo(Unknown Source) at > javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:839)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Bouncy Castle - Dev - Key Inappropriate for algorithm
    via by Unknown author,
    • org.bouncycastle.cms.CMSException: key > inappropriate for algorithm. at org.bouncycastle.mail.smime.SMIMEEnvelopedGenerator > $ContentEncryptor.write(Unknown Source) at > org.bouncycastle.mail.smime.handlers.PKCS7ContentHandler.writeTo(Unknown Source) at > javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:839) at javax.activation.DataHandler.writeTo(DataHandler.java:295)
    No Bugmate found.