demoiselle / signer

Repositório que contém os componentes para facilitar a implementação de assinatura digital nos padrões da ICP-BRASIL
https://www.frameworkdemoiselle.gov.br/v3/signer/
GNU Lesser General Public License v3.0
148 stars 73 forks source link

Erro org.bouncycastle.asn1 #212

Closed chsguitar1 closed 5 years ago

chsguitar1 commented 5 years ago

Estou tentando assinar um arquivo em PKCS7 desta maneira PKCS7Signer signer = PKCS7Factory.getInstance().factoryDefault(); e estou obtendo este erro java.lang.NoSuchMethodError: org.bouncycastle.asn1.ASN1InputStream.readObject()Lorg/bouncycastle/asn1/ASN1Primitive;

estou com dificuldades para implementar a assinatura com certificado A1

esaito commented 5 years ago

Que tipo de Assinatura está querendo implementar?

chsguitar1 commented 5 years ago

Estou tentando implementar a assinatura Cades

Em sex, 28 de jun de 2019 às 14:48, Emerson Sachio Saito < notifications@github.com> escreveu:

Que tipo de Assinatura está querendo implementar?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/demoiselle/signer/issues/212?email_source=notifications&email_token=ABMLIWFNELQBJYHQSGY6YG3P4ZFF5A5CNFSM4HVZYID2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY2XV4I#issuecomment-506821361, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMLIWEYWF2LTQTZYNCENW3P4ZFF5ANCNFSM4HVZYIDQ .

esaito commented 5 years ago

experimente rodar um destes testes: https://github.com/demoiselle/signer/blob/master/policy-impl-cades/src/test/java/org/demoiselle/signer/policy/impl/cades/pkcs7/impl/CAdESSignerTest.java