Miroshin Stepan

Results 356 comments of Miroshin Stepan

@brunovianarezende Please check the latest version. I fixed the problem with multiple signatures. `xmldsigjs` includes a test for that case https://github.com/PeculiarVentures/xmldsigjs/blob/master/test/transforms.ts#L183

### Example ```ts // TypeScript import OsslCrypto from "node-webcrypto-ossl"; import * as xades from "xadesjs"; import * as xmlCore from "xml-core"; const RSA_ALG: RsaHashedKeyGenParams = { name: "RSASSA-PKCS1-v1_5", hash: "SHA-256",...

You can add this code after `Id` adding to `Signature` ```js const props = signatureXml.getElementsByTagName("xades:QualifyingProperties"); props[0].setAttribute("xmlns:xades141","http://uri.etsi.org/01903/v1.4.1#"); ```

After ```js // add Id to Signature const signatureXml = signature.GetXml()!; signatureXml.setAttribute("Id", "xades-1234567890"); ```

![image](https://user-images.githubusercontent.com/7333669/45884768-6f629380-bdbd-11e8-84b8-f2735d036d7b.png)

We are using standard class `XMLSerializer` to serialize DOM XML document to a string https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer

I could try to sign the XML file and create XAdES signature with the same fields in the image's red boxes. @edw19 Is it what you need? > ` should...

@edw19 Please review this example. It's very close to that from which is on image ### TypeScript ```ts import * as XAdES from "../../src"; import * as XMLdSIG from "xmldsigjs";...

@Valeria-Konovalova I sent the request via Skype Skype: microshine82

@SmartByt3r Thank you. I'll try to reproduce the same signed XML