java.lang.NoSuchMethodError: org.bouncycastle.cert.ocsp.RespID.toASN1Object()Lorg/bouncycastle/asn1/ocsp/ResponderID;

GitHub | mihkels | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Upgrade BouncyCastle to version 1.54

    GitHub | 9 months ago | mihkels
    java.lang.NoSuchMethodError: org.bouncycastle.cert.ocsp.RespID.toASN1Object()Lorg/bouncycastle/asn1/ocsp/ResponderID;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.bouncycastle.cert.ocsp.RespID.toASN1Object()Lorg/bouncycastle/asn1/ocsp/ResponderID;

      at ee.ria.xroad.common.ocsp.OcspVerifier.getOcspCert()
    2. ee.ria.xroad
      AsicContainerVerifier.verify
      1. ee.ria.xroad.common.ocsp.OcspVerifier.getOcspCert(OcspVerifier.java:232)
      2. ee.ria.xroad.common.ocsp.OcspVerifier.verifyValidity(OcspVerifier.java:121)
      3. ee.ria.xroad.common.ocsp.OcspVerifier.verifyValidityAndStatus(OcspVerifier.java:69)
      4. ee.ria.xroad.common.cert.CertChainVerifier.verifyOcspResponses(CertChainVerifier.java:143)
      5. ee.ria.xroad.common.cert.CertChainVerifier.verifyImpl(CertChainVerifier.java:116)
      6. ee.ria.xroad.common.cert.CertChainVerifier.verify(CertChainVerifier.java:104)
      7. ee.ria.xroad.common.signature.SignatureVerifier.verifyCertificateChain(SignatureVerifier.java:304)
      8. ee.ria.xroad.common.signature.SignatureVerifier.verify(SignatureVerifier.java:224)
      9. ee.ria.xroad.common.asic.AsicContainerVerifier.verify(AsicContainerVerifier.java:122)
      9 frames
    3. ee.openeid.siva
      XROADValidationService.validateDocument
      1. ee.openeid.siva.xroad.XROADValidationService.validateDocument(XROADValidationService.java:39)
      1 frame