Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via nabble.com by Unknown author, 1 year ago
key inappropriate for signature. at org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream. close(Unknown Source) at org.bouncycastle.mail.smime.SMIMESignedGenerator$ContentSigner.write(Unknown Source)
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)