rikulo / xml-crypto

Xml digital signature library for Dart
https://pub.dev/packages/xml_crypto
MIT License
4 stars 0 forks source link

REFERENCE ID #3

Closed JacobRimith closed 1 year ago

JacobRimith commented 1 year ago

As I can sign without the attributes Id = " 0" to the node I am signing. Also in the references of the firm the following URI attribute = "# 0" is added. There is some way that this does not come out.[](url)

scribetw commented 1 year ago

Maybe you want to sign the root node? https://github.com/yaronn/xml-crypto/issues/122

JacobRimith commented 1 year ago

Assuming that this /* is to sign the initial node, the ID = "_ 0" attribute is still generated in the signed node.

JacobRimith commented 1 year ago

It was resolved by establishing the isemptyuri property in True by creating the reference.

CapturaFirma4