Open jmbrito01 opened 4 years ago
hey! did you get any success with that?
Hey i am also facing same issue with id attribute _0 in reference tag in XML-signature anyone having how to handle it from java-script side please let me know
due to In reference tag _0 taking by-default how to handle it that id attribute ...?
@jmbrito01 , I pretty-printed your XML to make it easier to read. It would also be useful to see what XML you're starting with and what code you're using. Ideally, we'd like to see a PR with a failing test so that once this is fixed we can make sure it never breaks again. Would you or @bermr or @heena-snap be able to provide such a PR?
Hi, @jmbrito01 or @heena-snap did you succeed in solving this problem? I am having the same problem.
I'm trying to use xml-crypto to sign some ISO-20022 messages following the Brazilian Central Bank pattern, one of the requirements is to create a signature from the x509 KeyInfo. Is there a way today to use addReference to sign elements inside the Signature element?
I need something like this:
Where URI='' is the signature from the AppHdr without the Signature element, URI='uuid' is the signature from the KeyInfo(A x509 certificate) and is the signature from the Document element.
I was able to do the URI='' but the other two i couldn't do using the documentation. Is there some way to do this on xml-crypto?