org.bouncycastle.cms.CMSException: can't find algorithm.

ejbca | gopu | 9 years 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

    Luna HSM - POPO verification failed

    ejbca | 9 years ago | gopu
    org.bouncycastle.cms.CMSException: can't find algorithm.
  2. 0

    authenticated encryption in Java 7

    Stack Overflow | 4 years ago | user2709900
    java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES/GCM/NoPadding
  3. 0

    AIX: XWSS ClassDefNotFound: | Java.net

    java.net | 2 years ago
    java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/ECB/OAEPWithSHA1AndMGF1Padding
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how can i use encryption algorithm from installed provider on J9 vm?

    Stack Overflow | 6 years ago | calin
    java.security.NoSuchAlgorithmException: JCE provider signer certificates not found/read

    2 unregistered visitors
    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: RSA/ECB/PKCS1Padding

      at javax.crypto.Cipher.getInstance()
    2. Android Platform
      Cipher.getInstance
      1. javax.crypto.Cipher.getInstance(DashoA12275)
      2. javax.crypto.Cipher.getInstance(DashoA12275)
      2 frames
    3. BouncyCastle
      RecipientInformation.getContent
      1. org.bouncycastle.cms.KeyTransRecipientInformation.getContentStream(Unknown Source)
      2. org.bouncycastle.cms.RecipientInformation.getContent(Unknown Source)
      2 frames
    4. org.ejbca.core
      RSASignSessionBean.createCertificate
      1. org.ejbca.core.protocol.ScepRequestMessage.decrypt(ScepRequestMessage.java:349)
      2. org.ejbca.core.protocol.ScepRequestMessage.getUsername(ScepRequestMessage.java:460)
      3. org.ejbca.core.ejb.ca.sign.RSASignSessionBean.createCertificate(RSASignSessionBean.java:672)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      2. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      2 frames
    7. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      1 frame
    8. JBoss Application Server Server
      StatelessSessionProxy.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      2. org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      3. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      5. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      6. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      7. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      8. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
      9. org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      10. org.jboss.ejb.Container.invoke(Container.java:954)
      11. org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
      12. org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
      12 frames
    9. Unknown
      $Proxy214.createCertificate
      1. $Proxy214.createCertificate(Unknown Source)
      1 frame
    10. org.ejbca.ui
      ScepServlet.doGet
      1. org.ejbca.ui.web.protocol.ScepPkiOpHelper.scepCertRequest(ScepPkiOpHelper.java:80)
      2. org.ejbca.ui.web.protocol.ScepServlet.service(ScepServlet.java:204)
      3. org.ejbca.ui.web.protocol.ScepServlet.doGet(ScepServlet.java:175)
      3 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    13. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    14. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      4 frames
    15. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      2 frames
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      4 frames
    17. Grizzly HTTP
      MasterSlaveWorkerThread.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      4 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame