{"_id":"@dottedice/trust-anchor-resolver","_rev":"6-c2b8c9e2c9368bd55043525a2b963200","name":"@dottedice/trust-anchor-resolver","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@dottedice/trust-anchor-resolver","version":"1.0.0","keywords":["trust-anchor","root-ca","certificate-validation","pki","path-validator"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/trust-anchor-resolver@1.0.0","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"dist":{"shasum":"18e1c0887342530710e88f9934084604da025736","tarball":"https://registry.npmjs.org/@dottedice/trust-anchor-resolver/-/trust-anchor-resolver-1.0.0.tgz","fileCount":3,"integrity":"sha512-ACRy+Ln3Qa4hR+KV8s5knVgqo4pfaMTuBSNaZXfbRi6kUu1tpr8iVyHrVIxP3GmzuRRK5DEIjIegEuLTLEbn6Q==","signatures":[{"sig":"MEUCIQCEpzuKwlGK5oUeLG1USyoHKwbvJJz3azK401Ioc3095QIgSRvFh4kCsufwZc06SddNkXJvni9WM8kUVy5J9GmEy+k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5993},"main":"index.js","type":"module","gitHead":"4b689c2fc0b93920a14ed6ad718bf0b3fe1a8b67","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"10.8.2","description":"Certificate trust path builder and anchor resolver for AATL, eIDAS, and CCA India trust root structures","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/trust-anchor-resolver_1.0.0_1785999055340_0.3940099404730748","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@dottedice/trust-anchor-resolver","version":"1.0.1","keywords":["trust-anchor","root-ca","certificate-validation","pki","path-validator"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/trust-anchor-resolver@1.0.1","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"dist":{"shasum":"96b8a0e0969d65876ddb3ec2416d727612079a7d","tarball":"https://registry.npmjs.org/@dottedice/trust-anchor-resolver/-/trust-anchor-resolver-1.0.1.tgz","fileCount":3,"integrity":"sha512-MJjofeQg5A3GhWNbiXQIsnd0iwKzawg35qAvN7DcNfPjrk5mDWK8oNM9vgR4ddOo7ulGPo74Zswl/Cxf4cjH5w==","signatures":[{"sig":"MEUCIQCRUZTT+rbDYd3lUy0cLHdOsNIyzJnBXRTpZtu0u8IZBwIgIuyseAXfyBUSezmhbdE4T7FyAB7lHXIV+jVmF0FK7fo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10957},"main":"index.js","type":"module","gitHead":"39c658f30e9a13eaa0278eb6b3585ce701eafee6","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"10.8.2","description":"Certificate trust path builder and anchor resolver for AATL, eIDAS, and CCA India trust root structures","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/trust-anchor-resolver_1.0.1_1786198740059_0.3585450694232415","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@dottedice/trust-anchor-resolver","version":"1.0.2","keywords":["trust-anchor","root-ca","certificate-validation","pki","path-validator"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/trust-anchor-resolver@1.0.2","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"homepage":"https://dottedice.com/open-source-terms.html","dist":{"shasum":"02ec92e4735a74b5789d1aadf66dae0fafb27363","tarball":"https://registry.npmjs.org/@dottedice/trust-anchor-resolver/-/trust-anchor-resolver-1.0.2.tgz","fileCount":3,"integrity":"sha512-/Ma2n5iiuREuNNVE3qaKCBEdkwGb6bJwzn++tqAjBll/Id1kRTdl0drkprezdsqcVuikiZYSErewhZwDUVks2A==","signatures":[{"sig":"MEUCICYqwGMxZBPxQW6GgAFysZs4EGcya7Ytrc1R2o8nykWfAiEAq9EgcCiWvpq2UnORWy6t2eI3ZOPZdJOB0kAyxwdpEfU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11019},"main":"index.js","type":"module","gitHead":"46be19e7fa82587f9fc85010aa7c72e6e148a0f3","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"10.8.2","description":"Certificate trust path builder and anchor resolver for AATL, eIDAS, and CCA India trust root structures","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/trust-anchor-resolver_1.0.2_1786885913700_0.921189642223772","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@dottedice/trust-anchor-resolver","version":"1.0.3","keywords":["trust-anchor","root-ca","certificate-validation","pki","path-validator"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/trust-anchor-resolver@1.0.3","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"homepage":"https://dottedice.com/open-source-terms.html","dist":{"shasum":"b821e140b647c8f3d7fc074a9055afe98c00a06f","tarball":"https://registry.npmjs.org/@dottedice/trust-anchor-resolver/-/trust-anchor-resolver-1.0.3.tgz","fileCount":3,"integrity":"sha512-NQadlh45ONGvC+jaPu7Dah9untKO4kURzTmKAVuoW2vO/+UISXDWq+iKoHvnzOfgTBB97d1KWfzowWXQ0QiERg==","signatures":[{"sig":"MEUCIQDe1mLMMQLm5QXrLv5E6yRFrFuUHv6H3lZ6o91/IeIOzwIgJyK009kJ6kDHbbvxCz6WSoGABHm1M05wnTmLQCTrbWM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11019},"main":"index.js","type":"module","gitHead":"46be19e7fa82587f9fc85010aa7c72e6e148a0f3","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"11.5.1","description":"Certificate trust path builder and anchor resolver for AATL, eIDAS, and CCA India trust root structures","directories":{},"_nodeVersion":"24.6.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/trust-anchor-resolver_1.0.3_1786971172756_0.15060990564303633","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@dottedice/trust-anchor-resolver","version":"1.0.4","keywords":["trust-anchor","root-ca","certificate-validation","pki","path-validator"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","_id":"@dottedice/trust-anchor-resolver@1.0.4","maintainers":[{"name":"dottedice","email":"info@dottedice.com"}],"homepage":"https://dottedice.com/legal.html#tab=opensource","dist":{"shasum":"36ce5743aa5e1101dad0345f19a3bfed87227f4e","tarball":"https://registry.npmjs.org/@dottedice/trust-anchor-resolver/-/trust-anchor-resolver-1.0.4.tgz","fileCount":3,"integrity":"sha512-/C3JzkhMQnIX+AhVSmgr55gzzzglxM5uy0WVAEDrV7aUvca36X0fwSdgQEQSg+p2DzhZADyu7VacntaRrlE2tA==","signatures":[{"sig":"MEUCIQCwxi1QH4n6BWC2wOxg0w6pg6eis85w2njx4INutT/Q2AIgJONf8Q6Cju5PDGd3IV0tFGmldd7NjMbN3yck3YRXv0k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6416},"main":"index.js","type":"module","gitHead":"ce102bc6358dfcce38e3625b8efc56246f033747","_npmUser":{"name":"dottedice","email":"info@dottedice.com"},"_npmVersion":"11.5.1","description":"Certificate trust path builder and anchor resolver for AATL, eIDAS, and CCA India trust root structures","directories":{},"_nodeVersion":"24.6.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/trust-anchor-resolver_1.0.4_1786973323218_0.7875267143311349","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@dottedice/trust-anchor-resolver","version":"1.0.5","description":"Certificate trust path builder and anchor resolver for AATL, eIDAS, and CCA India trust root structures","main":"index.js","type":"module","keywords":["trust-anchor","root-ca","certificate-validation","pki","path-validator"],"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","homepage":"https://dottedice.com/legal.html#tab=opensource","publishConfig":{"access":"public"},"_id":"@dottedice/trust-anchor-resolver@1.0.5","gitHead":"3d162b3ab290497b392b95c2df1b86ed3f9bec84","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-GkurKEZcsEoc3Yss+y+ZMWbydsit/PVRgd9mhTTvN1Q29V8YUFm7InE0LQzlVAy85T+rhiiO9QOJZQnoo2kobA==","shasum":"77c1db7a7d7deccac8a13fe142e43ca126ea1f74","tarball":"https://registry.npmjs.org/@dottedice/trust-anchor-resolver/-/trust-anchor-resolver-1.0.5.tgz","fileCount":3,"unpackedSize":6416,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDuoST9yLzoU9/TXw9/YO5KjCu+ZXqu6pB4aOXCQBPQrAIhAMM3T7ZR4AQ/DaSPNj4JIi10nc9qdUjXQLvfCz0J/bAA"}]},"_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/trust-anchor-resolver_1.0.5_1787674437059_0.17891350589071608"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-06T06:50:55.072Z","modified":"2026-08-25T16:13:57.324Z","1.0.0":"2026-08-06T06:50:55.489Z","1.0.1":"2026-08-08T14:19:00.200Z","1.0.2":"2026-08-16T13:11:53.860Z","1.0.3":"2026-08-17T12:52:52.911Z","1.0.4":"2026-08-17T13:28:43.348Z","1.0.5":"2026-08-25T16:13:57.188Z"},"author":{"name":"DottedIce Digital"},"license":"Apache-2.0","homepage":"https://dottedice.com/legal.html#tab=opensource","keywords":["trust-anchor","root-ca","certificate-validation","pki","path-validator"],"description":"Certificate trust path builder and anchor resolver for AATL, eIDAS, and CCA India trust root structures","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/trust-anchor-resolver\n\nCertificate trust path builder and anchor resolver. Validates intermediate certificate chains, parses distinguished name metadata, and verifies leaf signers against trusted Root CA Stores (AATL / eIDAS / CCA India).\n\n## Installation\n\n```bash\nnpm install @dottedice/trust-anchor-resolver\n```\n\n## Features\n* **Zero Dependencies**: Pure vanilla JavaScript module.\n* **Path Builder**: Reconstructs leaf-to-root certificate hierarchies.\n* **DN Extractors**: Extracts serialNumber, issuer, and subject metadata from X.509 DER streams.\n\n## API Reference\n\n### `extractCertMetadata(certDer)`\nParses subject and issuer CommonName details from DER bytes.\n* `certDer` (`Uint8Array`): Certificate DER bytes.\n\n### `verifyTrustAnchor(leafCertDer, intermediates, rootStore)`\nReconstructs certificate path and returns trust state.\n* `leafCertDer` (`Uint8Array`): Leaf certificate.\n* `intermediates` (`Array<Uint8Array>`): Intermediate CAs.\n* `rootStore` (`Array<Uint8Array>`): Trusted Root CA anchors.\n* Returns `{ trusted: boolean, reason: string, path: Array<Object> }`.\n","readmeFilename":"README.md"}