org.bouncycastle.cms.CMSStreamException

key inappropriate for signature. at org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream. close(Unknown Source) at org.bouncycastle.mail.smime.SMIMESignedGenerator$ContentSigner.write(Unknown Source)

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via by Unknown author,
  • Stack trace

    • org.bouncycastle.cms.CMSStreamException: key inappropriate for signature. at org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream. close(Unknown Source) at org.bouncycastle.mail.smime.SMIMESignedGenerator$ContentSigner.write(Unknown Source) at org.bouncycastle.mail.smime.handlers.PKCS7ContentHandler.writeTo(UnknownSource) at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869) at javax.activation.DataHandler.writeTo(DataHandler.java:302) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1383) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:852)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.