Hello, I'm trying to learn more about this framework and the standard. I have tried to sign a document but I cannot get it right. The validation on always fails on the digest values and I'm not sure why. I have to use this website to validate it https://tools.chilkat.io/xmlDsigVerify.cshtml
Hello, I'm trying to learn more about this framework and the standard. I have tried to sign a document but I cannot get it right. The validation on always fails on the digest values and I'm not sure why. I have to use this website to validate it https://tools.chilkat.io/xmlDsigVerify.cshtml
this is the code.
` System.setProperty("org.apache.xml.security.ignoreLineBreaks", "true") def doc = DocumentBuilderFactory .newInstance() .newDocumentBuilder() .parse(new ByteArrayInputStream(invoice.bytes)) def elem = doc.getDocumentElement() DOMHelper.useIdAsXmlId(elem)