org.bouncycastle.cms.CMSException

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.

  • db:: 3.61::Re: NoSuchProviderException d1
    via by Unknown author,
  • db:: 4.17::BouncyCastle Key Store xa
    via by Unknown author,
  • db:: 3.37::c# + create enveloped signature cc
    via by Unknown author,
  • db:: 4.20::PrivateKey Unknown key spec sm
    via by Unknown author,
    • org.bouncycastle.cms.CMSException: cannot create cipher: No such algorithm: 2.16.840.1.101.3.4.1.2 at org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createCipher(Unknown Source) at org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.doInJCE(Unknown Source) at org.bouncycastle.cms.jcajce.EnvelopedDataHelper.execute(Unknown Source) at org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createContentCipher(Unknown Source) at org.bouncycastle.cms.jcajce.JceKeyTransEnvelopedRecipient.getRecipientOperator(Unknown Source) at org.bouncycastle.cms.KeyTransRecipientInformation.getRecipientOperator(Unknown Source) at org.bouncycastle.cms.RecipientInformation.getContentStream(Unknown Source) at org.bouncycastle.cms.RecipientInformation.getContent(Unknown Source) at pktb.PKTB.CmsDecrypt(PKTB.java:288) at pktb.PKTB.main(PKTB.java:419) Caused by: java.security.NoSuchAlgorithmException: No such algorithm: 2.16.840.1.101.3.4.1.2 at javax.crypto.Cipher.getInstance(DashoA13*..) at javax.crypto.Cipher.getInstance(DashoA13*..) at org.bouncycastle.jcajce.NamedJcaJceHelper.createCipher(Unknown Source) ... 10 more
    No Bugmate found.