org.bouncycastle.cms.CMSException: cannot create cipher: No such algorithm: 2.16.840.1.101.3.4.1.2

hivmr.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    db:: 3.19::Re: java.security.cert.X509Certificate URGENT !!!! pp

    hivmr.com | 1 year ago
    org.bouncycastle.cms.CMSException: cannot create cipher: No such algorithm: 2.16.840.1.101.3.4.1.2
  2. 0

    db:: 3.61::Re: NoSuchProviderException d1

    hivmr.com | 10 months ago
    org.bouncycastle.cms.CMSException: cannot create cipher: No such algorithm: 2.16.840.1.101.3.4.1.2
  3. 0

    BouncyCastle PKCS#7 encryption problem

    Oracle Community | 4 years ago | 966575
    org.bouncycastle.cms.CMSException: cannot create cipher: No such algorithm: 2.16.840.1.101.3.4.1.2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 4.17::BouncyCastle Key Store xa

    hivmr.com | 8 months ago
    org.bouncycastle.cms.CMSException: cannot create cipher: No such algorithm: 2.16.840.1.101.3.4.1.2
  6. 0

    db:: 3.37::c# + create enveloped signature cc

    hivmr.com | 8 months ago
    org.bouncycastle.cms.CMSException: cannot create cipher: No such algorithm: 2.16.840.1.101.3.4.1.2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Bouncy Castle CMS and S/MIME API
      NamedJcaJceHelper.createCipher
      1. org.bouncycastle.jcajce.NamedJcaJceHelper.createCipher(Unknown Source)
      1 frame
    3. Bouncy Castle PKIX, CMS, EAC, TSP, PKCS, OCSP, CMP, and CRMF APIs
      JceKeyTransEnvelopedRecipient.getRecipientOperator
      1. org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createCipher(Unknown Source)
      2. org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1.doInJCE(Unknown Source)
      3. org.bouncycastle.cms.jcajce.EnvelopedDataHelper.execute(Unknown Source)
      4. org.bouncycastle.cms.jcajce.EnvelopedDataHelper.createContentCipher(Unknown Source)
      5. org.bouncycastle.cms.jcajce.JceKeyTransEnvelopedRecipient.getRecipientOperator(Unknown Source)
      5 frames
    4. BouncyCastle
      RecipientInformation.getContent
      1. org.bouncycastle.cms.KeyTransRecipientInformation.getRecipientOperator(Unknown Source)
      2. org.bouncycastle.cms.RecipientInformation.getContentStream(Unknown Source)
      3. org.bouncycastle.cms.RecipientInformation.getContent(Unknown Source)
      3 frames
    5. pktb
      PKTB.main
      1. pktb.PKTB.CmsDecrypt(PKTB.java:288)
      2. pktb.PKTB.main(PKTB.java:419)
      2 frames