etobella / python-xades

Xades Signature for Python
GNU Lesser General Public License v3.0
31 stars 27 forks source link

Xades-bes #13

Open antonioanacletopt opened 2 years ago

antonioanacletopt commented 2 years ago

does is support xades-bes ?? is yes, how?? I tried but complains about the digest what is strange

kubakrakowiak commented 2 years ago

@IdeaSolutionsOnline Any ideas?

antonioanacletopt commented 2 years ago

Yes, I just removed the policy part because it does not belong to bes, be careful with the transforms and so, and it will work

franfcunha commented 2 years ago

Dear @IdeaSolutionsOnline,

How did you manage to remove the policy and, simultaneously, to have values in both xades:SigningCertificate and xades:SignaturePolicyIdentifier fields that are mandatory in the cape verde e-fatura?

Whenever I remove the policy part I get errors about these values being missing, and if I include a simple "ImpliedPolicy" the system throws an error that says that the digital signature must be of the type BES (Basic Electronic Signature)

Thank you!