org.openas2.WrappedException: java.lang.SecurityException: Unsupported keysize or algorithm parameters

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 openas2 by cbwilliamsva
, 1 year ago
java.lang.SecurityException: Unsupported keysize or algorithm parameters
via openas2 by beardedmonkey
, 1 year ago
java.security.NoSuchAlgorithmException: Unknown algorithm: sha256
via openas2 by ftumsh
, 1 year ago
java.security.NoSuchAlgorithmException: Algorithm is null
via openas2 by victoria_wild
, 1 year ago
  Signature Algorithm: SHA1WithRSAEncryption          Signature: d6452ea777e9159882d6819272aae2af99ed38f2                     be526aa134aa63a46d84e66bf0a6f712a45654a8                     f108a47b765acd364720d2ebe47b0530e6961830
via openas2 by sandeep4358
, 1 year ago
exponent: 10001 Signature Algorithm: SHA1WithRSAEncryption Signature: c3b0ccbe55c7fe80ee17a169d5eea89960a849a5 3a946c76eba80fdb8ae6cc10044d6de3f8411548
via openas2 by smchin
, 1 year ago
Algorithm: SHA1WithRSAEncryption          Signature: 6f1ae4daf22d5cb479ddac4ee5a2f9190e7cd1fb                     89f5632e0f2822b7997e4821e6cdb04170766856                     53c85da0dde9e3098f57d139f0212566a46b9420
org.openas2.WrappedException: java.lang.SecurityException: Unsupported keysize or algorithm parameters
at javax.crypto.Cipher.init(DashoA6275)
at org.bouncycastle.cms.CMSEnvelopedDataGenerator$RecipientInf.toRecipientInfo(CMSEnvelopedDataGenerator.java:209)
at org.bouncycastle.cms.CMSEnvelopedDataGenerator.generate(CMSEnvelopedDataGenerator.java:395)
at org.bouncycastle.mail.smime.SMIMEEnvelopedGenerator.make(SMIMEEnvelopedGenerator.java:129)
at org.openas2.lib.crypto.BCCryptoHelper.encrypt(BCCryptoHelper.java:150)
at org.openas2.processor.sender.AS2SenderModule.secure(AS2SenderModule.java:265)
at org.openas2.processor.sender.AS2SenderModule.handle(AS2SenderModule.java:56)
at org.openas2.processor.DefaultProcessor.handle(DefaultProcessor.java:53)
at org.openas2.processor.receiver.DirectoryPollingModule.processFile(DirectoryPollingModule.java:92)
at org.openas2.processor.receiver.DirectoryPollingModule.poll(DirectoryPollingModule.java:62)
at org.openas2.processor.receiver.PollingModule$PollTask.run(PollingModule.java:49)
at java.util.TimerThread.mainLoop(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.