title: Get Exception in thread "main" java.lang.NoSuchMethodError: org.bouncycastle.asn1.ASN1InputStream.readObject()Lorg/bouncycastle/asn1/ASN1Primitive;
body: <p>I have trying sign pdf with digital signature using java. I have get an exception . The exception is:</p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.NoSuchMethodError:
    org.bouncycastle.asn1.ASN1InputStream.readObject()Lorg/bouncycastle/asn1/ASN1Primitive;
         at MakeSignature.signDetached(appearance, digest, es, chain, null, null, null, 0, CryptoStandard.CMS);</p>
  </blockquote>
  
  <p>Please help me.</p>