{"_id":"@dottedice/xmldsig-signer","_rev":"6-220baec769263f82b3822a481bbf3cf8","name":"@dottedice/xmldsig-signer","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@dottedice/xmldsig-signer","version":"1.0.0","keywords":["xmldsig","xml-signature","w3c","cryptography","gst-invoicing"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/xmldsig-signer@1.0.0","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"dist":{"shasum":"c8a94b58279dbbad1068150ce92254fd9a01345f","tarball":"https://registry.npmjs.org/@dottedice/xmldsig-signer/-/xmldsig-signer-1.0.0.tgz","fileCount":3,"integrity":"sha512-1rqTg+6AL1YTfEECbZUMHZLrH6Ye8SJTP0CFy7qinXavuh0MCurGFWRagTCV6Jvr+nZdzO3NqPHoHbERsx0UCQ==","signatures":[{"sig":"MEQCIGA7EGev4J0OfkLnvtJoH4fINFoaZ9K+U3ZGGrJLKfKnAiA2UqXOED4osAx2wbSYF+UmQTUPcnkO1ZNxX5Qjr7O8tA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5061},"main":"index.js","type":"module","gitHead":"0a08116b3825e844b6212ce76fcee2892375b20d","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"10.8.2","description":"Lightweight W3C XML Digital Signature (XMLDSig) payload builder for secure XML signing","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/xmldsig-signer_1.0.0_1785998138593_0.1950449132659955","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@dottedice/xmldsig-signer","version":"1.0.1","keywords":["xmldsig","xml-signature","w3c","cryptography","gst-invoicing"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/xmldsig-signer@1.0.1","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"dist":{"shasum":"a602db06118579f8f437d34c86feeab89a3ef8ba","tarball":"https://registry.npmjs.org/@dottedice/xmldsig-signer/-/xmldsig-signer-1.0.1.tgz","fileCount":3,"integrity":"sha512-bqu+MFnJKqTW2rTFW0hyP4BPlxNJ8fAqSp6A5fSeYP58Kllc3VPXVW4z+vMIvsUBjzAkSSWw4FCq0mqwqLItMw==","signatures":[{"sig":"MEUCIAiYrUdgrG3hm4OH5GLyQig7v9mbWvXisyZb2ZqU3KbTAiEAzDtnrNpSzC60lvU2+m9DEBWpxiIw3s/849TGrKwkjiQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10025},"main":"index.js","type":"module","gitHead":"39c658f30e9a13eaa0278eb6b3585ce701eafee6","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"10.8.2","description":"Lightweight W3C XML Digital Signature (XMLDSig) payload builder for secure XML signing","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/xmldsig-signer_1.0.1_1786198741659_0.09799137922179257","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@dottedice/xmldsig-signer","version":"1.0.2","keywords":["xmldsig","xml-signature","w3c","cryptography","gst-invoicing"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/xmldsig-signer@1.0.2","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"homepage":"https://dottedice.com/open-source-terms.html","dist":{"shasum":"e17f1ff2b602cfa66429cdceac35d7325937ef55","tarball":"https://registry.npmjs.org/@dottedice/xmldsig-signer/-/xmldsig-signer-1.0.2.tgz","fileCount":3,"integrity":"sha512-T03P9S3W5MNd1pa83fEQXT7GSHGbp/pvsltqcjQZpNTYfeVjenDR1VQLpS455eS5MJiN/WPsSPBgOk9CY1P/4w==","signatures":[{"sig":"MEUCIQDhHm6+jQVFXTY6TLxCTDEjZ2Xa+j+Ysj8JGessHygu6gIgQbZYknIWngUjitl/tTM1vfe2iVc3Nj/gqam6AEBd/pI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10087},"main":"index.js","type":"module","gitHead":"46be19e7fa82587f9fc85010aa7c72e6e148a0f3","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"10.8.2","description":"Lightweight W3C XML Digital Signature (XMLDSig) payload builder for secure XML signing","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/xmldsig-signer_1.0.2_1786885910983_0.5325246704420274","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@dottedice/xmldsig-signer","version":"1.0.3","keywords":["xmldsig","xml-signature","w3c","cryptography","gst-invoicing"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/xmldsig-signer@1.0.3","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"homepage":"https://dottedice.com/open-source-terms.html","dist":{"shasum":"bb9337d3044fa204b0e409c2a299aad981c709df","tarball":"https://registry.npmjs.org/@dottedice/xmldsig-signer/-/xmldsig-signer-1.0.3.tgz","fileCount":3,"integrity":"sha512-ruzxVolFb3c4foIcm70HfLLxTH1pUCJTlcBH9sa7cTghuIzcOFGTEFkM9L4a+yGiPr5xJAGJh8AZRzk0cuD8ug==","signatures":[{"sig":"MEQCIBarqWRUO+W2D1dds4qPeakeLzA6wqvTROHnhWdqfPBBAiAzunX0VQzRiBuOlKA25JDZ03htp7mmWNG1yKufpfhvVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10087},"main":"index.js","type":"module","gitHead":"46be19e7fa82587f9fc85010aa7c72e6e148a0f3","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"11.5.1","description":"Lightweight W3C XML Digital Signature (XMLDSig) payload builder for secure XML signing","directories":{},"_nodeVersion":"24.6.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/xmldsig-signer_1.0.3_1786971152520_0.8300631685169462","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@dottedice/xmldsig-signer","version":"1.0.4","keywords":["xmldsig","xml-signature","w3c","cryptography","gst-invoicing"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/xmldsig-signer@1.0.4","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"homepage":"https://dottedice.com/legal.html#tab=opensource","dist":{"shasum":"868e70c35c801453c0094520d1081efa4450d25a","tarball":"https://registry.npmjs.org/@dottedice/xmldsig-signer/-/xmldsig-signer-1.0.4.tgz","fileCount":3,"integrity":"sha512-3s6JMAKSep9ouyLkXQqXhP4HB3nGk5w4EmhNb6tRfQ6aV+tAjtM2U2ti8hDuRuI/rfJwkL/LNlJ4+MSgZUDhaw==","signatures":[{"sig":"MEYCIQDM37RGpssy+arjWNSfrRGclk4fT/OUA//mdOc2yFQv6AIhANmJvKwoi2+uagAfmOZDwzvmKOhvgPUMlubRJvTb+abG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5484},"main":"index.js","type":"module","gitHead":"ce102bc6358dfcce38e3625b8efc56246f033747","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"11.5.1","description":"Lightweight W3C XML Digital Signature (XMLDSig) payload builder for secure XML signing","directories":{},"_nodeVersion":"24.6.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/xmldsig-signer_1.0.4_1786973309708_0.8085212683218315","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@dottedice/xmldsig-signer","version":"1.0.5","description":"Lightweight W3C XML Digital Signature (XMLDSig) payload builder for secure XML signing","main":"index.js","type":"module","keywords":["xmldsig","xml-signature","w3c","cryptography","gst-invoicing"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","homepage":"https://dottedice.com/legal.html#tab=opensource","publishConfig":{"access":"public"},"_id":"@dottedice/xmldsig-signer@1.0.5","gitHead":"3d162b3ab290497b392b95c2df1b86ed3f9bec84","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-LDbyQjefknl5/mVBN5wfk5vLnjYxtH65hBZYjwb0oiP+PNVae/uIbj7fU8QygFy06xvZExoppVZXZHS1FPL4Zg==","shasum":"17f8b99c9968593653ea88380ede741622095baf","tarball":"https://registry.npmjs.org/@dottedice/xmldsig-signer/-/xmldsig-signer-1.0.5.tgz","fileCount":3,"unpackedSize":5778,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGbg//gsCJrDS2L8zY1y0/F1sEW5c0StJplUy02K+kO5AiEAjefF37df5Zf16DeoBKu8+pXNxoxUGN5uKRkIzULyQtc="}]},"_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"directories":{},"maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xmldsig-signer_1.0.5_1787674438615_0.6172497830405559"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-06T06:35:38.411Z","modified":"2026-08-25T16:13:58.884Z","1.0.0":"2026-08-06T06:35:38.708Z","1.0.1":"2026-08-08T14:19:01.787Z","1.0.2":"2026-08-16T13:11:51.152Z","1.0.3":"2026-08-17T12:52:32.669Z","1.0.4":"2026-08-17T13:28:29.845Z","1.0.5":"2026-08-25T16:13:58.741Z"},"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","homepage":"https://dottedice.com/legal.html#tab=opensource","keywords":["xmldsig","xml-signature","w3c","cryptography","gst-invoicing"],"description":"Lightweight W3C XML Digital Signature (XMLDSig) payload builder for secure XML signing","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"readme":"## Legal Terms & Disclaimer\nThis open-source package is distributed strictly for technical education and architectural research purposes. For full warranty disclaimers, export control notices (US EAR / EU Dual-Use), and limitation of liability terms, please review our [Open Source Terms & Disclaimer](https://dottedice.com/legal.html#tab=opensource).\n\n---\n\n# @dottedice/xmldsig-signer\n\nLightweight, browser-compatible W3C XML Digital Signature (XMLDSig) compiler. Ideal for enveloped XML signatures (used in e-invoicing, tax filings, and corporate integrations).\n\n## Installation\n\n```bash\nnpm install @dottedice/xmldsig-signer\n```\n\n## Features\n* **Exclusive C14N Canonicalization**: Standard exclusive canonicalization helper.\n* **Web Crypto Integration**: Performs local document hashing and asymmetric signature computation fully offline inside the browser.\n* **Zero Dependencies**: Pure vanilla JavaScript module.\n\n## API Reference\n\n### `canonicalizeXML(xml)`\nApplies exclusive canonicalization (C14N) to the target XML payload.\n* `xml` (`string`): Raw XML payload.\n\n### `signXML(xmlPayload, options)`\nAsynchronously signs the target XML payload and returns the compiled `<Signature>` XML node.\n* `xmlPayload` (`string`): The target XML content to sign.\n* `options` (`Object`):\n  * `privateKey` (`CryptoKey`): The Web Crypto private key.\n  * `certificatePem` (`string`): Optional X.509 certificate PEM string to embed in `<KeyInfo>`.\n  * `referenceUri` (`string`): ID of target XML element.\n","readmeFilename":"README.md"}