{"_id":"@sphereon/ssi-sdk-wellknown-did-verifier","_rev":"200-f47ee5c28243373a0fc9518139a80539","name":"@sphereon/ssi-sdk-wellknown-did-verifier","dist-tags":{"next":"0.10.2-next.11","latest":"0.11.0","unstable":"0.10.2-unstable.72"},"versions":{"0.7.1-next.18":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-next.18","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"26f3edef541a35242769a076a8d630e15bd2e03b","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-next.18","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-/95vsPJaKv8GYaxdgdujDgZ0CjKJC/oKs+ZtJIDMJ3t4/frVdlWnfriOy8z88nl3nBp/GDUoC0vBLVZAZozOkw==","shasum":"066ed30a337002594fce4c0e6997b9a3cc26d60a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-next.18.tgz","fileCount":19,"unpackedSize":37846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDl0Q5fvq+fUJAOv2WACddkHUvfDMw5WFZwJRSloy0c2gIgJNjr9NJQs9Md8h8BwUZcj8G2DVQ2naEdVF0RNA+RqfA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9hFUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEug/8CUpZyvD09L/hwhDakPEwouKaqcY0o/1ndYshbOLbDohfphl7\r\nQhF5edhLmvhEuXKXtSaSl2sf5YAXK7VEPYktV1yRjm7casFFbH9XBBEuxMeJ\r\n88vrSGjk1IQ1GYeyRgKsdAqj4HgKfiWqPGPuYwq5nQoFMmaHVCGhmzy+6E3L\r\n5RjaiJtGYLnwYyNQWLb44sUzlu6y5lnn9De5vTVIBXBstZ+ntrFMGTODn9I+\r\nSoPs+XKWvHTRXXRau4vTZ7nI0zeC2btxTQWnklsn23SVF5ZQ37qY0ehGgDse\r\nTksny4pS5ZzO8rgL0ZIZU+XRD15TfzsEH2ucZ66Q6aQDVFqxoJovsoJN6KMb\r\nwCAW/LIYdzbLzIBGdYQa9/F2l6VG/2/j92XPKOY+UXDj1MBWuPYrfD9O76qx\r\nUF0DFQ+F+29PRhSwmtbbgKw+buFfNTufHkbwIze4Ub8B8RKGnjAVlj4EVjmB\r\nAx4LpxBGq7ZDCExa7hyKJO111ZHAYa3w3xV5Z1hixfD3vRz6sDc3wE/p71bu\r\n7BfBAn6EUQdKc2dQYR1tBWzNrZZo6GBG3S3deSQ+IBoD2msNN47fHS6VgDY0\r\nwZGQgUWJHmrCGRs+C7UtICnQ3cx7zzkVkut+LP7Hj8NnFdOKQcfU+9Fk7pjA\r\njE131nSUw1ZEVXNkfDlt1M8mqHeDrj7SZYg=\r\n=1nen\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-next.18_1660293460580_0.6173666485414502"},"_hasShrinkwrap":false},"0.7.1-unstable.67":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-unstable.67","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"4f3798bc8314b8a08760a15fff94d3f9b050d72f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-unstable.67","_nodeVersion":"14.20.0","_npmVersion":"lerna/5.4.1/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-/iTInjI1o2J/NPo7Fgupw0kJp2rN20c8RmjXWW1BteBkhsfpvV9YGfkWeeWqTjOyx792H8I0FuVpht9MwIiW3A==","shasum":"84d17be03f66d80f70f7c4caf87a216e0fb6eefb","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-unstable.67.tgz","fileCount":19,"unpackedSize":37850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOkuVkCITbO22J8ZRc9dSkt+nDR9/O0mc7AI9Trh7VTgIgFMd64glzjj8LLrUvZfhpDJ421wbrUZHsLEWw4XbRQeg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9oUlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqkPQ/8CE2RAQ7nba7+8mzGQhp7+hldXi9FXdXCzWKToTglT1CleSx7\r\nqJZz2x+uuD1VSgrjd2uS1iqR7H6wjsNKiF66sGP3LWQRnwwN98OvWcYBuvC/\r\nJ1XnIij166WdnJjyQohQdLd3Cjvg7zKj+ssQTFS5yWIF2gmb5C5+s7jDDdfH\r\njB8SxRGEycE0S0JnZS5ODpHYGFKF4OQ3+s27lnVxTuumC9/SdqkiSCVpX86u\r\n5n/jdKDHdSn/cxV5poffWzAJvpar3Y/7BS0oROXVETPnfQkH0DeVwAyfBm9b\r\nKB/W4DShdo6ttG7W7tk3Z/4XFBWbZWJy68+eUhaEVTocNd0jdHxwN9/so0yr\r\nSjjuLeBmEBw7FlT+rQkUT6jTDthUoGB/w2TwzZT1bK5aWQDQq3YDQbaK5EM9\r\nlJ53cebbt32p/9LdagsDbbyGiwHJ72jP99yEzdGvC2El+tWLnPfg2SYNn/hn\r\npqSV4ksYxKKoDOC/ZTJWUu5ICnONP/97q3WITewh0eXkBfWKjEXCDST95tDf\r\nkrBOAQOSIN0K0D4ppGr9XPlLtcKPqOHUNiUSJra7HXYFXVdSSMuQo1VtXojr\r\no4LNxFzXBK9V5KUJvquy7giSmca2e72YQEjgvS+xdMXTXnijvOPerwnfAzZm\r\nX1Nt09J6eg6gJXfkfgxsxEADDMpAfFIpJIw=\r\n=rVrh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-unstable.67_1660323108845_0.5022780858740659"},"_hasShrinkwrap":false},"0.7.1-unstable.39":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-unstable.39","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"dee730b73e2c451da459e244190a87a6442a83bc","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-unstable.39","_nodeVersion":"14.20.0","_npmVersion":"lerna/5.4.1/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-gpavn6n51zfJWUU+9AdGrZsiDu3OB1ympOIGwQq/ZHefPyLXtairMBRX9M/OqX+kg82B5qicQoy7N1R19ALcRA==","shasum":"83ab6bac714faee45a9c5b32dd658a398cf44ef9","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-unstable.39.tgz","fileCount":19,"unpackedSize":37850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3opu+bQyoJ1nbNHMRn+BAlvpXk9GsmwIXcYDcyfwbYAIgKMuFigNTRzC2gPp03T58+4x19f70mYdTyGTbx0sIYoA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9ovxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqI0w/9GRcfRpjRpVCHxch+dHUr9SHZdjDr2Lhey+gwR6eJlLLHJJcr\r\nz8nUyeHl3LnudRlSzP78lPJE/qaq12wXdZOcnlxhllUxS2mhacYYjinXwFHn\r\n1/6dp7/k6TlbZGCEGu/07/3C9NZtwU2a6nDCx9SAsGcOqHOG8QAKV7Chp9Vk\r\nJ4LLjeVlq7zx/5xtGaww9gIKtWwsL/w7UQmx0EwpWvwNoTa7B7AgwgXtjqaM\r\nqZY145WVcKvkg+D1VfVx5ovVgfuCwk8jnpC18RmeZJoZ62ZuA0C8a47EluDl\r\nYlBB32CbosN/6+C7ioeMV8RS5tR1I7xMnFbEWjLU6Bd84d/MgD4m43ND+QNC\r\nfeKrqvTA1jVgQXiRFqgfukLB9chaOdw3M5dN0DhY6AWCeBfRxyWItivtgjyJ\r\ndXfjHAT5ImL4CqjVqPDGyLwkppSsAhaaLOS+MsF/E8zX3Uef6IVVmYQIVhpf\r\nBdOZ1L1Oq6LD2srwWb8F9guIvND2E+SxP/Llvq8zO3A2QWbxyo+fzJEyEKFe\r\n7HqswTHjvLBybxxwNjC2vRzoG/37Uiqoeg1oVjGsZuaEV5IugUiyFtRlVxVF\r\n93xC7xlzbdj2OjGA/2tRcIfkYRKeJh1mxI2niar9cve1HQF1DEIXxKziaW8t\r\ne3egjcSBWqCSctfaiDOElX/SxD2bLQJn7SM=\r\n=1NZ2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-unstable.39_1660324848789_0.045278256379952975"},"_hasShrinkwrap":false},"0.7.1-next.38":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-next.38","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"e6783a19e978e7a14225987522ada3e88bd61c40","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-next.38","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-lCSzViWfXCaw73VfuW5uC//NQo2Ygsrjsv0x6PpK71IvHk8ObsK1OMCuddtvWfSxjy1PI0bRsj9lDyocfaXr2w==","shasum":"78ae9a337db0e0634f1286dcff689f5848f9ae01","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-next.38.tgz","fileCount":19,"unpackedSize":37846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGehwhXJuAeG5qvt5CQT+jB8twz8uRx9K1Iwvqs2T7PwAiAWpRKFdEVSqAOQA1MdFA29ojgAIOeoGDsDHWTS/k6glQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9oyBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVaA//bjJUWrDhFYsBbghZaWXHkrTPkmUiORtP6JPyF4n3DRkWQOpK\r\naraNoi+1Aa8C1jC52FpnRTEs1xMWGq/0fDtZ1GPARcaGxwi5uNvhCy/7vWt9\r\nLVSpmz1LnZ53KElBeMHgQVgqWMrVazWteX2rTvqtlELnGDgK7O608QrMFpIj\r\n2WqdSI+rCHFDbsphSFx5mWx46woOUyW+swi6VTbN/46OyRW+cbgd9JaL6RIA\r\nrl+RsVYcc6BUhBGDnVNSQwb24trI4m12yzDhGIeLZwZk2O4Tkruxx81X88Z8\r\nU0POLtulDQ/7PXvyk6rYJOtClgelvZX98PeW67K0jPgLOkXfPylmYGGtFkoV\r\nfUFO1S6LfjDwER0iAXBc3QY9cN/IUtIYsm4f8160f4H4JUNsVvzN23HDh1gM\r\nW/OSyXQTc5sSmlh+wIOg9Qk3zNIbJTcZ/wQKlWNFQDHcLO5gbmkabyu/dFlh\r\nmQ7QPKJpnlc4VQtsZhoMnDpnylip//4O/QEYXMAtsSvtLbmOv/kUfoiQ/irA\r\nsqxRsvAKq/jyS3vHP+gGu730o59yM6KuQdooklkeo4Qvrb9SSty3lm2vtm7a\r\ns7ZluEeGyDGPK2TH3w7Uz436SGNY3ew057OtcIvzauF0nfvTUFwdlBzGuhj4\r\nCscKarqeTDxQ2PjRuHUbi+VufRQTRSmsthg=\r\n=Bm89\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-next.38_1660324992799_0.7512321230588723"},"_hasShrinkwrap":false},"0.7.1-unstable.40":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-unstable.40","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0b9a628b4e313eaaf767154f862cd88c58b31073","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-unstable.40","_nodeVersion":"14.20.0","_npmVersion":"lerna/5.4.1/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-HtpT54z0KdjtRxMJ+yRf95VbLjBsMPaapz2+MpN8+qsdeO/QpELe/3iN1KjVoguImvhZN7LDsLn/1z2KbyglPg==","shasum":"224abcece693adb7cbe08c0fa5617a342ab1063b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-unstable.40.tgz","fileCount":19,"unpackedSize":37850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdAmBcGHSefCdUTn9qgor8t8N+BxaGBwGEY8lUT9AdIAiEAjH0vE6T+2+i58WthvqpdGIjarIq2exib3Bg7pWLbvf0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+mu3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYXw/+ODx40oAc+I8n4mL2Ke2wZcqJW69z8z+35CrV0hElGUeKwg2U\r\nAv/9cPycfcleFPwPm9fiHwxEWG4OS3Zfl+CKOZAKiaiPFnz01ThBCDyDmriM\r\nhf3ZowYolR1keBAQifaO8eIB0+7XhU9Dj1JNvmxcsq2gPP2j4aalNGp2UbDE\r\nkdr4qFMV4Epsk9o7UC5aRG9tYdRZ+GXBq0Ralu6EEKmT72hEg/9FXTz01xR7\r\nqd/dfj3b7qdKjZjMV0feCeXlb6GRnI/t/zJIYqJBMoFn/L/dRpcJ6p5uKX6b\r\ntpPNuqUPWXbDf31McZXal1pvYqlSMo73rR0PHQ2wRTtQ4EoTvLkpalaX0ZRy\r\nexOuHHu3nz6YiByaaVJZiXbCNcsd0ZzUGs6lWx18mhIC71RlNT9xaQbGfQWq\r\np+wcobUGRDd3HLUYplulkBGMbvErcnB18tP0hkQ0hEmz2EwHxkwTLg7g8e6H\r\nwhC5SKmiVFulRMLPqvQqewqVDnd/wIifiaDa4aNFLMTnep45T5totZGJfpFc\r\nEwAiZXCg0vJn1PiqLQRSL+OItFD1bdQRbpzoJjz7Oc7LUA/dTfXVXlo4AH5B\r\ncBslCwKVc4bWMO0LLkldauiDIGEvM/Z8wYAAMStGe3aM6az3aN8Zz2nSCLZo\r\nfBBKx8C/S6HYxbm7Drz9SUAkIor1m3lLCIs=\r\n=JKT3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-unstable.40_1660578743439_0.558008819461884"},"_hasShrinkwrap":false},"0.7.1-next.39":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-next.39","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"2aa71696258eff9e8dd07217a6ed7b8c8198a63f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-next.39","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-QLYBeEZ8JJXjw6LYsoDzFVrwc3Q2xUtVaQAEeCvb57w1WbdWb56Jpsqd+X1cm7AHYlriRDTbdH5QW9q4zF5eug==","shasum":"616099453bfa9e5680ae0b1eeee5e27b47ef273d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-next.39.tgz","fileCount":19,"unpackedSize":37846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBC0ukjah7ZSMJ3te+27woqkcPGSI3vjG1NkDtPvqlESAiEA7uzVNT/VlU+HUSuwh5Y/61BOgemTiieazf8ThNc5A3A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+m3EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7Uw//QncfE2NQu9kjw0XRrEEXQGlDvjw4aDjGDAFiaXQjzAZJOm58\r\nRZcT6OGK7n8ov1Wk2gbsYYhU4sB4ZYegcre5W+xiy6c6aAAD+QGbK5ebky7g\r\ntIjAAB5p2ifUowRh3FwRPBzlkiWhCE7HCNIiWggeC18PjJ0wARvmf7MB/Cgq\r\nfI3Rmksa1e2ZoSrUYKbXXBlA937QM1iEnhMs1eurV0MBgy77HnA42No49mkV\r\nmYfenf12i19yeACnkAbZyeAqVI+U2umHLW0yKGHDtimVsy1DPFHF6I/vt6bN\r\nsN53XRs/UW66dwYrRHBRQeIHWpf391C3XirsXLifjgh2PlWlX6cAfHKUcX7/\r\nAt9ImsIQBYuXcH/SX2uBbycn8U8/BmaBpIusnqbb/2hb+BE1ZafcxktqrZAr\r\nvFUP24HOuEKZZJtgLbAWNAwstJNK8g+a2GrwaPYI9YRvcIsovwGkA8ZitlvG\r\nH2jTCPI6N+sTi4HrbzHbj1w6orJ282Jh4R4+wGCy8zET55R/Y55/BGeOUCKh\r\nwjD2HVK+uoeaRuvtftH107wrXCJzWgY5xBxlVY4znP5VLDiUHK8yMh3hTOBC\r\nM95N2BW5/gG3qIJP1RUuEvuer9sLLRGVtq6ucIIrEEEC/exl88vqw8lWQrrC\r\np9KUKPAr+2Z93mhVk7r8droK9AV2LI60kI4=\r\n=D159\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-next.39_1660579267993_0.07252117309094874"},"_hasShrinkwrap":false},"0.7.1-next.40":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-next.40","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b9a4b4320113c013f37e7a6d7304e461fa69e12f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-next.40","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-PDORbLu7BdYOYdc5W2UM/dcpdLZp+vsBDDcbJWwxDKSkmyFOoWcz0aUIacA1D07ZCChZv5PZfwawDpU5qmFTpg==","shasum":"faeb805a020b4300914c469a64182163bb56842d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-next.40.tgz","fileCount":19,"unpackedSize":37846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAkWPR0sAVDhkrlTrHxEQ58lOE0c22Tv02V1+o3Uns2sAiEA7XWoB5A/j7jTAc1TaIqtufY5IdcTHCCb8B25WfhJ4jQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/Y/NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopzxAAhPgmvQxulK+JhyEgkiCVqqsxZR27PvKx+ewH81nJW85EIsDb\r\nMip38spVvqAiBKjIHVGHsurf8BeJumo1kxa5ONh/ANsOMMeeMac4Arl0+aE3\r\nJOMrQ+O30y2E6K2HaiO3KmzWUhAbnDdZzILmhSMgTMQsQj4GWC0HYSAEkuPN\r\nOc6ZnYDlhndPGCvVP0ttXsVlkL0Vw1j4w0vFEo7npDjLkEFQ8J/nAOh8koOu\r\nT3BTtpzAZjsqXLmh/C4A0FiSSbc2WN6goKsUvncrrYFBFU8KD/a9O4AqITMe\r\nP0nsVgMIfL7xrEctB4u7LMoL2IsN4HPPrjEt9PSU2MvMxqDaUUO8/5k2gSzk\r\nXkF0KffQ840fPj7WS3XzVcbEIZiuETR5cMPCX2ReEkpAGUHR+5TK7WeMJ+NN\r\nh8Q+BBD25ntcdowtJDR2PsA4+vz2raYQDbnYIJiNjtnjTvegNckzJ/ngte/9\r\nAUMpGfVO9BAYMBl8jgIpqzStvl546bQ7dz8O2KDCL0+xieupAuw8kYRK/Ba3\r\n0KfKGD77V5smkgy1GV6fHfm+GPBYKPUrx0Z9fybi7sn0e8tVmaTzv4FzMhVx\r\nc5d7J+DxjiLjnXSYeOcaDdQqDgSuFdPS9RenfvT/oLUD/wzm4b/Nue97oypy\r\nrx8gxp2LHU8HxJMJu0ncLgQSKM4+BFBaARc=\r\n=lPwb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-next.40_1660784589121_0.41405859345338447"},"_hasShrinkwrap":false},"0.7.1-next.43":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-next.43","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"6389a80e4d589b359af61cd1759cb0c38c5047e9","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-next.43","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-tnBTEaBmCVtXo55IkYo3GppbUI1B/jPi8QnvXIGGpAmBZChRsIyt+R5NPVZypJT1DkRilreE3NtNTvvaJ+xpuw==","shasum":"5e4d2842e8bdd619898024e9af16affd503b1556","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-next.43.tgz","fileCount":19,"unpackedSize":37846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5Yccc+iWMDHBUUCGzI6ebXlyVqaYyzSZnqs7uMHL+fAIhAO6iTxakDxTFtgotYRS2SH+bem66htK8Gmll652czMpI"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAXk5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEyQ/8D9YVmQ4FmH6Stvyl/BYIbuO3of1jGj5Mmo36yN+gvaaGtgdJ\r\n+yoHyvBBI4b/3luBYiuMlc3hNewg23See+34/5xETucdqsVebRnMLEL/X17s\r\ns/xALddh01n7rTuao/qAQ1WZg5TlFtUgaHgPs23QDJauD1K3cuMINFOTqyBK\r\nyH6choP/FirJJhBnuMac6SkIxn7/9/NOj211FSrnSt+S8MLuXtYwQ9MVRgrm\r\nt631ZO+Nt/HRA5lYgZRN7fCkLvrDqRpwdqZ68VKJS657J8xNmVRab2/uMt0w\r\nhQ6eTMEhZL9lcstDPmbsGb0NuAel9R+Ds064yPSIIZaCkZPqPh/h/pw12GYs\r\ntF9lBnmJRhPWrPHMOUv3Z60NJPiVgLWPRbrG6WJdFIF47mvTqPY5Jn+Qo2NR\r\nnB2x8/CE/0GxO0bzQ3HrkYNbeq+N2RhYyySym4ZL4nX/8NdnSYIJkb7MCmj2\r\nmP66FQMMX01C6O2v7uvDbdmCDHziVvcdIuPlKWF2WD6eqLpDZ6sU3kEcXAxc\r\nd5Mk3Zrt8Maep2KO7BDAPgHRP/Kn1vUvU7tWfG3SedMr1rj4aibXlaU0EIHX\r\n5d96WFv7wU7R9pS5nUZ3CULlXfVqhZ4sD/1PdQuAhXVb1ge+5lOCaGMSsy3r\r\nL9CLh1SdgqkULGOpiV7DsB8+JIoO+Jvmg8M=\r\n=piuf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-next.43_1661040953072_0.6664483971381743"},"_hasShrinkwrap":false},"0.7.1-unstable.43":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-unstable.43","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"6389a80e4d589b359af61cd1759cb0c38c5047e9","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-unstable.43","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-33ukLIkdCMJLZqiej70yalW9DIRa9ZRPZKClZq70MpAXa0kx+qh/cCdF63WdxUyMX5ZASWNuGowOoRcVBBpahA==","shasum":"a24a857f6a3a70387690742888bad2dd10540d23","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-unstable.43.tgz","fileCount":19,"unpackedSize":37850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBoXVJw8UaHMio8Y3kja9iGuCzpEkf5NEtPDrtsKEfnQIhAMrX08ae7Qgo+zo28v3Mpt4uHWTEuPjjDnCEbzXX0l1M"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjA72aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/CA/9GpnmcJZWfAMz94quc1fixP3JW2i61J5c7WFCBWN+k4k9EBn9\r\ny9u7/PJZRwn3p5BwNcVsPgMcKXhFUW+GoNl2y1bWDclNtWPwB/hhZWKKiWqj\r\nK3moJceJmWs4B52SmnO0L8LtyDmJsq5eNZ6raWeJomEY9WgPZgvlqcijsOj8\r\nKVtXVwHvguwHBKa/s2YGQrSsYlHlyjiWJuTlBLKE+D9pKVCwH80xiBTIyMao\r\nUu5q/nAQ16rqih7NuDIbgdTc5MS6Rt7DUoUoePAL/Lk87oGIFscn0Rxswo5D\r\ng0iPFs80qWWy9QMhz4f7IIOoBePBPR2Aw0leiz3zHmiCkoZCLDF2KGQwb/N2\r\nzhBKhN+ubljKOKgf/mrTdpx6IHLUTVf7TUua4N+/t+t5m/dDt9skV64B84yu\r\nUahh89lO6jTQ882ANLOsnABUyh9a6CTVRbpZofEmvG3Mf9zpcS5f9psAYmOb\r\neePdUqDY81dNExTBzAGGdTV/k75T2+S9vBqblQk/3DxEM/a/INaIp9orxwva\r\n1OHA3E250+OUi+CNCQ+c7bOeRGKEzuMSZmOg/wu/cMlBDGoT9XsKJ73bUGh+\r\nyIiA2mDSYjBdZwfjRlQ67+ZtbpmFkWxVfdCpKByZy8WFrEaZOdxYIBeSUU7Q\r\nCGDmBRIDu4oDEfUlc+fk+korrXJI1hULkuY=\r\n=fkMv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-unstable.43_1661189530707_0.09786172899106949"},"_hasShrinkwrap":false},"0.7.1-unstable.44":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-unstable.44","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"8c1bcf68b3592c1e26e5c4ffcc7725da5b42d736","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-unstable.44","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-gvMNcPGR6FymG6pcdiUb6PuhyrWJUTWllCcb2ltw75NAk8563oWbqghsa3HgmYnzcEmH28PWoXXrKn9DWF/egA==","shasum":"97b104502f07ed1c78d0b22e8206129d46931ca9","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-unstable.44.tgz","fileCount":19,"unpackedSize":37850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXVuz2Ne8IAEKSG2UERa4wg+uYI1FSBl2YFj7RwyHamwIhANH/rfGicBDFql6/NAOIg+j9LedphpB1i/mNvgDgUN2A"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBPSaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYOg//SJS65zuv0F/0kqs3td0zXnRSwijvs818O+j1Vl+B5gejfmKt\r\nHZ+QdgNdApkz10HXdyALXtXnsB57DTPoxFnUQzfXjQoKpkMwTt2nHlOWw/p1\r\n14i/h/3qArUWy/Mbn7Za4qnX72X1iwyLRITExDHXQ5PLdypTJZWvZvEV6zCV\r\nQ/ZitY3ePTokS7JQICXotHsxQ+JGvk6lIBmJ7B337ZHDfONX29kcYw1APSpN\r\n25Vmmol3JPYK8z3vuxywEHQtMSNw4IVZhIUOJCNiwMygoOGDoWCoUschfwdU\r\nS8tHQhQJKob2RhBtSLnJWAGjMt2ejgUXSzXpwlTm+oNafofdE9iO/qi/j+kx\r\nCWcS9vroCyV/KW5U5FFkj+7HF5f8gf8ZRZ9cL/jPhc2GTL3E9FBG1r1KqUio\r\nLGzoDsm/CNCbR+IB15dajJAgE8aFWgIoSMq3YG7MgmTNsvYcs1fg0vdkaPzt\r\nN7ci42EOLq8S5M7kONw5MvAAM+rVNH//S+dtyEh7wWVrXFVgXHR71dkYUQxH\r\nEQlzZtM+70U5JcgXgpoT138suVBDT2hr7id8NT8vsxfOhkTWFRcYKTgW+AQI\r\nH9vihsrEZXf7Tw+4PqqsdKmnYd28e6V+/FlIVJ63zS3gMHhLs6VO/Jc8h07Z\r\nxDYkMEuj5pXiLF8uUhAlLxNLmejYdputgVA=\r\n=q7so\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-unstable.44_1661269146061_0.9246390499792396"},"_hasShrinkwrap":false},"0.7.1-unstable.45":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-unstable.45","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"080808c185ae370102187781106cacaa422e7c87","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-unstable.45","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-mQ0Ab1s2jWelUC9W9dpeFyoPq9EB0gOKPNFLqLVGyX4lX9cDb6nYl7dcmd1NGVyEUJ4i934oNQLFJtbexaINig==","shasum":"fdac6b5a8a19dde0351ff940c4546466ff373f75","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-unstable.45.tgz","fileCount":19,"unpackedSize":37850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzsjug5n25T3dcWVrYX6S0EHvkzK962Nyjkc7t6KOLRwIhAJGZjBy5mEBp7RhxFgSDBLMy07Tz1Vu28q0URQhb1q4O"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBQdQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptPA/+MzLxxmmFM+04rZiMuj6M/OplSIeegAyrBRtraqg1c11dte+g\r\nqh/1teHIyEm1C3bXhnWYfiWEgYi65zlKiUm5qR6qFIPQ+mUKU8HajfDCSnhX\r\nJ6IKnPAXIntv6QgDcygLOs1OY43NKt3OJV63ZSty/yD9QiqUKb7HTyD0OSeL\r\ndBLChqnxw+xEQaSFt0JtN7NQl6IVb7UVrmPe/8O9EnjC4dmeApuqW3G9ncgc\r\n0eA55TTJ78B84sbAx85AgjrmAWzbwyGS2I1ozn3CRLedYEzS5p+wrAVJyYbZ\r\nsKGppiVaifLUmoA4fNYMaCLOV4D6lHOPBMenjC3S+fI++W9x28PICAzkR/rI\r\nJYpNKRhYl/k58hoZNS16H1KpfbbPPWHGXfy4/axdKch0K8zQdgU7zWaKcZ3Z\r\nf2J1gyyhC2WqxBTtkCCVCUpprny7XR2Pmrp8QEn7RZjM/f2KkFqfj8ljTI2w\r\nxIjV8Xvog2cnlBVrKNF3CoFZ9E0cWNl3RBazkIVQx9emrHBDHaApxKi5GLo+\r\nmYfWPwebUwBwgF5bBNcP884Mm4BXu7uLw/ggsEcosUeUnwpyAJW0Cnl7MSCn\r\nwz80rg0pDy61J5rhZkG6IzxQhWAp59H2MjughKwd4X1bGSlxeUzKeyXg1jxw\r\nft+ZFlTkyi+xQ2tOhVl7ubuy0MJRDWRXHAo=\r\n=/dtx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-unstable.45_1661273936391_0.7510121859934142"},"_hasShrinkwrap":false},"0.7.1-next.54":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-next.54","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"a9ccba1270296fb1e8e74e1be73f0d2a49ae6969","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-next.54","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-AxorvBtDUM8BcKk/A65c3oLd9wpahNHY9mg0eHuqbrXBl/BmqDYzbqgRQTa73y2hBKvohksfmZjIzsP6EZCk+Q==","shasum":"cf94e99850b03cd416c9c2a58f3b6b075f84c4bd","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-next.54.tgz","fileCount":19,"unpackedSize":37846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4IA1jAhWZUQzxB9Xe5TWl0k/IvROgLrDqAFrbawdUrAIhAKYbSC/4Jg8lfisBYhuArDS3FsGZ1BCH5Jwk+LzpLCv4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB2N+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmorIQ//U9/3nRFwuZ4yqa5gH7xcsHR++29Tnn96jqvjtxyVyLZ9hmId\r\nQvBF8Zd1CBBK3IvsBAN83foLKN8B6pc4rlTcrOYtltKdN4a1/pCEllQWG64P\r\nTsosSPohJqC8p1EhQfxBp8Aah6PP9chJLXMrwjPP8wNi28aW0uYjNZDjDLg7\r\ndgyaUMClA95msxd0ze2cAtB1HJHphk/j0XLyG34p5rPY2TU0AQ6Vdohi+pTI\r\n9OPRQa0PTbfbxHnr7YbDpvRFeZ71YiFUJvQ/+sMsTaJtRntuLFgETgMtBd4n\r\nbIm8z2cElxonuL3cpbjLQhKYumgtzw6J4/jabGvpRitkZnXblaa6Qx135b7m\r\nD1fnxul2QmFitue+PPHk7hS/9Kn4Y2yembMbR+RqxsCGKnf09Jrljb7HMTOe\r\nT7FagwEY40Jh8W4eJQHfC1Nsde/vTYcCYy1u1K/9m9a8s5zm7W7MTQBYasio\r\nxYlYbryKFThIChICJ8/xNGVReYFidSg4l43H/mYvA8Q8t0RU8rsPIki25qAu\r\nAf+zT8GkcmXlDTwuFlJuUodB4XxpdC21VGgj8a6NY0g5iFimahs57V1DIZ1+\r\nuQs8sS9LeLv8NXy9roJlEN22iK5fjPRbV8U2pwiTfuSuXvpKLmaWSEy7ykTE\r\nST4cSBzmhnmge9RaciVQOs8TxNFmkWpRO7U=\r\n=A9HH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-next.54_1661428606650_0.20172731845090008"},"_hasShrinkwrap":false},"0.7.1-next.66":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-next.66","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.1"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b4151a9cde3e5e5dcabb32367e7a6b6ab99cb6cd","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-next.66","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-6JHJ4PRiwefCcZ6QDYiPmSBRrpG6qU1iCJz2+KufHTvJX8Jh3+SNSYWt9YQKG/PORFeOX6h/4NIn0zvZqI1o5A==","shasum":"a23423d1add3130f1f84952711aaaa5107f6bcb6","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-next.66.tgz","fileCount":19,"unpackedSize":36885,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjq+X7DAWOJGJqRfjUc5rLkFGGyoXewBlcA1Ejnoo1OAiAx7O7KEnhvZeVf4Nil8zqJmXD/cTxBkamcBQefYTBKnQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEoXWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWlw//eLsTX6oD2gUxC6yfibII9CUxeMTci+fVMSb8uh22g7lxVAEV\r\nQL8/R1RK90FgR0NosaUf5rX6lR33+b+jdXFHgov5/1hu73iHMDXMVNkIlQxI\r\n9K01yor4cXDAk9UwMuqj9u5GDB/EiJBFBGu+V+/lcXTSV2lPhBU8oBB2mRL9\r\nmGWXUVFCEfCpHfrG+0FOHnS0NLhxxjf1v2Es5wQAmIfP/2zRN8KhCwQz56IT\r\nyDr3IUGZMWAUvYe0Wb69LGKhtrdaZStWjb+ubULjz6ZZTN7xgRjiJKGF/0Oi\r\nX0ONd2VMXmogusZTemCznr+IpBRbMC5pxlfh7wUrSETKWcieJhCiBsoDkQzb\r\n1tWxagV1x/CXilQh3pkpKc4JzCLht5YnoXOdTUTyIIdeHngjozHrCuAbvaYA\r\nTnET5prO1+gl3xIcMkpTZXPoFdehqZAmhwukd8dbPYVHDlp/Mn0wK4Em1U6o\r\nTxaEbO4KcvyqWtzM4o+tUHYkhUvrf/pSkRiEKELClwqkN+g+PxOmTpOZwufe\r\nAN54bJmtafiAlGM/Pon1l66wMWuoW807xRCZJ/bgruM8ibw0xXHtj7GLokN0\r\niXPBB3ZqepnKJBnKMjmH5VREnSSlOnFAoq7EFV9gJ2dL/ahdXzc59iSklrvW\r\nEF2R78qBkBsmW/hwT1pn4sIMs91/5cBsNDk=\r\n=P7nS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-next.66_1662158294456_0.9625461284481045"},"_hasShrinkwrap":false},"0.7.1-next.68":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.7.1-next.68","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.1"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"00c9747efd89f125fc77330af0fc6ca6accdab74","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.7.1-next.68","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-JbCy2RJR4VJ5jEdK+4YDpnUCJ5WDH1f2QmPgbpx3WYRfImnIrls/GyRfYS4sBVQy7dvVugJTSVfI7Ipe/pdUAA==","shasum":"6f789a051e6c675990c358ebe02f8d9f50b2db79","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.7.1-next.68.tgz","fileCount":19,"unpackedSize":36896,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFlfKJXbsNJhufwyYMhyvYnZLsQPGifYzTK86W8Zi38AIgGo9d/Sm4NBTViyxjtgSDp5LGP56MaHOT3DDp2fhIeg4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEpdYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJbw/9GzogtVjcTpyaz2dg1ogHdLGc8QMlUqPi3/9g0EAc4+5tHx3V\r\nKHarPgUKfMnXv3iEphMTpeFmEEnnWjVDIvfthgEQxITrYR+BNOzb7e1cJ9ni\r\nIsI+zt2qQ4wqtfUhBpe9vS25oZNBqwguotJ1mlOLpCLa5xgU3Xi1rfoU+35b\r\nPn0VIxQ5xpNZkN9uULsfHUGGGix57acbqiHnt/pyc3Ad42xKtoHwihHpoFi0\r\n7A7SL7ZCBTeAuMF/gfCPIhSfrVpkfzU/LYZvohsbAxY0t0lIkNjHW08DEYaX\r\nWbf2VE/XUGmt0L6goXdbwB/kvj3P+G266dIVxeBn3ajaITg5cQNIx9WpNKKr\r\nO1xto9s+4kOogk/EYvN7pYbSeP+olE6+onh8UyJowIIlxi8PtGlvTWdR7cQX\r\nFLLfqkDyzg9y6X9ngmZSv8/pCkRDe/scl6TXpkfweeVCmvP/dWfmlZ6CMFFj\r\naFbYIdzwPyi/n1EKgICBJ9JI99S5oRqvWXi3EAwQm4uwR/cL4tDcaiIK9/ID\r\nUz/lAwlBA8p0myP05aaLvRbZaVCHD4ElVjwkhy81JVNYDuV9EDjJRPTUVKYm\r\n3ByzGmTYH+870Ig4YfhDB88bU2AW5YIdDgeppYst4WwqZ4MPpjVwUcPaqIs7\r\nWVak/dObLbBrWMOiIm/Fh2kUuAseaoEHYIE=\r\n=0g1C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.7.1-next.68_1662162775773_0.9145250771808433"},"_hasShrinkwrap":false},"0.8.0":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.0","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.1"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"1032feb5588568edfbca0110f3ff9e6c38894135","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.0","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-yRJqIJdTUyFVKwxNPUNzvDpG9hl9WKw9sZyEETh6e/4+k9Q/ygCTtOnTjD81H5FIxWpstbpku+leyw/ok/VSOQ==","shasum":"4e73fc275e2311b63d040b1f229ed36ad55067d7","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.0.tgz","fileCount":19,"unpackedSize":36880,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEpeC1TQidD/u2h54ysHDmpM29NfgLKgaBzuAIxTwUBdAiB4IuNfs/C1HZPtiHmscV5u4llPKYV1YgZWa8vyi0wLGQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEpspACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCmg/+NDAnmdazNl0/DyplTYzqvnSdf03CzirTz2PRX8qtl+oUSyfB\r\nP73Xfuca9xg020EufYSjjl6V53b1QS2l4oogqzlps6cdZdcuqFTloOv7dyTl\r\ntVt15FsnB0RcnRyXZRWrumYGATTrZQP1Xx/+etZVgQdkUlbFLuf84njYwc9V\r\nyBFmkLyJRJdXPQy1Blk16K3X3Z0WhPyQg2W2LiOxNqHuQOVVMczziLo1Xy2u\r\nPl0a7c1IKp0ySzOStV9VSBcp8aVQJYqwEU5CMBpxPZXk9qpy7/TUU4n4YeUi\r\nG1Ar0lVTF7+0TvypIH8LaNU/p1tum+0eEVaZI606FjJ5IjsZ9qQNpM0Ns6Ub\r\nRk2FPQ0E1BFTOObL7mWLIt0Xr6vQQ6djq9tw7onzKCPtjIC63T34lfhC+onv\r\nz4nXSpYyKw17+NWCDcrPMGjHR+VwRFTVEVIlvhR67w2ySaBRQyjtZCMiL6vS\r\n6iYd4tnLMjCbcsMOVpxqwR6lN4QKlDqLXlh6sdVLv4GI32CQzMH/sxBtsR1t\r\nrcpu6zO8GQrgvUmrJ8KoHhJykWuJR/o8R+TFgeMJwGC9/kVfaO665rjTCOQT\r\nXffDwf3UMVBfHVnm0q9LRzV6oBSav8SXbaqEaPR2Y8wUxWGJ8pcIe4kIqdsp\r\nFhGb7k4PzL66HIw3AWDI387hvOkFSxIAGIs=\r\n=mLgc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.0_1662163752939_0.5130390057109306"},"_hasShrinkwrap":false},"0.8.1-next.2":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.2","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.1"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0b28de3de21afd0a224d3d174103e072162231ed","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.2","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-bq1lckpQqtIUGzcOZGhHAVSIo9nM8NqJIXO97s4B96pDv2Nhy5Rp/qF845BMIySkzXCjRL9oNvIRx+Dn0TiknQ==","shasum":"250c6588cd7de7f32c347643d26bbf6b2632df8c","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.2.tgz","fileCount":19,"unpackedSize":36895,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkQzRIO4DKEf1qFww5feprkQzWYagJuB8HSW0cZ3cMZAiBYSITy2v6I5zX7dquQkedV6Yi6rkh8v06RCuhWAgpwaQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEqZUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSlxAAlbQZm2TiY9jcasTpHtG8d+l8dxJfKtddd8pV8IFYyCEPVrC0\r\nKvHFPTOvg2xx4IGN64Pv+eJOBBsx8jfhUnJlvCnc60Tn6SyHH5IGgmu9c8bb\r\nD6mW+e/FdXHEc4mQxXZDBL/OwEL+m7m4HY6VpW8bbkdlcgJU3sR9QaB3x/6L\r\nDK2OUaXMj47Fu2aFrwJu2upJhgcimTbKRdE6Alu1d9QpxXZwDMXM2xWH3rkS\r\nU5valWh6Fr6HlyNOUS3wzMwJZY6sWme1aJJEj2Sm7NJ7ZaknynNMkWBzG6HA\r\nTSdugjzyJjY3MN9PoO1m+/J7kXOYKC8RkitPLkjxgAqNSjOeGzIWd4FrYNKt\r\nr5VJ9xr1yMpEWiQHYXBaeXpsqCn0gsT07wqOVEQEJDF5R22aEvYNArS6Tnmo\r\nL0T7DzQNQrwFbY067oYbS/Tz0nqWH0b3KHqw4ol/SQ0xbassuJPaLeLTlba2\r\nonGDxj057oK2jgdDEjtiDOTh84lfV4ECyqauHNtyGQIi4Gf+4bZhiYPqKRb1\r\nRiJUVUWZiQ0FgE56w3QAOQTzgM1xKVRM0WbcKtEIEEFfF5x1VyA8+7ePDap3\r\nQffD5PZAW+vaGZpjhYURMnaWPc75/lHU79uaj+xZO+61MiQhtvm3k33T4FnV\r\nyW43lFmlhE+oMr2cmd/xkaBFUN8I9ahlW30=\r\n=e1Vk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.2_1662166612618_0.6245505022053521"},"_hasShrinkwrap":false},"0.8.1-next.3":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.3","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0c75aaa73635bb037c226183071e10a184dfe549","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.3","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-tLF7S9hTXqaN+D/+ON2Aeq8MR21UsgXUWup2QNSjEe0C85LsrlYMa1wVyRg9c6bdtGNUknEFTkGnk3cDfM0kLA==","shasum":"13688d2ab79fd0a13ad755780af72fad0e5ee193","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.3.tgz","fileCount":19,"unpackedSize":36906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVhpztT/9lhhmxb8tmqtCVMwfF9GcnMUY2z/MDsuURHAiBIIGpJxNw0+aOKrzpsteAi+04Vd0+P0/vaX29a7ENhYg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEqlbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7tA/+JjdmehzAbJ9s70sb0HjQYGBk+otYyWPw0vMCnnrkSOsJUoBX\r\nBLw4grU8FWNWSJ2LesEf/JDiUovRRxplia22UrpkxCvSf6DLmU1jrVoB/6Gu\r\n24lvz32mdPfxZmIyfESz4yR1+r0PCnhDgDGyCZV/d+HUbrbuI2Dzr8M2qRqw\r\nkpkj7Co15a8x1MZWvfc2y/rW6ONBu2rRNXJs6cEtM5Yjp3NDsKcV2LAaJ14L\r\nPrQSb4wRNRtFRcmoNQ1Sfe7rRitnJqoZoux7r2/c7SVtsTcDeJKByrTMLsgu\r\nIVwu7JDICXbO1zmm0e36Tsq7H9Q+ole5+nqc4wFiG05jnm9UjxtnP3CBPAf5\r\nUY6VvwjxmsfyH1uhcDVfJqRkvUGJSreK6kK2TQI5EbMIYSD/ClHEeSptCauj\r\nQ3sDYW8QO050FvTMdDm+Wi2aswbvvU9Jr9ARtE6+WjxfVjSYSvSD3MSk3cRd\r\nBi4Sd4b25NlrOJWpF1XyV++WkFrQm9CN77vimMMjUfatEZZlm5jf3ZyZadp0\r\nq0dTWFdeobKkxLzVFtf4adIdjzzOcLx+GMFcCQEfK6v3XKATNOaPC6OAv27x\r\nIuPJhyHSv+mUDLq1dY5x5tdok1mEDmqVvM0oA1rc/8TVHIiYzkv2GsSsmPHC\r\nwg8UFsXw+ccaScXsjyq+cG4EoxClRjWSipk=\r\n=XofF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.3_1662167387642_0.19933572108541275"},"_hasShrinkwrap":false},"0.8.1-unstable.4":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.4","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"e8c9e783b4a8b61a176213a8e465cf18db2f63d6","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.4","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-xYnMmyQxmBIXoRZCDWCRua0ol6bpWzG4G5yXXKkIApI3ivbIfyEQv89/GV+JqKXS2ukr9WPxlFrdVLl+DvRBOg==","shasum":"560cabd52dad5244aa10ca9acd41ea03fcd914d4","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.4.tgz","fileCount":19,"unpackedSize":36910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH26IQMX9bJivaWV5gKN6URA0QyLI+fqWklANcxbSYn9AiEA58+RyfPLUAAr6jHu6a615rBUTad7Q3segAPcYKZf2ao="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIumzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNdQ/+PYyxUhvq8XXKuQhcKzhmM+GlnX9X1G9k+dIkdqiLUV5ywbIt\r\nsNJy/Q6V6frSFNaB/I6uz83bb6JqBKqDuMlfDLEhntfGuBx0QRniVnBmH1Vv\r\neBwb7/gnUSfXPjuGZ/4cQk+P+7+CHSrVmz9NLb72SZy8Rt2p5Vpsr2LWOC6i\r\nR94AX6/Unex3K/8DKzJc+rHWLOJrBP/Mg5lqNkDWoblkwC9nSAAEU84p9P09\r\nCe/JyZHT0F/v/1sO6MfUHLxtvDLHXdfJbrLYVsCbAduiNhLrk7Qo4MN1oTEZ\r\nWDNhu4QTDNLVcZVUzDlf3EMNobb33CyfdlU1VAbswvaL4Kpbw2sYDrFZ1BJ5\r\noZqFob1mW4NMdMBzblTgxssLJKbsalxYlzqHcCA3SVQid+bbB9T3EMSeem5p\r\nQrvijZ17N1cwxrUqWPlAAJQSHW7eiAS4BJ4NVY2ADulEobu+Ccln6o7IdPp5\r\nF0Sq7CX41v2leAfd2toAN9c4WZt/CthehAm28TPZgi8hKeicreAXbwc6RESu\r\nm90nHhg8Xh1SevRwnzNM4htRD/VVyb2A6PbsJYNn13AwMD9vPrIeU1xm9NKm\r\nWhKqcEELTosPzzzzJw9ng8PRYfSQumMs0hBEOh8MgqWMOiXLnqAfuCNswi+K\r\n8XxE+awmMjEIy4GcOugzqt9FdLeQLleoOpE=\r\n=KaAd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.4_1663232435380_0.7002163720373784"},"_hasShrinkwrap":false},"0.8.1-unstable.5":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.5","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"ed329f67a9fa92473dbbb1e42b23e7a7452f8686","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.5","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-r40uOomSql8LTHnLPSKBPJhoS0AoJNq0r0JeCKSi+9dxZcKfCimezP02X7ZbQwma30tmtpK+iKeqw0j6UgmdAw==","shasum":"33f1b6f4877b51dec0d3a9c3de8421b419a48d05","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.5.tgz","fileCount":19,"unpackedSize":36910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmN+gqJCRYG8kkiB0CjGVDLbkCXsp269y460i3/NYVrQIhAOaV0x+Yhhwzu7rDlyY02dg5TjyjswtbiMPhnsSPcSQb"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIu2nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4Gg//RRcfGvD/UdXetzaUOMqvFYPrXLEW83OGU0BhpeT1uxzR3FKQ\r\nbY50XqJ4PTRh0UG8IBQDaAzN4exEUnkrVKZ5MqBeZpMA3b7BAbg+QylMChld\r\nM1sjyyqrtcZZg/3ii6jfVCt5KPEtSYA35emn1qrtZnPVIfAaVO3uT/w6cfA7\r\nKqRlQcxmfeh9Vz5lg9xHoZ0C4q9Fg37RGChLgNCTOb3eyTg7FdLvS5dq5IE6\r\nide2/xuhsxicYNkW+hRh9XJCDrBdRh7fBvOzclbRkBkh7jyblklBxqVlFEPE\r\nTRQnOvINpzpLJsDYD1SIjJX9NjZcmVa85ExxJ50qv025iF34RN7Qm5syr5Nu\r\nj5IhoFwT2vTb9xvYc8Ilto7Yiz/vbxUYvHrtacgxIiAiqt/DaqQF7yAnNSoB\r\ndBiOr5a9qw4N7xKHEm3fjfg3Bw2FMzbZc2bqYlgQQG+geMcK/Ic9DFfsEwC1\r\nhGUPZ++C/8GBeu0jn1tzdpIeLvhPMSy9HKOY3p4mqsF/87/ZZOFNs7dFl9qa\r\noHGPiZ4N6umEmGA95V20NCcCGarcmEYtOsyztZhJrCxyqjumd5sFPwATfYuN\r\nR9IHGWG4iok5/zfrvS9ICJlIhvVW6Xfm2nuJLR/qqZiiAGbKd3aamm5W/jCP\r\nLDLJ76EzCYGdDPLItl6UmgE4MDVqu514dDk=\r\n=4RS0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.5_1663233446937_0.15445309316077993"},"_hasShrinkwrap":false},"0.8.1-next.6":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.6","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"27069f85062685aa678ccb7846cefb84b253990f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.6","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-IUqIFv1oEkRbwO5aEhUqeEWhQG6jEQuXiOk0uu8b+kMOY8Q9ffI5jpd/yIR7YqF0s/fe3AdFnMOpww9ZHDm6Rw==","shasum":"4bc8310b39612df74f9613d738941fe448d1fe83","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.6.tgz","fileCount":19,"unpackedSize":36906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDooKpiS8IKke5GluW4XfwclL7yrWGuMwXSV80gKyEzbQIgLD8XolN61L2BjrMrgfhGKn1H8XcmvP2PKDK6KuqKBlU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIvENACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJghAAgqgkwgM7JkMKHErd9ZWXZlAHDc7pVNM/g+PJbYGc0hkh6XuM\r\nLP/55Zp0UHueTMQUWVadMMq9vgpgpM1rH/q9oRjEI5lxYEp1bDqTW/5cv2y4\r\n9m8wTQRlqORf2mb1l6vmbTaNa2QktVzftPfAAYZZyDI0F6N3acGE4sPsgXIV\r\nqn0qkJ3i9dxL6JPos6rMEYM9gaOtUfLRxgian7UE634nA7vGcocjRrZWitLo\r\nEPaYgWq6MhSTvoBDuUqfxQ1D9KUV9cCoiJl6v2phQYJ4ijW/FLX2LoHpQJBy\r\nrMbvJHWnE+HqM0auaTqNot7MqsNdMwFRn6eIqSMvsDVv1eapyN1YL3WIasRt\r\n7zdBo5/ikZi8WC0fuWso/XrPkV0vtlP714REIhsLcTMkPnxMhix7P1B1Jt8o\r\nSQKpW1vHWTgn6ks708R5yGAcZvdDp40H5OR5XSmNKq453yYhasefAmkLLfMZ\r\n84H13zbhA8twrjb3jEz8BDnt7kfthcS8T3+bfMswzIW8uQTSRtFu5dcxSWjp\r\nbK2HdHGlooG4kTVxhUvC1coJq4QIzpT0JahgXnumUQFIAi56A+F4hsWR1VfA\r\n8skmijyciVWdX4+XqaKF0XZhoeE0MkYXmVnY58VsjDmPmDUBlZ7XdJKyAfYT\r\nHxRfSjIjYN6Sjf1whvmBqVv34L8Gc/kZ0xk=\r\n=UVny\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.6_1663234317219_0.19237749420121175"},"_hasShrinkwrap":false},"0.8.1-unstable.9":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.9","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"af7f5324bc1718f724e3258c3f218eb85e4199cd","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.9","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-OvnaNqN1PjehAzUlZlEOpyR8kmZrEuhcTRaMpdqvv8jlJhX4EKvLmqQEF0FOA1dSccoG2AydRS8my8HUW1q1pg==","shasum":"fc648d3a35d3222ed6d84da0f8b6ec058d4e06c0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.9.tgz","fileCount":19,"unpackedSize":36910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFGzSYyHJkPdWu+Phi8kfCP/MLlINgFkY0hK2vTci67QIhAInjCmL2HDj1F3cDioDcgSiB6M3f6WdWHKhqMhb4HX6i"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJl7OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrK1A//VAt1CoRU4VmSp4D+HujUZoCmX8g25bSJ0jgDh1PppZJG2eAx\r\nu6+Z5yd6glRPhQsNdcMCwf47h9EIgEIDo/pj6YsUHhtcUAfIvjAypIXySGfj\r\nzfUfEQI+/2/GKKMqZQIT3ulxjoUHzCFK5608OyXxlHBGtcrB6UElQurhKP5h\r\nEjuuMwxAyMtvS5IwIOmAz8gUeWwjuECIt0w43sarossD+0hCgcvvaDKFETTm\r\n5XmvH8SwHJ5KMn3WjorXecXBro2YYWg4zJ5dAvhMl5D9sJxTcWk47elIkME8\r\nxFr6a7eXXLQyv49pRw7MMF86v2tN6LcpHqDWChuKmcDqfS1oSQISTY0aNRGK\r\nLWK+DhU2eXyNtdZBaqlIExjmmOKOdvHNuAviB4rPqzGi9FQe82nxdJXTUHr6\r\n3FJKZ4K7AyUxRLEf+/DZtJbDJjm20Icv+iFnVTwlaiPc6oMahMZHyyLMvngy\r\nrq6729ffjpYwsdH6RfHMV5WlS4PIGGkHFpSdaV99x30KrsySYYLvfp8wHYdH\r\nBqwCWWb27a0RqKwXwCezaaLLDpjh2OP77vlaFiFTWnvq5rKFbycm/uo5dUHt\r\nQfvtV7mehdA7mLnqpSsuTokbpcyvVJSFblrN60STsxqkVVCstNEa/Hz2l1/8\r\nnutYXe0M2+XluvEBE+LsHmE1Y2RqAniqHM8=\r\n=fUZU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.9_1663459021820_0.9093087203837185"},"_hasShrinkwrap":false},"0.8.1-unstable.11":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.11","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"e5fd396f0430a594fd72f590136d281355f61408","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.11","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-WFm7u3loOAzyIAAmLrBbj6Z6pBOY6BH09O4FBKFYG9TF020SybRsnSzzOo3PGsapc0TFTFlJCRMJ1vri/6fiVA==","shasum":"3a28d505ec8ddd8ee7fc1d75a88e320352c3bb67","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.11.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbzxspviKyY8o+N1Ad1B6hMmb1DKDztQIRqCfWbk3BLAIgDSDGxbYN8xxbA5fpjoVw5YUZmn/8TLMAgI8cUHSxERI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKHZgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjNBAAn3vWrGkc3bkIORFsiN/AItGyc0zBEep05dXZHDiMHqsNysOl\r\nU+MjoBH3+jjK8+mMS8DzYMVEpLG3/ca5cBmGj79BF+KvHlu4uXJUaEOKIq6N\r\njX02g9vuVhJYRgaJN5kneQzxiSvkGLsP6jRkg6vyX7mXfC4H1yKhZnfUcSrk\r\nQ1W5FbOmX0pjkxANn9daaWFcUbmmRwnU710zGeNNjgI0wVB1JtdevcXQNtPB\r\nwIO4Nnw3aX1hF/GB+PuMcocBGU5XGw2LmMy68indeKhA/zUnpFProJ9v72ZR\r\niFtpDAfrITapTAHKmWLiZKqczEHgzeLNBZgl/gNJtL7EN+eF2IIA5vNSo0/C\r\n0eSvK4EQg3NAF13Hw3V5femGXfOV4YpSOrjkJYw+Zi2DqaIvEzmK7Dr1fs9L\r\nDWA57qFEqdqg0XgIvigmaJMh8UE4k+jyrcqjU4P+yQtITaTaQYncwmNZngd3\r\nDeI7PS1ySq+Z4Wg7x47f9OY9pY6VuzsaUX+fbPS4L2ULj/qLVX+MmdFlR5oa\r\nuNbdcoOzB3XemrWRXJ8wHj03xhD325iMC5bBRXvy6Q4kOzAQQSoka+tdjN6/\r\nv0eCQ9Pq9YWVSTGotkUSw8Qu368qUdOBt82Wkninht++OwptnODe0wVGjhKs\r\n4ddFaky7L1uUnSyuFCC4btpCW4cyTploBzk=\r\n=to5q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.11_1663596128738_0.9748183337259009"},"_hasShrinkwrap":false},"0.8.1-next.12":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.12","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"84fb570f29ecd7a4fbd6477fd22284f47e814ab8","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.12","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-Pd3J6H1B6GXCPCD0kMscUp9pmMDHuRiqhy2bUY42cRWIA5RzbxvJ9nGCLHFj0F2ungRdH+LrR1jIqzOKhowUwQ==","shasum":"1ad9b9177b7d48662aa1d139a3d6370fb2a4ea4b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.12.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk2KgWEQuIypGQOUBgbYDem73ttUVdvcf9aGXt7ZS5rQIgc72DUOQP/8xtRiS/DigeZIev5lV2udr7/y71nlszti4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKIaiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJ5Q/+ItuHkML4dmAfkz6DZefrzwejVgmCi1J8RWWXOBsehvQYZ+vF\r\nArZ4aqwbvsEVyzigBklFsQA7tcunsDOhc3RYWkly9scMlVsbIXS/I42bgKaB\r\nTmGEG/SmfSud5nBBfmqZavyr5vJPugqTwpYUD82J4xLtBRSOq2D8emv6hzWW\r\nD0Q1pbtAx7lMgCmgCiXFTSbXsWRd6NXr5mK9m8WgJblxyrwyemSAFyiRHuaB\r\nCORStlSpzlDOjxCZE4TqmIg/aJBXn39budS6ku468SMN2Sw+Wl46hQETwnP2\r\ntgBRpGspnysQqw4UwAngvWyx3HhB4C0okwvaV+i6clzd6GWnTb08ODnfUBDB\r\nbaf39X8fosyAxMXs5HacCuFXFaBmjgTvY42aHxjV0TJ9MdFroAFu1HOJ5Y/0\r\n7gt9T+uW7DX45dxcFOhdVb0goycU7HmJodfsC6wr75fuRPawD/OTAfhzWCNW\r\n5VmNue+5/pF9NJD/SSBlI/Fn2grLWF0ABq079T2dHHcaQ5rwsF7Y+QV+uQbu\r\nBRgqigx3/MvFOHb426hKQth626JRzp88DAXCBX2rz9vEO+NfwZ9Sq0PukzV9\r\nNQfm4mFPZuRuA+GE3Xf7Xs9DsOPmadtE71cka7AcdUm55hQYKHbeCItu6f7/\r\n3vvMAzFh936Epl6P7TTQErKwpYywf3VG76k=\r\n=bWsA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.12_1663600290327_0.4987276311911"},"_hasShrinkwrap":false},"0.8.1-next.18":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.18","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"71e09b8e8cfa8237d8e3d0a6b0be0ed4f3beff48","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.18","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-CwS4IA3wVrpkAiBe3pxUvHSUwlo00TEe0IXStvE34e5WP/uKlqSUdmoVJkoV01LBkrIYyNDpFDywiMlriOcKrg==","shasum":"df80501df0d85fcf9eb2220192537a0f766cb1ce","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.18.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBB4nP9XvcXgBUaEvCa6gJtRBVPKnwnOhBM6mDWG8EyiAiEAo4ppDgMudwm9Ob9hbqQLaizm9227QLXR+QTWADXL034="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLHtaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqkcg//UK0gz4PkENvkIYxy3/7NFLflShbrTzSQKPypAEj1vnfUscah\r\n1KfOXFfZsAyp7YeMwc3SDwjweSHYFqnH4JA+ZI2e5EIfu7KtXPM3+TbdYU6W\r\nWT5hgqOcOft00qKowVnvoopU4//57V556f7wNjyZ/h99wkM7LxtI9PIrDBNA\r\nTe4q3ELzFHlZeRxBFimSpTXk8sRWFZi2JilkiDkyqjo1UXnpGyZ+A4CI/sK8\r\nlVujp8yG3ZlnGTJIxxvRdvOh85+4LoZ0wsVCnPYkd46pKv2LvLJ1YgqY5lq0\r\n9SKPtEVrdEmS0wBE4iF2IrGA2d69nZedeF57yLLgwvTjZyb5fJfydk2eVI+n\r\nbA10a8R4uLnLAXKg4o0ZQYqxrJQb2dD8oS/XmNMOKTPCX09RcVh2wuLkc8rD\r\nVT2l73XlsZF/DT+ANt9lr0CJGNgmZyeritZZT2Zyh2uzjmRpxyTRVaTzVojJ\r\nbtwBpgiK/HTgUi11Ub5QdJdmBR/KVpnP8ShHGb591CR9o0dFbPuHusBRDg8p\r\nulWwWZHY1MMEmpSXB/hURojjYOdJvQjAyy9firX68hduxhWeyW1O8dSO9tbd\r\nxywgyAXg+XYr6f56xyZm00qYTvzNruuClj6LBYiMSdFIGCkvfmNDHuCMFK5X\r\nd8bE5gc+2ChwrQ138pkGI/RuNvwdO4rAtes=\r\n=mgPR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.18_1663859546058_0.605130377520753"},"_hasShrinkwrap":false},"0.8.1-unstable.24":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.24","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"5e407accd822ccb099677876df192e850b17ccd1","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.24","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-8GypPj3q61eRgAOYHnwM2jiEW29pPQUNtLljSgVTAeoi/FPsUaF0ISsi0G7rdBq4KKnMxVeNzoXLMltnCzpEcQ==","shasum":"4acdaf2bb657a3b47639e9f70cc58500de290f3b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.24.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/UT0+z9ptBmkNuEn+y4ar4CMAJ7o+WIW8wWFvoP8rXAiEAn39fU8YiiSjhKhcvscjD6qvZC7sXkOTuhBZWjV87aBs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNgjnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoiiw/8CiY3BZaCRivV2FdwbvxMdYfdu4OjEyNdzQhi3LjxaenjUZQO\r\n5xBC7/0HSiNX9klftx8dYNPvTceP5z8yQ2aF0b6JBtKK2eeLVtDehJoGWBad\r\n0FwFcZ7Xs0CrHWaSJEarkxzVdVKKl4WjPBBkTbQUKZg/BIN9kzMVj5JWz4+D\r\nAz3zBKOBgu5t2OHKu3DVuUI49uBUFAy4/snVCv7jEEQ/Iw36wmCACAiTi8p/\r\njM32goWlWnNaFOfQ2Tac6aw1tPe7daZaLpamX9dEt6nraEAYZ513xUJ0lbCq\r\n4HrYkVzoYh/akqgspEdtwg+4vE8+9FLo13F8bAUtdh/pD1v8yZ5FG4/+b+Pe\r\nE8sYN/Rq7JoIs6pSFFFKEjQzwgPFrAUB6gH4BColBpKmazfyYGBzYlyULB7X\r\n6qFmsBnm7OSnjGRwnkbm4H0At3RWs+y2q02VkknDfJAfRvMpDwuIH4s5nkD8\r\noNCsntTan+vGChkY8oOSwVy66w7i6Wgg2i3dFqJQjZS3MpYDMvWidnFHQT8B\r\nsKAjBjcLEK0X6k0j2lKzK8BLRY6TBTJFdA2C3G29KirjceMrez9ek8nfRTuJ\r\nHYSN6Z9dJcA6yoOumnXm+Q6OTInWGDDW3arnVoXJCqHQv2hnWNc4s25Idmf5\r\njEwItBELL3iM8mZxwySh45Lma5+GB+0P7g0=\r\n=nE0n\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.24_1664485606799_0.43858533545308"},"_hasShrinkwrap":false},"0.8.1-unstable.25":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.25","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"8c8420a269feeb27374aa810986b4400d2a6c6d6","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.25","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-iKUU/sjpUJNESUMO+F2/6d33ShcGIV2OS1GK5RG9+RMjQCQ2L36agfxISQ9jr3J9Qm52j6BMPIEZd2QG/35Tgw==","shasum":"169dd0061eb541b48c258fc6f85dc78584966838","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.25.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvqGvVgCRkvyMEG6NUbNv7LPxO/9qD2faFe7lT99ssPAiEAhDHW2I2O8eHY1qsyFk40k+Yk29rzAbK84sViK81wRDU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPJUIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDZxAAhsTIdsm7BrcfgvFkDuDH9PKf1/dbLyOkE+KiYbqrktyVLVLp\r\nIpxRS+hSOCs8TZuha5EpU0RN76JFAT4JzjDqWQXGhqqeQqcpoNlGUYFQOiVY\r\n8gxeSPFuRh8ZsnA/duzGJoIkuZu5lqraZ3uBeDGhTDxiyWNZ/B7IxzDw2HYo\r\nI39ymTnh+ZtMvDYCL0ThmmzfRaOpXj192ZNYF+Yv3NAqC8sFwIy5l6H/akxt\r\nHFfhHqj4q19RzspLdDPV6JCQKlaXKRNxWkaFoW/GNN8k4YQJYUVpsbQvnsNC\r\n8W1Bgh96CyCoKbbAviwXY/Uj2BpKqzveFJJeahWlsKHNKgRM/sTjIl0gHl62\r\ne4r78urovsj3h/fxvnhXPVX/3WwwWlJB2VHISNGQdacyZztT0RNF08xbvmAy\r\nkwlx5aP9xgDk7eSjJsGfud6Y21t67wFDHn3giAUanPp/PkyhNjrPtBHQMWqW\r\nDhy3XImcUsS3ZrzFZAsYwqLE5X2Z1Xmna6cK1X+pPluFONPmlalW0mX3KN/F\r\n1qs/otcOCYG0AW8PA212AUYGgYyu2nkrU8vrrFNvMJzePryOuJtfZj8K1t3p\r\nM9TDO4vX3JmiuPNC4KxuEgugsY8It7WM86P6p06s7xKu0N2VZxKkVkToHMSz\r\ni1z+R1xEpTK1eC7bA8oz5Huu/pWI93drsnk=\r\n=x+j3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.25_1664914696092_0.4078647708443208"},"_hasShrinkwrap":false},"0.8.1-next.26":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.26","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"4dc8dea175ff9eb8526ce6f1abb4b72ffbb58128","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.26","_nodeVersion":"14.20.0","_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (linux)","dist":{"integrity":"sha512-1V9ouIQuMFYv1WLX9N9wlZK7QrL9W6C2HfjgfzWNvpR9mys/Rkan/rLKAKd2o5nXm80yYQ+jMpWeg9KStvHTlQ==","shasum":"1143a5dc9054450eb1f44a8a695fb7cba569f541","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.26.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtdjSCJL5lcx2Et6rDChyhW0RbprmzUHoRW5EwLYdW0gIgQlJByBx30zX3r8KQm/6EU5ZnKjReDe5G+/3IPIy2Pcc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPJx9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2aA//fBne+fRTh3JalplfSTk3t73F7vTxufhBGoY9GvpoTKtX9+Kv\r\n4p3t6MLkdur9ytGGFjV1z/P9W3U0wA3HcemZJRnGcv0nBOCNZxkxQU76uZ/U\r\nXh05BmiYUhqHAE7DdlCr7md0e8oWyVYDH+C4I6B2IaVtmnFHQNMZM7BE/bYj\r\n3u1D8ALp+r37WfAaR8bXzTKTQ6V+e/gbIfrpX5GNsrGnSgFW/C+OejP9ODWl\r\n+QbgBjGtyTlrmDlpnsXsSxzeRIKwc0Y4zGFnu/JQsfpuZg4q69JRY7MizJqB\r\nOrUQPsKfGbNZ0zvr5CZX8do3JK0M8TUkeo5s4Eoqiq37o84yZE44/qKHIqiG\r\nxpHo4kQanbXmxCdvbeBXmqN49L65JVOUqSaLX6p8A7RmzKbW1S/0HN+1o+vp\r\n5drJYgmHW4FOi+VpMVJm/4Xtci6OG2JZ7Eq4On1nXaUhrelMYA14ttkuKxEQ\r\n/6kHxQrIzjdAR/PG3jC/4NyFAK2XKFFoyCbCg4/7HtqMG7KucT+8ypNObwSS\r\njtK99mOFAUZDoFFyKGQXrYl1UxjXfizFpwzASPKLBqS0zmbZBNxS+SZa1twk\r\n33a1ZXfmL0yRhmsVLQy5ENt62QMGsi/vwVrVO+EWwlerW+RpmmXyYTWShFno\r\nn08qpHa2qKzvQKqNcW338VOauO0gtsjoOyQ=\r\n=rqtM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.26_1664916605346_0.923690975753187"},"_hasShrinkwrap":false},"0.8.1-unstable.27":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.27","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b3caacb4d7850e5ac9ff2cc6b17b203871d2af12","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.27","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-9Xr5T7arDyuHzq4Z4kt1bMs8mAk1gBEIYQVtNYoIQLDkZZUaY7GZTsmzdgUptJSBKVyssIKnNT++BdbQB/8SKw==","shasum":"c9a1866f139917744c4e62b94a0de3ecdc2be6e0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.27.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGftQJBYv6nZGtolAG9BOY6GcRnWd5rtAUYqLnmpA0KnAiEAmCUWj2dBo9CClMDE/5tjGfIWDUBOxFD0SSNhBB7JNAg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRpwRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoggQ/+PKSmTsiAk7vAsR6AjxdMO8X3l6Yom/DTZvO7Obv/b1m09ex7\r\neC5mNDK2elYF1I9i/nGzKhp8erjMRBJrUacZNoxoy9mYgQYzG6RuFNfo8Jfd\r\nU7fnx/apxI633z6ROv4zjht3QLol0Hu9dBTebXvxk5GiUYALu/+MRlwKuWsC\r\nru9GMpI4fdjqiWcS6HYHaqhJ+uTFnhyJKp2bTbv4SZBzWdiPlEUbn/9hJ16O\r\nRhUquDuUsKwQBcw0ojfFli1NQXp0omqrWwZVIwo4UdfWp9olvanLh5tLT+FR\r\nHYFWWHa2Oy5qvOfe4SSLG9989pPrC2B3GfSFFgqXf22olOvflVKOSYy91aAk\r\n8Zz2aQIoyNFCp9GMXSc8kl+0qiusvoyRqg2xWDmxV60ojeQwLDEiDR2tGwlo\r\nX+nVpMDlzTIkyhHFDxBEBtkLnhXOmd3PxhR2JJIeevuK5adKS+iAGBmdPzyu\r\nHNttKn+ty/pKoryXKralLi0OEL6vchHcf0uq/AXoP7dd6JPxVZhgtS1HZAO8\r\nkjJYZOE/ojgck+6RICALM3ltIYdj0QROmdXmfiDW9PVTg8ZipsdWZ7THxiJq\r\nZ14cflTV+LjRRjdCBEZi205vWo8xKvSJ++UOIshd4YhWMMZHmdX52CvWzlAd\r\nMec/pBybarQw2fuZeBKtVWKFacv8WILjcv8=\r\n=VXqt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.27_1665571857176_0.23763534465047975"},"_hasShrinkwrap":false},"0.8.1-unstable.29":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.29","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"f5e1817d3a1e1abcf902b9a9760c76e5ccb990bc","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.29","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-osdInW4TehHqYUCtOMVQ9QlTZLQXkLYUYqDYSZVbE90NtNg8OsCsr5BlY0kk6i2Q3L/a4G6uiM3suozCiV4SBg==","shasum":"f2bad1eeacc4e3a8ed5112a0772942bab61a0cdc","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.29.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBd6uAVU5YXAGkqwAbn7M56+IAPj3djoJVDHrtEfzKeeAiAlsQChNSXGfTlLRrnkhW1zW146HpPvsHw/J/pmOMYwyw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR7o7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoRA/+KdYpD8TinChznrxJsxCWwj18rBjRqQ5VTW66ccDhqE/+yFDM\r\nyg1STOlHYP3D2ZY7IUFOnqggPJI6raJUR4xtvUBLhkPXMrTUv7GC0DYCG2Ve\r\nI6d1W8I/BN+0hRwVtJfAmK37MVyyIsnj0/YqjT4zW64LyOV1y/CUTYgm8MPt\r\nYu1FFFiLHFzOHJ3/s2JBzSXsT2YZhOAB7ZjPilymiDmOoYLHfwz56wAafHLc\r\nEi5JIohhrvEwi002dPZrP4bXl1+5s10y9EFMD6F96a9Qi58flmUNMk6DnhJV\r\nL2qCPAZufIMy7ZcU5IfUBbyon1gUWDfyN8qb2FQV8kBfVtRazeQc49R6JBOn\r\nR6EzFGQxokB9zTSaQrXFpAOWNgcpo/g5pTITQu0CTjDPl1dzbMRi909jHqz7\r\nQBo1QexvuQeuI1vFI2K9BNwZ7ZNPFB7ScwXj3qRUKmR/20yoXtqEkZkjvrwY\r\nmlueD3gbzVHntqH1Fm375YVWbqS85TdInDypM2j/sUi5LjNtGe3poQP5xGKS\r\nT9HkBDjMwOqpESMO+ky43lTqsq3avjgdwwVGoSRW4Oie5knoDofJkeWDs1UX\r\nqFbyqLDftxLyoZ7FNv6wQhtNEfGOb8OcyKff5I3GKGUtqR96MoJpH3TKS5l2\r\nfh9X10CeZy01gLc5rVAA0Zq1G7s9v3M6Rfc=\r\n=f6M4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.29_1665645114888_0.03957723188561246"},"_hasShrinkwrap":false},"0.8.1-unstable.28":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.28","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"3f6cc47892b065522be088d72bcf4d0c5042d17d","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.28","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-nA6S0q3Wibs2V7J0SNO7e5AphO/GBPL9YEk3331GRbhXE9zyVpl0gTTJBO4LwRe+ms2Wcgyucj5VhTdT+Cni1w==","shasum":"5cef59eb71138cbe575017b02fb285eb42b20493","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.28.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBY1rrvEQtP2GiwHo2jJwmF0OEJQg/szJKN0dslMT4QOAiEAnrmZtj1zTi6uVIGRAsSTJrfcSz+HvkmxPb81C5F36Rs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR7qKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoaRg//fF2UVFHtat/4ta4r/H7drFabxBjwppjsHVS8+t4VhQfrdP2J\r\nsU2QTh/R3wsOleFtlRYtdABB/i1cW/3fcItzCKFlztpHCaiRtgfuot4moZ+K\r\nthjl2d1CkatGx2gZpq8ezT07LD7JnxmmhRq2tAPiJfkjXEQgaC5W5dGpEaK2\r\nDVOl53AGlLEy5fugHa/+iHXITWQesQftIGdnjLgbU0TkcOGzBwa8BP1o4IXP\r\nSMoh2fRzm29R41VKiDCCb0lbRwj9z40ONYNTgYF8oFDbBy8ILHMW5A2sBaWk\r\nNXc5ADAMtmeExkyDxrW2OISvru/h47d+gugKhTcIGQw/nj6R+rORxquadw+c\r\nMAKIO9rmSwdw3mNDcd6Mdse7uQn/Gy4MBBCbUYZS1zwLBMlg+9j0N6fvpMCA\r\nrH8IRU94SQ1Qhg2dvgO2XX7Yw4+L5n1V+dNT9qlGgRCsoTmp5wpkFB3ynmaw\r\nfrp72ggauLlnPgG8Q29PCoJ3bCy/oTC1dxLfTK/vZXpJMaP4U8GiTcKSHy5W\r\n2P9DHodBNdRHApuq01MzcxsrWEgRpr6QcP9gSHw5Ug+sXm0WsABc2GlKsHDm\r\nx0ozWTAPn4Jco9lGQHahEV6xjriWAN5yNGCWbMFs7wLvhFvx6h2rGajXzF8Z\r\n0zMN+mQ7Vlb+wmCrpVOyjU8u8fXPIT8DPBM=\r\n=HYCH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.28_1665645194637_0.9665434829478603"},"_hasShrinkwrap":false},"0.8.1-unstable.30":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.30","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"54625bc582f8c51b1823f097fadb6a4f6947e974","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.30","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-AX99iH8FdZrbyykjZM2ILG5X573n7Mdw/2P0ABG7TbDE1hJaeRWUf8FYlfbpZ4t7jvA+anuo2IJn+1Y/iT4N4g==","shasum":"69e10d59417782ae0a2c0bce72969fbcb6084994","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.30.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/1phLI6hf5R4IpJqjSoz8DSear9Nm0MYN/2rn0t06qAiBlxtBV1PV93wca7Ku5tFXq8qBmGJvLuu3pJYxUGmovcg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR7uWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkIA//QoKnsReL2ij/p4aBS8yGRB9Jf20PXpvy1Np0N1pc3k66cmzR\r\nba+bxDtrVsNhdZkVmShHtC5V0W45SdnapCNpef4KFN7nEfb2PNWWXMVtI3BQ\r\nsS8owIqsHxgs72oe3uMXaQxJ/mtnpVyTiXigx89aY6vobVUc+taV7XpSxr47\r\noKxO24OJ2qL2v5p+N1XE8rRiKlBX+1xMBeLeKNInipNzEMO/viyjd79/Gw8N\r\nNI4WZQu0szV2Ax4V1tqBYkcxceQzR/WKy98oqxUYMkfd4IsJDu7cc38GG7RN\r\nnA78J1Ng43igCWahFXteHQiY0ra1ViWtdrj2X8fvjKj6xQsHVdAW9U/US3mb\r\nbAmrpCLMxb0eFuK0AQLo5QQMRUC5gQ6iH3OvRWcm5bIelQwqS3vNUJNSpW5i\r\n+7ptuB9kDEsIBeFJeczbQzMImsvy3bN76j28j9N0u7Pd5mk6/0Nb1CxarrMW\r\nYS2iuUE0uyte54ApNL8wze1Vc7G2rVU+25TXTE70YPia+swYqeICjFPNsizO\r\nUelN7lg+MeFbn7rhyoM2i+sgWXukKrkPyr8Qjike4/p4IA8JVWbJLOI63Rd2\r\n3XlIPNOjG/22c72l2hx2tAb2mdLEdcQvH8y/bmWrKv5jfwRC47r976MKpp7h\r\nTlVQhqSdK1KjhocCO58swHXzY1Vi/GAYhYo=\r\n=zy7U\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.30_1665645461860_0.5143285075774542"},"_hasShrinkwrap":false},"0.8.1-next.31":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.31","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"fe90ad0ac1fc1f401075310cae842a1e2136a361","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.31","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-koCwfRtS+L+XGicuir0kp/TQ1wsIORYEQsk3HzjGiDEgFtuF8h3yQeWWOpW8zb0IrpOHlirAF0habhKoQNsZAw==","shasum":"6ced2c46a46cc14986b86247dddaba5b9ca7e7f0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.31.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlnVwLlYcDKhZwH/AmL3kqJuL61biKdAboNHWwulb9pAiBvfNzfxaw70zC/X7gLKdtEFId4iJO+uN95ntJ2zQ0Hqw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR8OCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrq9RAAhw2P25+1VN9tsLk3ytbwozt27rmpsjCjavshJWU54EyGnBlR\r\np7bC24ACsLAZVHdGWwkC/EeuVPyYSYTu6hxbKaxwdcU5NPHXhzJ2vjhUx9rD\r\ntEa9wTylyoXySgWtoioe3llvFJ0iemT25aIGTc9lhZ5e9GBnZ6UnLqdqtlhu\r\nmkDhomv0xCjRHrJibKh42yD2Ul0d3yabXf6h6EAGz/VgsHUHwMZvjd2WQSiZ\r\njQ+tZkmSM7vut67Yu8fPa65Kdklj5rfr0JPlMu7+4zYleIL1sn7SrW3lvxuF\r\n36/vzJri22uSdMiY6nWp9I61njeNqVJpqfxUJCy26cEC27QP4Shttvee7Lok\r\nTznakSyr2o3jdZRFD+BSDnfkLH3zFJjhTzRrUNVFQM3in9mIKCIJP/Td1xgS\r\n0BVmsgm4kDvdlJ/NoLF+50GgaFGX5hLdz+xxN0o82kq294KkXODj+z48KqLn\r\nbDDCnY8EowaL4PgXdJaGfNSOpOAF1e1ECuWk4d0zfCwQwXBFuLQPVuxy5Anl\r\nBGrsUe5KyjxVE1XXgBL3jJpg7EceYFrQd+8dGZlvVtshgC/udpL4PrwreVCD\r\n36NKL9sHEBw+KRdtwRYgcAs4E9FsY16v60XC9ZwfR8fJ8wLQ+JiEMRBkSMd8\r\nXUtZC/VhEVjhix571tHsV6b9itQ+gPE3Kfg=\r\n=gg75\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.31_1665647489804_0.6424456982728051"},"_hasShrinkwrap":false},"0.8.1-next.42":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.42","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"5ee80bf59c72b012736e5a1f5bd1cf57e7264150","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.42","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-6TTJmnAmI4hPTYFuNAvXc51HDIjuijFEIREvjx5kgMn8dmVJOzSH1YPR579HsGyBpMJmme0jtphmgMhOMuPhzQ==","shasum":"ad8b5d41fac28c4d9e9d481b3f55c9d80f552a0d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.42.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGLshixZqRx5h6NtEOuaprXu1ZToEG54ojQfYOkoNAJmAiATmLc/nykJg/QT3yWaeeiCutQy6suOkZohiSxlX/Pjsw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTontACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrd+g//Q5sdATGTsgNCtWgcf6HqU0NnCS5zFBYJFG9TEO8j5FFSIl2q\r\nn3UE8t2JQQBKe8aqm2keNh9W1E2CySQ+i79lHVteyiMxpLlxmNnT3w6vRHdn\r\nPtw49MxX6s49VriTWDLs20IqNXdSloDp5OlLQxf73xfieJvi4fptQLCYgEUe\r\nx0sWcJ+vJN/E5OC9Dw68acWZQi7T38DEAxhhDGrgbfwFVwKd5gH82Ur4s2+K\r\nWNoy76H49/33BXWPaTLlRJUXKMrwu119cErJqT6fVrF6ZBMGvuTQW8KDUors\r\n87dLqKjSFbXQsC6LanLeBre98PJKg0QXLw8pGiYWk5Bk0wEeKhdO1J+AHQPY\r\n6nqEzN+h9BB2UEZ9gQY+J7rYZ586+bgox48OV0PqnJVQSyxPq5q/fuBEpsK7\r\nNIFm8rfo3fhikv/Qf3Z0X7MLkbDvE31t0wCbt+HpucjF3uFt4DpThqMfJrnY\r\n2LgFSb/jlDtdxquOH/w8e4nrgISZQGHl/UZBTt4pd8rvu/UhFwWqR7oemorL\r\nQMRW9K70hO70bDtnPCL7S7g1nHak7C5Z3jThpI2XIL1EhQW/Cqg+vYtQr5Xc\r\nzRfHBFhAr++f+4R5VDni8hzEtL55ePywpSaVy1d3s+swivXX6deHSCqDNnZU\r\nouAVZ1GGx7dq54W0FJRfTAYYq0ltG1jx2KA=\r\n=PuxZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.42_1666091500832_0.14734635133316187"},"_hasShrinkwrap":false},"0.8.1-next.50":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.50","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9c2d649295ab8802118f6216b882de6f86ea06dd","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.50","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-DlwoABHSHghGtOIV4mgZqi/7h2M+waWnRbF/TqXjXvE+GIWSgguwqvmILKFF3xKuk/r354LhWhWhlqirvkOXUA==","shasum":"e750a8138d6d03292b8a7818ca199696efc560c2","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.50.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBD6ra7hMHQ+zz3P2wYsPSB0I+jUWlJQXfhWQr9QFuisAiEAp6VVbcv+oMDcK1d+3ofePKhzoWauUgSLcwNT7VtmymQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjToo9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqhdRAAo5bZ8HjnvrgF9XJQG2d23qZRxAvB1qrbE+o3SNNTaEUupoQU\r\nyZyj7elObz2MISqi/2OiTxZSubuQpxCMFquX25YZAuinK+uxxZnQR/l9ZVWf\r\n5wYOr5cLkIyFTDVTQ2S5ag2I0czZ3rGGRfgM/1wEx095l8cEzJozI9oqt7UZ\r\nQljat0vb+CGWPAygHOgfYCpRIQBAK2g9KuqRUV6fw4TfykTbJyY1WPC984+L\r\nVb5QGjBlKs6FFxdqaZyOZEQAn25+fpDaIwB5PPR8s/fUYLDCikksHI3/Ni4J\r\ncbHVdPJkAEVVNOnZVMhchYapTa7W3B3sjqXceE+dN4vC1ZcME6vwiQqo9pM6\r\nFfxaDpwEl4vo5m1KvYTq/0SKNBDn8njDF3Z3vdnaruyvuSyyTvJTQ7I91DPM\r\ntX9PGi+I1EbqMEaQJQustXUUNPhYZJpsAvDQsq5oncmbxMNaL2B6j+25VsSc\r\nGGGhwqF7qRc+rjd2E+W2ANhVUaTnlzads7eoeyAMXQUZc60+jANMZKBiDt9n\r\nWRik8DzJ499HQRgFpdS1O5BC2BPTnP20dKnV0EJ/zBcYMSjxB8DhvVrSKBNV\r\nSRKf54hpy/uEg1NbzC6vjIKSkxe7N5Cgf3gXTeDNxqpKX/MsBVrnoxYkzM4F\r\noLk70NESKqElE7U8p87MxT3ETd+syGrKn6k=\r\n=DCEU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.50_1666091581429_0.4520529004840288"},"_hasShrinkwrap":false},"0.8.1-unstable.50":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.50","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9c2d649295ab8802118f6216b882de6f86ea06dd","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.50","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-WxiGDIo/r0IXwI70iVHS0PVy4mGzES/Cw2R8DO8YoN006eiC0UVLMHbktZCPPlY2LgyOqxp2I68vi/aD3eM6lg==","shasum":"7a7e3924e684f082191e624c49526018b387b92c","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.50.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9MnTEyIp2Mh6ftL4s1VsY8ykeSYIsHgZ+VCocJiH/GQIgUnQLVWyqcAtgOcw/EFzO5RRlJGu37qMcHhvQWoAGzWM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWILwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMbRAAj/b4gAQp0LYgIMeWPnHmRTpqfF8wOHgnFlHbK7+PMsI/o29z\r\nLJnL5Xb3WpOF8CCcdj3JnZIDIW9XZMtyZdWXgDDTfMpM5xclsAFHIv7Kb5kH\r\nizRxMrkasYHEn25C9/GK1+oH6J3y9yRGntp00/dA8jTiUoaDSan5mSfzUMio\r\nzAavRye2NBot11n+9Me4zO73DglLi0bY7YxwKGnKa5E4QPHheLCS5o5gHFeZ\r\nZI1hVdHDHI17Fe8ysiJR2pMlmg2W8ey3IfYzJQAxuWtQZ+segUgREv5yYnDv\r\n9JlmCRTziMgtusotNFTb9coupP9Z45PZQ8VB0lp2Cgn7G71NunH4DBSi4/Yg\r\n6OeVIEMMXnX+e9WtX/7NluNalpGphqLi3MwOVpDDjjW+Dxdf6bI9bbxAw/mu\r\nI42mYBS6XKHHcFa+h2OdJ4djMCzON0bbVwYLp95xhu+azBD78ksmVXgaCkQ+\r\n0Y4D5f/SmqOmJpg9nsX69LSJ5pMjS+hjTlQgP1xFIacGqPk6JnRm/LT9c8qc\r\nH/1AtxZv+5uMFr435HINX2E9aQeEr7DtOa59jUJ/NzEt1UUCep7Lpw/lYtDs\r\nqMlCipXFuJeveB7qdcHfXF5JfXrSTWGyKzUOS4/gXifummesQvPXs0/Q7959\r\nPYrKy2UxN+oPHUkDKANBEtU0mYquSvD3BKk=\r\n=hf10\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.50_1666745071809_0.9574616666855289"},"_hasShrinkwrap":false},"0.8.1-unstable.53":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.53","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.0"},"devDependencies":{"@veramo/cli":"3.1.2-next.84","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"25b005d39c3f06c1fe3db9def63cb6642e774f75","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.53","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-g0yvQhp6a1xAbknuH/eIwiXRQXGDCjo5LcSOgPnLGOMpMtbAb1bRcGXsW27CZRMM9Q/mgJKiZB7nEYpxMzk/Rw==","shasum":"ac190bc6b094e348bc549c1b411da583779afa79","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.53.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnc93z/pBimyStGjtnTc+i8nSHbRdSFnvVgk8MRaKhfAIhANyAbKOBFS/RuyJ/gw/AtfvHGzZdFp9xehLOWFxaB4Ib"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWb9fACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRHQ//aZlhlNr8cl72Arpl4R0Nr61cuzaHr8Zh0bxzgvvN+YvQEwSZ\r\nuwPw7tO4V22qJG74iAGD48TeOeFtlQJEgVS1OZvfqofGpcfm3/aK2ceQjqok\r\nXTCnwoPP3UD/mYcHgfGl6ZRga+x6XnYo6WZ22J/J6R4watO6rJ5JrcIBwVHJ\r\nbj9fFN5QczaZ4WEEszR7fO1riRp0ODAzd/qqaU1n9h4PzI8i0pZPXole7RBZ\r\nwJlkms/NdAUNdsymR678feMdAjie+MRySozQmKGlm5VjmugmlGKHW2R7aakg\r\nC2hnmdKwjTSBK5S5bgCqZ/xS3KyGr+E4oTNl0uQ+3tSxTNjV2REoplHYm1qd\r\nT5O94hQtwX5X9grGsyTEz3MRM+1YBC8zfJF7csgl3eiJ1iUU6i/oKHrUh9J8\r\nr1FLBp9BSJqcPZnYiG+Uw64FMAzJGCT2cIYwpnAkJfuIdzo1MSzLzgTjrEXW\r\nFXVPIxYmnAsnpYOGc0iSeTyIBabdlFi6YHZV2vnsjFfYwKt8iceThwZCyYG6\r\nHO59/IAyjVE6ZQ4VEBgffzi5/3oL8cYyCi8WYr5Io/x6CVdOJjvbQj4fSqoa\r\nHfqTlWSCQrqsEGvvK6UbDnyi/WFLwqO5eoSBajIKFb1QNCDWrcIr/WPVtLBA\r\nvn1lj35J8I7md8xDe8JKZatNWSdm4oqTmw4=\r\n=HjNQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.53_1666826078798_0.45094921975107716"},"_hasShrinkwrap":false},"0.8.1-unstable.54":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.54","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.0.2-next.19","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"652c6d88fc4778f6ae276d938d1d7866a9816271","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.54","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-SeDaUyjQ8mPnLHY8Zx/uZ12BbmO/DUFTv+AqCkw54Y72VS2qnM66wc/eGnlwHqgNRqyHw6iVnwyMBf/Rrfg00Q==","shasum":"037a1eb136458ebe3952bb8c10d87fbc1dd5e0da","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.54.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0GEon7RR3uqbtg+uvgp0vqGfgOkXjaTE9o56wKvp+vAiEAyGQYRWIyU8bzYqBq4Jx6cxdQ+cqvThyh9veq8MyeWd8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWcBeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUWg//cfmv7pEyHnB+s5JLQ5hfsehQpWJRbjIoAL772blBCoTunaB4\r\nVRF9BuFFp/+z0AiIx9Xy3Hv/Pn3Ls99/NG8ww89cZ5Ol3UMLzb51eA63kiHa\r\nU8068f8TFDpNiFFmiCDO8x9LzhS3pgfNZR9JohJG/851vHXf3UaiLjvUU144\r\nI9TH9KNdpk0ciegYDvKiUwyAS3rjz88KevRbHNGUwHSiNcj83OlCdD7Ncx0F\r\nM8Ib3t3JnRDxDziwcBgIfYgm3BZ2i1kl7uGBeQPRfiS1sm/JFewqN82sOYQa\r\n4KaxbsmIC3Cttq9KtnY8kzSPqyuNC4ZRD1gmDbI/BaYpT32hWDrmHPT4gn4a\r\nJysdI59a/awBNsMNFAh8HGbXU3mVw6F5MHwnPvno+FRYBvha1KQfJ43Nke91\r\nbvfJ9Crq1i6+BdWQ+Sl8mtyhXmot30wcJmaSMN/ti0OIJOZrUmQncY7smypC\r\nNdQGrybhQmZ4vrpqFwHnBtxkLuuUxW4I7ubp0kWNMMv/BVGhmWH3joCLYDYC\r\nQdM/HiXDScEeNF7yuX3D61poXQusFbqc/1ToeyoYUfxuI7tMJxaHplg3xc1b\r\n4TvStJXf9mMf07okhAjFS76MiTf3B4gFzFvf2GyIMlX0ufLy9G2XifQjnX6v\r\nkR+MpAnVYxe3CFt9PULJfcxRKMfyrum50wU=\r\n=APbM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.54_1666826334504_0.8710665965972526"},"_hasShrinkwrap":false},"0.8.1-next.55":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.55","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.0.2-next.19","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"67d3bbcc2680bba9ff7fd474ebe4f234f6a1a4d6","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.55","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-qRiIXBJlZTs8+I2tVcS/gdGAhUYEE7IG8ri9A85Fmbo+XGspgVypOLdzVRyDgCjAKgiNsXOhaKXBQdOsEaSX5w==","shasum":"b45a35be642474fbfeeed7cb50c310035c111301","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.55.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhaCObjg2iFpHUi4ka4KObQAWaTCt3D9pIXL9CCKjNbAiEA6Y1J9xOzYtk3WH9NjricmRYEf1fbiMrBHPo7OsWMXs4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWcNBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqExAAnJD1fQ564JzAY3ybOiJImaQVw7r3+psZWxvxEacL0vZcwAh5\r\nZ5pViIQ89hsCrKLwp7PPy+6FkbmME5YlJsiwPkrmUADh+T6bWx/gi38bHKNG\r\nN9HYmTq1sgqCOupVSG+yqxdXY+/t2yAB4t+StkqSo1IXzyo2o9TsTFlFqGw9\r\neyLIVOcFUh1SdT34/6GSriqSL+X8p1IBQQnEsp1TEKxPy/HXQPRrodM+9cxl\r\nC7hd6Ga/my8TaGc0SJE9lmfBXV1vYzT971bgzgRb2eA5Qf3BBDNFOB+9qdEt\r\nF8QT9p0gjU8kAW4Ts5OAI+oIpMWtLXFYPrfzOXoW6TEhCzvL4Bg9HrE3oRF4\r\nUQC38Jvp865PzQAk4VcClFXe5/wwptfXjjevpMGh1JKgnmn+h0V2Q/ptxZ3d\r\nNdSYG5wSeBn5eXOIDNdlfVXK8BszoLxhxMmCVeRnOgTTyQI7QHu/Eih7d91C\r\nPa5QyRrP7D1prM76KWMRX+Seac4128CCUyLHqd2+4xG+csUFCy+y3+4Ch0I3\r\nE5yaW7cputPxwx1edBm+BnHKBcVyeiEG4yg1uFOOWSNAchwj/qDARrJI0rfw\r\nSavXKrztVDF/BFQqdxqkiQslXlss5wWDzBAgT2PLKQ9m/39ZBLTb+bujJxHi\r\nPRPd20Fw/11U4WBYDVmy+dMMAaoHpE//rII=\r\n=5sS0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.55_1666827072989_0.7827829745681987"},"_hasShrinkwrap":false},"0.8.1-unstable.55":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.55","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.0.2-next.19","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9a710eda8c2eeedeb58ab41fd64172b59317f29f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.55","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-jDkr7i2hpQWi5ZZJOOmKNyr2X2xQJuPIamZQ+7yQ0Qcjjzi1MnyMNpRYCNYpzhBOtejxrXLM/Bcp7PydElAiZA==","shasum":"a3612f6cab1fab7978ab51c54d196c180845a681","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.55.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAeog1HKivdjx7riFHHu0aVDbn2yW8Y2IU7DgYPXz3KKAiEAvawG4V+Q6g3gEyqOOYPNJibeVAIUD2etFbHVmnC3524="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWuroACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjgBAAjSrb/eKWww8E4tBbKQNaP9eqElf1pIiQ/hyM12atBxGjH6ea\r\njHC+i2t/BzFjO/U9k/KgYmP/ASBFwTSyVWb5PFpw6KOBXN3aF6ESBAoqtqRY\r\nBkyoBMEGAssVLmN5upRVlbt4MH0mJ2pUJQnVIJLHTZQ35CRoDRQ698hyFMfy\r\nhLHNXKHrf83AnONGCxlUsQRuugts1AJb6iOSIvdhZloOVohNrkyfPn5hziEK\r\njlzXoxBwpy0eo6Nk8WL25EbT50zKC1gyFqWVK/ueSfbStTNxFzmERaRswuB0\r\nJH7z2AlNiOz35sg35YZwrn+KkLlWVnR+HCsxPIK7t8YHl5Py/sSdRoZqmU56\r\nHnaj6jYeyzC8lecd8CYdRSstIpUa+/NbBHXB4dshN7uieSD/26Rq2bRRvJmT\r\nllKyjUTdcoqemmCWbyfpRzsAiQz0zmNUv7FaSseo3zjkY3M9ItP/c4oYkJyV\r\npJRQaVKt5JzbirJZCUIZ5hVgqVOSMiKu9QYfa7Rk/qN7qw+0cd48+lse7TSi\r\nuV3w5PTAzV/XFIKxTHwQGPRtNgvQXTrgavVa8W2F36HMA6Qe2XLb1eP1mClm\r\nyGmF8B+9+EmUVWg73vGq2ZsrcnYSGK44WM7zwZ48IUAXhklti8AEQO0Ug1bB\r\n43EEFWaK15VBZa9U7rotoZBXW1hWoQVFapc=\r\n=xOeO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.55_1666902759783_0.8528042171836141"},"_hasShrinkwrap":false},"0.8.1-next.57":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.57","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.0.2-next.19","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"12b0e939c1ac9e6d5fd7a1509e24da4cf25d4cdd","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.57","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-SlsQxKXMb2J6F9Gcwb/tb5Kmo/QDaFCD9sKulJEeQq3PXALRinn3Es4tbAN58HBpWde6KO9uEBhRby1HmcxSPA==","shasum":"cd998fa6e711057733765e1785c0e7f4161c85f2","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.57.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbgNYNvud3l1TI2dYTRr4+fUteQv2A8JGnJFlqBiPvYQIhAK7O7ZT6kbzjrDfQZB9npgwGiozUljCRPHUd7G9oc9QY"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWuwWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBLQ//XGjGAkjLDrIk5rNV+mcCzuQ+arg5GybhdI7Emipzcz0FiwhU\r\n2yG8uBDypRajTE724+ms6Sr86OGi7236o3ftb6MhZCqFNrHc6ltDrNhAIFiL\r\n9TPn4imgIBe+N2j6CEjneg/PVEb72l67J7OyPBiI21zR2cq1kEJ8rsysR/no\r\nR4VzFAuecqXES0E8gixBH0tqsu7EpQ7hreXQAa2k4wD8DU8zVwKsyEPBfElM\r\nNpi/f8wzgMBUpBYEoBfUHzI4qWehLL2h+ZjoT7vrAY/kbMoAXx4ZPuEjRlKS\r\nvTgiF9o4J4xgj1yYtHACO5vO2Yl5jBLVFU5T+ga5kXmjNiD2sElRj4AY/Rbu\r\n6QtZV9ulQcbjUevr7uRPPk6HANgRRqEAMRVtsBUT9jLYXEdUdCnzGelIQ7n2\r\nqmX4TcSngmqKOIX1enQEnmt756DU0aQ2q4i12uANAzRWzTxNJX+Y/aqQRY7c\r\nJZEZyeOtttWhr7Ep1frYWMrZY33OV7A1Jti6O/+63JdvzdbIgfKKpCdveKOD\r\nIsmc6HY53gLP7PVsZP4qha1SBLYSJ8eEdnbJgcs8iZGgRWPRS38hFFd6ZF8G\r\n+P6dBOkbhX4F9jQbwJ6QFJMzRgne/LXMMMhs28iO6alMk0AElt/Z1CHAK3QM\r\nIOc69vbKUeXQpwp/SGKZfWutVJ7vkJobb3g=\r\n=ZjSy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.57_1666903061980_0.8799563268489436"},"_hasShrinkwrap":false},"0.8.1-unstable.61":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.61","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.0.2-next.19","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"5254adfc5ab0d368bca2a55bafa4498ee270dbd8","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.61","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-8II7rX2KfNj8xjKf2o2reN9hNwNbgopmfTINeK1hv6MULhAk2rp3LfXiwkAvvZXFuMDIOep6QtmJsW0wVXSmeg==","shasum":"80ef03017aa84d80cc1fdb271d278cbc3b070e03","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.61.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAEkZ3X8T8y9UbG9dwv+zfeLwloRxNpmNrXZuSo9Br4LAiEAvAYs2PsxMIo+b442ogPqSGsfBI0y/CEVnfr3+xeb/rQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWu19ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/Aw//SXwI6tmBD9u+K7Zdvkzi8f5WcQbJSRKygUr8NoStd0aHl2s1\r\ny3fqN1GJg4+ssrf8kJ7ABvEYmhisRHmZ3aPpLf1Ps75rWcApIogrsmAArCqp\r\nCLQkR0xKuLp5FkAvRnqzcLByOjHzGYJizXLe0WyZxw2zEIXAIBl6ahx8nq0j\r\njzSx6ebmPfTookhHbDtinFCykhvc8Ls9lCeImQfflaQg5UWIqf2ooW1RaWEf\r\nWROacc1CQ9nwHcMQxx6QZiCuK54ioNt9/F9guTbgDDJp6g3WGkItgpYI9567\r\njFEuUSm1eF8SZTme3h0p+DU2W//SeJVMoT2Ro/5zWYUYa+pkITFuoIVWZaiZ\r\nS0/pjgT6BZMzouIXvxsxmjrLMa4mV75B/VmDpJh2t5bhXypQ6kiRVOZ/nVk8\r\nozgdG4m89eoC3DuZG7YyI8YaaM8HWhMZcyd75Mix3HkmBjbSpwXw6+2XLK8l\r\nO/wCbmGg2HcRGZ6VAMbJD0V0hvjc/I/7kxgTIepU89qgzmOOjPQKClYzoZLr\r\nRkmPyGkXme2+QDeKhyP/u48UY8qHIJlvHxpomWBymx9jbd5i/ZI1BiJwOnX9\r\nVe9BA2QCk5JoXqblnu3kY6Rydj0zoUwHwIqxTh3Q5PoCCZ/7i/2N4eEaUqXd\r\ntaaagiihDEzFhUO2z98TnUt82gyWZQzUtok=\r\n=PoA7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.61_1666903421406_0.4740158687314504"},"_hasShrinkwrap":false},"0.8.1-unstable.63":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.63","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.0.2-next.19","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"469843faa86f08a88f7fd253381c904fd1aae282","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.63","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-+bsUemaAbfEtZ2nvRQy99VpafCYFQHy6jzHhyq9AR9xYeCzp+hepj/VNOa7zbIMhpAinskCcCTREaljwSpsSlg==","shasum":"de04212f37feada95b08bf2b1e8c662f843fbfda","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.63.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHqVoI8GOphby56AqjHp7q3D3siqptxm3bw3pFwvNTuAiEArD/oXdIM+vx6vzUZ7uef/9MBhlAVyrRx3XCxO3NNVn0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWxwtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMWxAAgtdWdW0V7/Num6g7bSOlZqt8LbxW1Lc1Kk0yVTHgryHungWq\r\nAC4d0MVMuSO0ikTfLyY8vrt1eU7jEREuFpWLn36IRGKLa8grHZQhzltYXo26\r\nyhtdr3ATvdQuWtNpq5Hx+BYFREgeTz5P9qF6beX4gVo1+9T4vxrqBFGDzIm+\r\n80KR0zdJKIIBzdwLbdcqzm4KLaLYuMkh0hO1inEHcDfI442++52DKS/VzAex\r\nCTEucRsS5ZDpHF6akTqIopsWHf6xktW5CTDZSYh1Zegvgyt1FwJ7kLku+bqi\r\nXSpdcOrlyJ3Aqo/MdgAHddObyn2NYv5TLl5UuHEjbosW9AE18UHzksqCaL0P\r\nKq2N5HGxAUx1LV1C6S+pbSM8fCSiHuk69YuCKmXRZa/VZhqM4tDLTlQjMnQX\r\ngyxzT1uXzFIH47RH78Obu7UNbiZroSoAqvZpntOtzfRcb73U9Yf9OY9QRrcv\r\nUMjtgNz7lBS1hLBvIwhPJGjUbYMEF58GiIWRLkJ2N0gCrJTlXwey2i7Q48nR\r\nTYVjKUwI0slsCWEoWczAP0qjnZHlVQP4Syles6N+SkmBkG96vRp3ZD1C8RPU\r\nHZ7QOzFWN8LTi942F30igY+2EnYRx9mUi3V3HuKPR9jnrzg9juz01KRY/5fv\r\nmBh7y5oOGJr/a3y+WgGd35MTlE6bxXMPJDg=\r\n=frzr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.63_1666915373416_0.2991695852842229"},"_hasShrinkwrap":false},"0.8.1-unstable.65":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.65","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.0.2-next.19","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"d66c11ea4977275629555d84be0f1e8dd23cfa35","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.65","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-AWRFqktIY9Hp74gnKGZKclmFgWHi6uqfT00BdQXL0D0QyFQBGfpXlOHt7aE+AFjk/3J7OmXh4pzrYE0bUGO/aQ==","shasum":"abd51f50e5993679429c2e53988e46bccb021e1c","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.65.tgz","fileCount":19,"unpackedSize":36911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWY+lnKg1srbD8OGO1rUq9EORvp+d9JbdATC0W0t13VgIhAM0hk3F2hoy24kJh9OJtkUgFJKLWVuyIiTZ8N8tOcsAR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW5e2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+Sg//eYBPNDpEMX/kTZDKYsFrU11U69S2wilzWBOW3pkNgmqZ3AaW\r\nAbX1ncjSkLoynd8aMeSi97Z/ViBauaFmrqtyk/ndZ7QCB+zokrtt/og9odf6\r\neOIOoKLOCiyZPP+NLau855Gj4C2nWdi34C9GcQ07SsTtD/C8WCWF110p35RW\r\nnD9Vk9y7xaLS8YtPYM+U/XhCyb3RzhufdS7UlYm2MJQ9p75EPK2A1nXROH1d\r\nLL8AHvZXXiT5tyvF/ZAGzR4Z5fzUkPZgG+NZPUUKAZ2T9Z1ezn9+BH9CK+Mi\r\np1HFnPrD95QAZlaWed3KpQMLjtozS9gkOF6L5++QdBJn4ILDN6gbKF76nYcc\r\n4iv7oBCslj4F0egWK48hUvuP9bjPzmZDHQ/h2Ry6GQ3o7NVZ5EJ361Y34YM/\r\np7na6EaAxie8f1XzbdAGzK/eN2TWKybVv3TH8vbk+lSWJusFviL/z6UC+cjc\r\nELXOSkPsSZ5QYa4rEbCzoR4BaH3R++4FgnTkBAk7c9RmlWQQS3YIGgo2WNKX\r\nUY0V5Cnv5xzEbo6Va5mzaxkBnIRcL9MUzujm0xpnelEF3GAfK+xPXGU8MubK\r\n2iQCvUZ50rj67EhJeO1ck7Q/aUAd8795NUUqSaB9NbMSgTWFoNFN89792NTM\r\nfAmgSVPhURjVciQDiSxfSOk5Ks+MNK/zMTU=\r\n=jUcx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.65_1666946998101_0.810619245928194"},"_hasShrinkwrap":false},"0.8.1-next.66":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.66","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.0.2-next.19","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9a65e8f0cbedd244a79460add8b3e7c6bb45ea66","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.66","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-qhAz/y9U6q6tM/IQpBs6oxUmxhNNrm8E0e6QjAaMb88bip5EBNrw/qhrDDDSscULHuiM6kF5DsA1A4G3b1V97w==","shasum":"08d8c0bf9c6278f79ae1663c2ba144e6da6fae9d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.66.tgz","fileCount":19,"unpackedSize":36907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHLjjyvFLRhVIxVqo1+faS1y5LCLvsR+IHalm6qf4Q/QIhAIc5gcWCNGq8XcSgCI6/hcfosffjgj9SEYlAl/SJPkNr"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW7umACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmob+A//ROMFtVL1TFtCF/3rDRKvUbY+QjlK3B++JM043yVoZTCnBfUi\r\njEgbygdWA9xDdOJunVB24DYU75ZqebKztbYfCy1FwAM5U8SjjJLbnClj+YCU\r\nErQSB8nJRe03lh7f6ZGJ29Cz403cbUUvWMVlhepXy79GAe9PHSQSLz/K0Ub+\r\nJIDZODXCdoK8yZ3eO9128WdTGYXxudTMNRGm5ufh66nkHbWdfqU8MfRE7sLB\r\n0GdnfM3gOpft7rwnCVTwThf/WIBy5CQS4YXJduogsEpzku/KWBZoIsb+JblD\r\ntaMqF+8pUQGGJgXtUNLYUrqRAwX3YBlZOguWbL8245o7f3HsOcbpeQGiFYL5\r\nnCeLC4GKBUm9mN08BOH/0jILElcABNbl0Kd7VKSH//vc+ze9M+3V2ZzK25Ci\r\nzy0tI2htOZRUcdWLCLu1sbbxuRGMqtiXgWdBH32Xil9PHBMC6HjTSxAm6Xzj\r\nVWAnzEsFF+4exNfV/8IxcJTr5JPFRyybAEjM2ekY2LsKOEdd3uawaZtUIE8B\r\noqywcOHxKDktBRnX7IITDqy2jf1UnGJ/ulvzmMx1EfdUI6KVMp/c3GOdwK28\r\nz9JUUMquRqVLU8nzL0iUoiOAvIYqxmtOasZlGO9nO/7Z8JnpJ5x92naPiaW8\r\n12eKru9WJrbk4TxCg930xzAPsbX3/B7jiwk=\r\n=bxMN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.66_1666956198202_0.9855043654025337"},"_hasShrinkwrap":false},"0.8.1-unstable.73":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.73","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.1.1","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0cd067d71cca9832da452ed00e03bde91159c691","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.73","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-9nSFPApMuarp6qfWZZQXyBdusbY5zLEkgPdYhJsSHQ/at+/+Yf9JneubhljyN4cBh6RtUl4BRYTa3mh+AcqvyA==","shasum":"e41a5f601c9197750fccb528993040ad348808bf","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.73.tgz","fileCount":19,"unpackedSize":36903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXyEy8cx0WvPGogV6NNWplPy6InQ7a2290oUm7cAclzwIhAKmHnQifBloc75ErvD3fLDw2TLAzIdwB7JU/xeaVtnhx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZEXZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGww//fZTFPBqithcUVVTNvo3/UUj6CWnSkxg/K7ksuU5Y5aMQ7DL8\r\nrKUDLQXs+LD6uDYGL7eWO7mRX+d42BdEoVFOA056a39dd5M1AU7XPgxGFMIp\r\nZUfSPgCBgHvZ0GgWeO9nTHPOe+BtQzE5Tgx8kgNXLSCY4Ql1/hcWwRdGm7um\r\nNaBzHYTroPUbtvAYU7zAmxTi3VYCb+wBhCfeg7rIXVm2IuoTOAJrxyj16Ogw\r\nygE0d+8zKJip2Bd/xSAa4I9TfgDprZKM+PR77OTRaTs6oXRlXJ63w4eXwJ/i\r\n95857TkqIhkm/B5ggtPH1t0k4LhCcYiFtnNfv+RRamAM+Xwpyz6wRnX709fD\r\n1pyr/r+Mwwc2Cns8R7aRRCm+WY8w9f/8vhBes2sHlOYGBbthXVmDOUk5c/Bl\r\nl4D4jRf5WOy+u9SjMekt14BaI+1T5lM5ew/7GkFA4LyjFhNe9UWnmVwXzz0s\r\nQLz/eMa/UBC0OrKq9hs/zs7GgGCMTz1+0sR4Szsr2ZQVvzGhdOxxWFZHBzRP\r\nXiRAHO5u+l1sOYEwN60G9dibieRxId/aZFTk99bDxmaw9Xd1pEWIOb/y1cZ0\r\nJjRtFr4Rln4S0rGldtHLI0G5+gy+Figf49Hary6CXVDFu75yZ5/hxUYlw3C9\r\nEEJ6MiYcTvH4/dPHfdQRYzAkyEYqCzZrLHY=\r\n=m5RV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.73_1667515865163_0.5276031653699467"},"_hasShrinkwrap":false},"0.8.1-unstable.74":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.74","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.1.1","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"12dae72860fd0dc00e96a8121b136c2195843388","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.74","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-vSAvLEDsd+rFwUZKJ1kfc7YdKuZC+K6KrgGP9vb2KjwBshBu3mb3goJc8pIGRsxBprBHHnbLqChMvEG8Ufn/RA==","shasum":"7321bba4bf40830632d59e2dae9229cbcc8ffb17","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.74.tgz","fileCount":19,"unpackedSize":36903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBo38UZxrSuvj7sicw8kLTHeeQkiPlzrtUo0SciZUEHgIgK1OVgHIRjHp8uMMpj7nFbgj0t/2T7GH7ptK/59RKdig="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZFuqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5iA//U+CUzLAeCUuJW0mlE8So1lIQUHtODKA1UvRvSLYGUsMLJrWA\r\n30CXNlT2D+scTNMz9F3xhHmPw2gHWIt7U941l88j+COKMxl1wV1w6YQhAWee\r\nfdiNpBqQvXDYQOkUaDCJnwqgHmcCLs+BPqEoQecsW6IyTZho/Jokc1D2Q9SU\r\nNbhAQa8eNrwrh5zy8JwbuZ0HULO/LuFMpbc7gw9Bj7PToU/KMCceFTvQ9coJ\r\nsMD6jvbvkVh+934ddO7v2actevSSaTIwLp8STZ377QCoZWuV5IZR4k44PxUR\r\nBZZH5hAAwro3u02MCGrkjvlH0fULz0ITe+99ZrJKXf/n0U6aoOFNYwvwW6rC\r\nBc5fTwx7T44G3aPoA0ppP2bKkuJigAURVNDpSGv/78ziUAmZT5dY2qvM1Kgu\r\nNDTj17yibNYlt8LhaK8TwdNqtHEMXuChJepPlHhyk5VbmDiMfr779dJZDHPN\r\njX82UYLaFfsVJx8dzAnVY4hyoimWu/PzxIhR5XNW/EWJZMDi11vQ+hNHMg5X\r\naUUfH7jI02JeCeesVL1K2xZXDnW1lGcLeJGjXl0IijedY7r2Jhb0uHgEe9ux\r\nQDXyWxMQG1ouufdVmSGxoqv1MD3MNwHaFCADK7oM7MtC1ounUJuSgyg4Pigc\r\nw0FSycTlaWoU7FZ+xvHOtXowU9qmvTmQGvY=\r\n=/bRq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.74_1667521449795_0.2124103157024806"},"_hasShrinkwrap":false},"0.8.1-next.77":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.77","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.1.1","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"473b111b98030a1f795ff1e521ce17caf202b4b8","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.77","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-+iLIv1k6rlDQ3W29wo4JLIp23CNyTEpsmdE0D8T7t1LU6RfTLN8yHras4kBVErCcdbUH6skdde08Z+g4msYZzQ==","shasum":"441c80853277c029d65998c6d1c4e0a36d4e0b14","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.77.tgz","fileCount":19,"unpackedSize":36899,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHdWbVMQ0n0Z73pqLow/cK0vIdy85Iv0znL98cPZMLQAIgW3p+neke/0wcwHlks0+ejHJqu0FwwleECs8Elwu06g0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjanPQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqV8RAAkaT2vnQguQs6PzEvsm4QjyktfuIZXByoq9z+E4w9h4x3zpoh\r\noT4Xd8Jvb3GHOjjp5OPezrmkSt1cP/7Qnwp243trNGWXHjTEgtbRKxojak+D\r\n4t57N4lNC6lzoFr3HAfq9qMnjL90b1apZEtjMePYuD6UQwdSO5SYlItGHMFg\r\nEAep2WO2286VoUza7rBBTJBmBs8M75IdZh/uPkDx5V/bYgnxwnulu90yQL9L\r\nC1QzqU7WafRvq3AUGvYVZNlB0EVBad+egrI7UCBEKWrDwTOjDPJOZHRcdSf/\r\nB9e8cBdgMYPMIEa86rG1gNLPl1Jq9KNE6C8IjGW+rSXUc10/qRtT3cfuOaBr\r\ne12FE2c7jeXcCHd5sAebC8KwByQ0G6C6RKHv8+PK9S3MJuQ5g1cJThSUSUGI\r\nQp4V7DDCGQIcSQIf7iHzw+9zkkzu7RUstqcSpfsCv28p1xkDDTd62xu8CYrv\r\nVnSMQ8j3aYxjM0QbGg/esY1PNZgq9HjYik1CeXOlcuPLsDc77diiw/crwbzE\r\njOvjMNpkYtLxuhSgd4Mfv0KRJZw7FrfU/jUnbENlFDFs/FjKEG3NeD8b7kRq\r\nnFZzZ7HFqWhKjfypsu4fjec6PWroKbmAfEAVZn+ttgExwTS5kzJWrLMV+xfn\r\nY4K8cGUazYGUPDpqGFgvuRDNWUrR8kfC3LI=\r\n=l+v7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.77_1667920847920_0.5062444691627981"},"_hasShrinkwrap":false},"0.8.1-next.84":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.84","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.1.1","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"d94e147dcc96a10c1107c8f66a991dad9c5cfac5","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.84","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-RhRem2KU+Jd4A9JcAqcfEWMwbM4GAi+9OZP5XR5sjbQIxW7VDVHa1iSaQMFIihb45RS+uMl9G6gmrkg675dzQA==","shasum":"32246446ca28a3bcb91d2f5af698eecd9d554035","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.84.tgz","fileCount":19,"unpackedSize":36899,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi+N/YnjMSx8pLw9U2GHtEtcqAj7ONkFMdSp+CM/aHJgIgR/o6IMxqJrhlS+sEBZRHMz8xfiEKX+A/q5RkQFmGJg0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjanXuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqY8hAAlmY0RdkTHLNKjpyfWUyopaZ0IbCnAlnQotPFk3GHPya5RXV9\r\nsNuHLsm8QzbituSLduBDeksegLzxd+aVtu1SQ61q1hgUGdpELvHEiM/w3Zlu\r\nmPyTlNFbOO166yaHgEAgMD/KWksiCBJ/Iyz/9a73G0QjF6Mk+M/Ouk0+6lGR\r\nCVUnGWBoHd7IiFDjw8N5EjczxKqQzW7AogjD8PuBrEc02dL/w+Pjbc479+hw\r\n01SEiiQU4yv7a4Eye5emkyBH2+TWc76e8rQAQgF+eFmsOOTZRbmbFB87A2Dz\r\nMKLEiFOyQwTh8sm3L2lAfxl7p0KW0uVsWWtzoByNuFA7yCsz8FGOuLbPeXsD\r\ncQm3GSWxFkZ0P2bENNaOA49KSpfZjFCIpeegkdYXCCHKMag08E4TSI8QxK9g\r\nZ5P1spThs9YoxSbSpWTuEvKtPrsFS4NrQjvagtVBeZsPexpoIrdAAo/eghz8\r\nZH9NyjoBvHsc289c3p5qJSvDxtQBC6SS7pJFzoNLAf5EibyrOKXoKzM95Bis\r\nITxKFmWXqIHAt3X4OEC0FxRp8/O3vWMDVGhPDEjlBvuXGzc1U19KU3smsKLa\r\nIfNHenHTx4AcyBWK4S+dD2ZEL/sNRo4QhRF3/r7ArO/JPog20tudnJVAY8KV\r\ne8k5d1x0mIIE4k09meO7XfiSoukPQR8gHB8=\r\n=6VUp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.84_1667921389917_0.17315588362048207"},"_hasShrinkwrap":false},"0.8.1-unstable.85":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.85","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.1.1","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9c5ceddd61087efa8def8f748ae1a9450bbeae46","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.85","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-nbhNRsb7j/rWVUYsFgxdW4kBKPHr+ocuT1XeZku99muXNHIzgoSlzonbUZ3dM60UkULTv6QxMa+nfpIzjwKsIA==","shasum":"84fe9ddbba257d093501a872d895cb4697d9bda0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.85.tgz","fileCount":19,"unpackedSize":36903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0fq6mNQnkqArev/pP0YAbEa/824wL0X6euKNpSpRk+AiEA4EO54oHvHpdQubaKVKab8sNl//pm2PytHn744vBS85o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjckUZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/WQ//RU2zybV13zzdz0gHj+CiBqjl/NK+GTIOUTSLRHJL+1RUCSxf\r\n+MXAipYOFPvPcpkaMQ24PDF3/iJQVNoG1HPYM7NjjE/7I8ousrdcRHnho0Xu\r\nWuoHiR7dFyRj8EO4TuozPq8HKau4j7uFRf1d5Tr1CNKXmzGUf2rKLt1tWibD\r\nJVEoMIhs/cpkdDPd9JbOfXDfDuck2qyyvo0/XS74a5eky1zMGKfHxTFnqnZ3\r\nsQ89QcpGsW5cNKzIzgDckCBYjjyn3CbFE8UZeXRWV/lDsdwu+abzfBIoaznj\r\n6X35QLuzlhJsGqSEWUY2rDhDFvhQDkxLFatApxdpafHAf1Od8bsigLTiO6Lw\r\nfakclDSD1lg/B9N9BjrBvzlUx99OhIlDRGuPlNxv05Mm/zb+6kfLF68VKWtD\r\ntjSkta7QxEBuxfcqRyBE4p4WtU9nukxV3mHu0ehSiU4hIFdAJVgUdHxMpCIf\r\nC2ZRfHYDWYzfTZGAPHRf0G5kS8TnZzqmKcLISMjtqDhwo81lUWzqlu5z0d6n\r\nynhcHPslbgwsL3UxGg/Uu5m6N4XnEgIde+oFF9abDwrr76KdHobeVW5nqXgW\r\nh19Cs6ml4AelZdczhHnnpp3KutI2EeKN2aqeQKRqASPuzr2LeCNgSfmqVbG3\r\njj4B01IK8hNFukehMGpEnV7H0F/y8BcScsw=\r\n=zN7c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.85_1668433177396_0.9603186778691735"},"_hasShrinkwrap":false},"0.8.1-unstable.86":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.86","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.1.1","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"55d3de7ef96fee215cc1eb1c497ffa3b125c218a","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.86","_nodeVersion":"14.20.1","_npmVersion":"lerna/4.0.0/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-YbO+G9xESECR/XUriDrztKjMB6mq7HT24ml1hV12Xu/+AzPpxrnj/u+SYUYMd1l+9U9HJMrSpycVV39KFQ869g==","shasum":"cdbc5a281b14adab8309c97e5aa5fb878d227b15","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.86.tgz","fileCount":19,"unpackedSize":36903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDatIsmKMxKgjGSMqkhEZAr37UFKlhsyHbahGGxpFN+hAiEAgqZw6CVhQ/eIm8Yx/h/vD2W8epXuP/1Wn5nb9by+6Ts="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjckhkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDWw/+NrckY32sT5sHldTfiDX6QyRL87TDSShKFzVgZRVpeCKAGfoE\r\nugHvAgfqsZgCfnLiKhoHu6PXDPYKsmnVKCEuycP6Sy1Wr9RNg9N+7qIYe05j\r\nGJCJAXu6eSoVJNJ4kbzgoziaZvLz65AoHBiArCx3A3A/5j+MhI4Yw4wpE2qC\r\nDFWN8r2+17DnqVzZjZDTX4zpFX4HW9aCsrJAouOnwmsx5cMFy/ml34FFF98r\r\n5noXveKeMHP5cUaqozIYNlAZAorkl2Cu6g47/I/CYiOOfE5tA4UXmnXOW4Gy\r\njwvpoO1/tFrzL98BlOwqOhGP4kUM8UbRtyatQH1YAh6ItRkqOIpLxS1VMOhX\r\nd4CLXGGWcWKmqzFZnI/htPkF1RVq1jUQz/enuy+XLmgwQXX7Q3cVzHHPCujT\r\nqQGu1TMIY0iGeQTlyudHp/sjLsGStAaRdKULKB7fCvXkfCgZJOytmEQIYk9u\r\n8zZ4+q9rFPRfg/JLDeTa0fo9KzNTRejQ8VLn9u8SHy9WYI06azdWE130UAp3\r\nsAXtg01cDhEr2+p889yiptCwha8q2FGs9e80p0SPiUPOU73n2jEOe2VPKVRI\r\nrKSbvjg70OVDmJ7sIQ8Ny0VK3iPZWqYtljMnkk9pxxE/Yi3wUs/ejRU8rehK\r\nkeB9EH/FqzrCqHFgKZ0qigsLT2QNnyoodtY=\r\n=IkaE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.86_1668434019996_0.08667677997527679"},"_hasShrinkwrap":false},"0.8.1-next.114":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.114","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"62debd972f51a3f1ad90e922115eed4c2f56cefb","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.114","_nodeVersion":"16.17.1","_npmVersion":"lerna/4.0.0/node@v16.17.1+x64 (linux)","dist":{"integrity":"sha512-tDI+vjrZrW2N2PdXWCuREKAyugPrxnF0dxdh1jkTOvsGsw7F0tWwSFhrKlN7FPbYdpX9TdwASZQLVVI/xXDBqQ==","shasum":"a52b0444337a4d0df8e70b7eab2642830a238c8b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.114.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEGomqV9GZYn5MAMNG1H+3vXvMuXpp5P2HAV5dVemuvAIgY10EIpWbji2I1Ti20luFnnQF4GDhjQuL4SjGKV+2frs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnSLpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdWA/9GgbAF4DxxBaOw2lvbz0muiirjt7t9pL6SZIGsQdWLfK4X7Wo\r\nt0CkTcrAjNRyjhZFvsiq+0joYlCWYOtsLC7H2ZrQDUGujmTAG+8bkmDnqeG8\r\nGcDUWuorEPW2cYX9Ny9KMz35K0ipfDkU3q07tEX1ZvGZ/o9huCbsKQoOmfv/\r\nadmKVwMU06PtXZ4+nThs1RWCvjyzWfuh4ukLrnK+d3+kySAe6+esNZukdzZb\r\npwPFmytlLhtgENXPkl48lvU+/9eMd0qS/9SW8kZvFM5vg1m6g2mpXYWBzOaG\r\natNKi2DO8sPNgdTjHwyzA8Xof+GJYvmos95k6Yfbiu4ReDgaV+UUl92ZIbUc\r\nrPW6I/1mc7ffOHGF65sJks+0whG++w4LYLx2GAZKVkAA09oFdGtWXuNaXqnB\r\nEWogE2V0B3FCuXjaMJGd+t7sw8RcVsnYxOT6MiGpmKVCxpa6iAsyJsSKHS+R\r\nNxhQ7NfZKsv8mCKhZ3AKAg+YKUQyynJ4mQ14B6tiB3a6RlUn4b50/zmwJ56D\r\nfOJ5zcMQMV0PASBBKGFioscAxTvZay3ini5S9M58zc0BK5xXWPGEb5QmKrbz\r\nWI+c3dBGcv73XzQ5XL13TuA2RxsMtp4FCjFIfYOK6eDSecJsbXLCMVCf63q8\r\nEfJ6F8dwyXRRoyCi7TZPR2l/ZF7rJGLLKj8=\r\n=7mec\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.114_1671242473549_0.7508155411211015"},"_hasShrinkwrap":false},"0.8.1-next.117":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.117","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"fc10bcc41f4802957e122567ce5aa025ced56d3f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.117","_nodeVersion":"16.17.1","_npmVersion":"lerna/4.0.0/node@v16.17.1+x64 (linux)","dist":{"integrity":"sha512-ZwEUDVMMhOFOkHL7QtMg3N6h3gz5zRp1+UXiKLWDtAvU9fGhCoCwhTKJ+hjUDJUCa3NkZeFbrw6STvuXbmUylQ==","shasum":"ffd3ca9ee908eb1794deb593ee6ab518f4308563","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.117.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4iF88isBn10Ry3Rddpwhil7TrBsgZIjVm96X1/KDejAIgKwEgta1jKoveNjbzhpTsoeMBkf1KJkHN4oKOhaAECoc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnScaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZDg/+Ol0DfIn+pGpVxQLDQZAJi6xhLIKHuDP9Z5b/7JzZRm6UqXb5\r\nO8D8GhFl6tpnJNgm6oXkjIUJXY3xbqC7cJ347YiaX4gbj8p3MnK/2Zd8URym\r\nTetH2wx6P/cMhb0gh3dR/5iPL8QvVB+gtHesoFNoJvP9C8qVV14ogJQ7eqYJ\r\n66UO8UQFYAq+jovS7tI80F91jJcQd2BChd5SC08JD/vHiXq12pZXOTybl6xv\r\nD3834yJH6fKQxeAiWDcZOUWICme5OFFf1ckchfOUNl4dbQHlGUEvOKA7pAEw\r\n2NjtTv+I9hCz7rtsQnmQR+KhY9gigBJ2lkcVvHAvKnQw2UnJ3uoxJEbVYl1n\r\nABRQPLUnzbKyaOwC3QWRUW8oc6K8jkl53BKe2zmsdhxV7lcttg9hNFgxHJch\r\nYvo/s4s6Jqb+jr4TTWrGTsAn9eEWo2BRuVbJEDsDwh4KICIFsmFXgqMeeJWg\r\nc/rLPRcgo2iOpqnY0xNCoIMo0CVmkRNM23nob8SJ1mI9/0PVTswO++ubpEZV\r\nj/39ZAbao0aBPyDHArA3C53NkRBLWgynTbtyLd8F7YtY6xIK9iT1ELAv7pCc\r\n415hq26tKZqXu2dyHjDvJWVvaC0xEucTBgVfsx+KvG1AdYBUD0z4gk6ZbP8P\r\nm7+drtsUdAArUPnInDumYq4QGMa8Dw0iNnA=\r\n=0Dt3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.117_1671243545841_0.927985840397445"},"_hasShrinkwrap":false},"0.8.1-next.119":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.119","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"4fd058a3a06f2c56598e72749b87b6690fe1101e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.119","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-OlVQMKLEixR4dZC8dWM6CEfNMy7JTcRC+VfVj3yUKGrVFpUDhWkbVr3beK6R5FextGzMVM3EoqZ0htniNRDPag==","shasum":"79fc6ceaae166b71d4b1398d83bbf0a4609f482b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.119.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEgxpTayKMLUn+P5lw52q1RN3Xl6WGCNNwrnztz4KpW+AiB6xih9wi+ee/zBfBbRMCwfZXsGIR9tXt621STd3NDJvA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjq4ZXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYwg//UnJA81ZnHDpkI5yRdTBwsm2rSmujSNunQwXhdYuSV8OfurXW\r\nBVimWp/yjxTTkBEKFvlxis17xnU1k0stqYqYnes6CibcEedS6d/EkHjMX37W\r\ndZmDPfzqmXcM/QJLiu+ByN4pAnWPLmHGm5RCnAKUKTweeIKztU/0ri3TNwMg\r\nkxybzOXUc4O+uGZbSYVFcYZ+IfnXuElkNRJLW5jouJ6d4nwzL6VJCgsu0OjA\r\nWrOsu+bDrerPNW9T7ac6YMZhuUsmu+Zjunwf/emdvoif7caAATLG0dYkorkS\r\n5Pgyun8bCEOgD0YXVFSgA8Zzob/infM74axSKONo9nffHM0/XLacLN+R2K13\r\nKzx9vKMl2IFbQMmwh6bv7NI8ehpzt5TxcB6FjyQSFcw5kLcviR84nvYUmxYX\r\nGXG58DAirS2hS7oVhuDK5Ck8hxKcPSmCYVX6wMnUWpOrZL8NsjWyn4yi4VKY\r\nsvvanOfvdZAooIfIUooljniSXzek8ZsYb9eg6JxVqfO0KLlYtEtczOMdpKSW\r\numGWJZxQuZxl2otfzI5dmzneOI9qYuOPaQa2Cww/RykLovulnBeKYhpSqKZq\r\nTdFpwApC/Vko6xXGcYOFPcjseSKYCN8/e/QlMrf0SXe9IkZrShKTrSV0MTPC\r\nQap/KRfLLj0hWwPyxT3P6o82OzEp0TQFUrI=\r\n=C6XW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.119_1672185430925_0.4623006393999982"},"_hasShrinkwrap":false},"0.8.1-unstable.135":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.135","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"680e97483a66a78848f98f4c54b707a24a20a155","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.135","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-mR/3HTr+/7u2eo6FF/lAMwYv8Z5+rUGh5SiZKlpj9Rhmv3c0CYU12una8nIT4AKsCTeKxA0u7j4fKzZmVBqaDg==","shasum":"aa7643ac078737e077c269aca5705c8e73a51fde","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.135.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwcJsYjD1W24gLImT1osjQ5cgkl0zx/VX/gaT6eFFvQAiBy7WeojHPcrgxkF5IxZQyJk/XsPRGtY4iU9GR5ePzzfQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtEphACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokUw/+MPiZ3/L6/Q3Qy3Bp6STqWBu0pJ7J2KNvL4dA5n/dyip6lIus\r\na49swQYWaSDHxGS9QjfHhC36hPJH4Mrs+loC61PxJEZnXtMM/k3FaTy1V4O8\r\nsMsRiRUHGpFpPQ7BytlIhZOUwRpNl3KUYdQAP+ouHMoTU70SQD90qJiOi+Mx\r\nmxlxMQVzP12osHZBhMNZYEb6lpHEDmlCLfo6VzWMDzqvXsCK0nc5z/wT1iYK\r\nimIi5nDFIkRlQ6ooiC4eYBszUD4FRdEGUwYFV/6iHdK1nHWz9XA3wHuZJN2n\r\nwZI/tU7zMAMJGtRobOkWZErAIb1ll8nKsxmsnRT1M2CyUBp2CkKMfG5MgLez\r\nRc32KmaaAFjhtfYai60O1JnuaOCqRm+FlQ2S4z6mFEnrwyfy0Xonne0w0yYR\r\nn0uLqxbnXr/3ettbGTvGJ/CCeAsJqnduRz+9dP2u31AQfZc5jLgeZgn2Hpzk\r\ny+AgWRX2W/XSgcmJQVUJP2YacXi/ZQr/Xk30Y97NpldfGf7zd6WAjNhmfK8K\r\nH21EaVjkVuSPX7lCTAPERsFR0HoNHYspstHE2CKW8fQPD2eOqZsQW7DLRGOT\r\nGB01StYQ2hpY507gHwXv5c/JgnsZMCXrS9F7NDexBcyAFAbea9BwLGe29q8A\r\ncuBQATbxJNWyAiJLB/aiVOEGTZ+Wpz0SIqM=\r\n=Uq4t\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.135_1672759905457_0.6671328997236357"},"_hasShrinkwrap":false},"0.8.1-next.120":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.120","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"43a3adfbe683ee4040a293cc5b75d17a029d7c49","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.120","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-b9FlP1avC9jUu0A6KEj3U0UkuMGgloo2PbBwDVRIEdx3PfsIdJ374McboQzQj8elAlFoM7ijNx/q+YiKJs5lBw==","shasum":"311d1c38ef1fac586bcca4afcef6d965c169a8c0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.120.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0GHOKRIEybYH7bmjwUVm+bhtfTJbQJ2B8EVDVxnZkvAIhALREh6Ok58H6YeOf6Oa6e0fGFW1I0czu2M77GiGhpOCx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvL1SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfFQ//ebmj/o6sroXScnMaf50KLF+KPgVhyy4l0R3rfQKIDUg8unoE\r\nuIIRsVKqGPcm5vVcdV+hCTsB0Y0fBO9Kw868JkuumuYhA5UBtEDEqD2g0JkQ\r\n7DTC3tDl6mbHRTksOrnK1PCp4UDTH0EhbZlDnfdPtpbjsSh25RiJfYqSgCC0\r\nFgqF4aG1LCu5+lYCMM8hGSaOZK6XPMlklaveIab16pFwQNtsA9oaYJWmFbLx\r\n6244RB/RXERmMN2xacg/RTzX/luxx1W3e/YRu4quuyKaNRpeg04dqd7HYX8v\r\nfhv8pPswhTDO7jQRG3+/axsq4EaJPrcKVCrCg9nk+ovjFOO7m8NIbrQ8I8l5\r\nEb5zgOluvji6lR+mhV4FBNRf5ClXoli094w8I+cfTgJ7g3AmDJzLP68/zyQl\r\nSAqDQkF0Vq0Timbk81O65MrKtEzFGB11xTY/t70+uNFqcYnPdQmRCgeUq+BI\r\n1tmGSTI1hBsREJWEjrf0JwrJu0YQnOTsvbl18K1p3EpUbNKa+C2p9TkAjx3L\r\nSsaBlSGjPiN9ld3IeGg1fHsCzyZMleGQWOugBm+ELvXjwqc0YoRvhtQHPyLC\r\nCIn+/QdEzbXIcqzDOgOUlPWPQmYqUF01Z2BlmKy8KvMux+UyivgHLLaWlhxY\r\n18Y/DgWYxfugYKVr5dAdQibQXnMHNP7b5pA=\r\n=rsHL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.120_1673313618544_0.8215773927354326"},"_hasShrinkwrap":false},"0.8.1-next.121":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.121","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"d98b358ff7f9c787667b4bf48fd748ae9f58197a","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.121","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-xgATdVsxBNh91RLM4AvtJmrXNQZbH8/7gn74i4NkotEZD6LXDByQkIN035DY91hlPWbZmYUqRXMTRfznFtiWjA==","shasum":"b4ddb344fc54308df3c41a48767f3b6c4237b987","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.121.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUCnrefJKsCANk8SXqtQcuq1uDHWqXL2+b/xll2w6lygIhAPlcHWraH6B0iN3Q2pdMH3znv8wBh7s8WkKAXKh4oBCi"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvwnHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr14A/+MVcKjzZKYeUFeo5NdAXitdDRSQe2cXJrFP0GGclFu6lCd4bY\r\nUMmYj1tdkws0+MWejJMauvTEI6QXbajPvu7ODCs+5MQSu0tmmmGqI/IHuwmM\r\n+rQoT+s2doRG+aLOivXd7iquyBgQtodG7MoybSWSmvvD9OiJd5oI86e41k/M\r\nzj61Fnqj9Ww2SoypWXvOdtPoRvGEzNyQAZJQ5I7ovp7ON4XEql6m4BKtY//F\r\nlX0qTKi1qD1rsBNlZlpG0Q7RVwVpfkLwkc0QZXeOmyTuzUcR3v8kVHoCk9j6\r\nr576gLoafrqYeSYCLkJq2oWcNcKLrClqHvsYieNpObIOk8pAnecxk8I3VEFy\r\nUr6PQXehrr8OBfYk/iJ2OBxGmccfpc3jFuxCBNJMlvwQCztPogsLq2U/UXBp\r\n9PTcfD1whrTHHgIRCNFRNFnAcBqpz5aXJkOVXGJs6cajnvHyWNlLeErDZlaJ\r\nqMkfNHJqYqmzxsWF9o+Hpu25rQ8Y0PM4W4TVEhm8joE+DvXixohxMefe9Iiy\r\nTnzbWhlbhDdGLAD3R3rnjwcQc48UH55yzeIOdWhjmRnlVkv4BO+LcZeZtSlY\r\n4xY7npXe4D2uDAl6IBUlGOSt8EGYPtvpCtDsAbGLHVO+SScbfUqYkjRL4TOo\r\nsbsiM8dNjoM2Z40M9z3JzKRrZM5l/1y5wXw=\r\n=nP4D\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.121_1673464262937_0.7641970679826373"},"_hasShrinkwrap":false},"0.8.1-next.122":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.122","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"26cff511b345e412dc37586ef3c3c8fe678cd574","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.122","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-UF9JxPI1O3eOlodKxWJTT0WhldxZe2jqjb4B9WBBRuY5KEWUMWDi3oOPPKGEHt/jOnWoUeoPG/lnXY8VwyHbrA==","shasum":"3b02f1a4f7094e486115391a676f738729129ee9","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.122.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbru0ttTHJz5Qc0EdgWtGazXS/fV1mR7mykAfNgBxD9AiEA2WSDrv3NJmpRiFzcaMi9knApNu4zyF33BkAYmLlmEBk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvx1LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm6A//UAt9tQIhVi26TTj0SgPoWDT1k1tkKjF8GklPgtrclMXU52KL\r\nFOIkRo6ELv2xlKL6ihMG6lymSM5rkcyzmohTSXpmKmsKYpLeeS2faWIRMtnW\r\nn2Fupry7Y4qpBwUmkiyDVNNCBdFvnDvmUbCinAwPJyeUWGlNMRf69MTaUJxu\r\nW+dmjHFcDfWHqpjzBaYOWOrY1QzUo4am4Yq0DnlNbUInCUpIQW7OEug28AIT\r\naHU+SmaYOL/6Rnh4RArUbMI3lyI0hfB8i+5L7pbltHNJtmIOoL8J/9gyoFOu\r\nkHe5nF9BZ9crJyMN1I+vY3etxFtxsKLVGTH9Z6WQqEYzlP+4GPvEBO9bri1x\r\nR+/vY1nC0jIO6qZ+ddeSAJL24j4vV4Gwrw8vMJrmBy/SPB8m9ryXklUCYLlf\r\nWV6LCCwFVzvZyUmtinNGLPDRfy3ECLo7UCCanlI8fviKMjdQvWfKI4PunUKQ\r\ntkJXWI82xyr9yuiofmOZ1u38DkeCIBWQpncz1+Bee4jMWIyftC6jNZd+46an\r\ndzq2sqeIbo9cmGk7VsHUuXfwJ6DLGkWBihi8C/NER1SMEqTXPthXfb0w1RiX\r\nMks5SAUSZJ3xHu3UbW7XWe5WcJaKf/fjXqKWJmbHwm06PNoy7l1P4YuS+7I2\r\nSvRy3N76bs+/5PjFf+TQ5DKFsIts0Y/n+pY=\r\n=/dSJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.122_1673469259525_0.6010924399608681"},"_hasShrinkwrap":false},"0.8.1-next.123":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.123","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0204094e7b7fd33314a31df5d06344f54e6f6442","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.123","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-q2+0woqY/eyK7lri7YGby6enfG7O7/4A609o86gxhsqIWjJaQ9BriP25py7+AWN9U29T0r7zALQEbrB5aZO7UA==","shasum":"825b9c5220c00be4bb3eeb451262c6a665cd301f","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.123.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGd0CWSzivUKuUyB4NEeuwh7GQndRQrlSiWQfdFNiNxMAiEA+7QYwqHy9qxVJ7FQcQxj0eTZYXVC9up37v6isV2crfs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvyzJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFjBAAhgCtv8rONGudNeo6x3gf1wJMTh5b2NtLehEMX6t3nfECm4zO\r\nqlcoNdywtTZbHdDw9ar7Hk/HnryDpB3rKjaZmlzidHKz3Gpl9pIoOEwxIlj4\r\nGHnzkdlBay0CYrDewY2TiQ6O1JBlnpEbGC2NqjjaVurO0VUAa84DI5qH9O25\r\nT3VMxQI4UAQxBpJ7xyCLQ+/rcWYumSXwucfVK3e1ZEsR8wD7rKV76zJhiq1G\r\nYXKaRcQuZ8qTONxfJJd+UHSxF9uKshbIql66IMFg0UQF1btyXPiUmHmPc4Yy\r\np/GOMO/1Jbt4RyhW0IXoxq08JPXdNmdpTevcw0mEI9shp4iwHR+IHN4mS2ch\r\ntPQ+3B9uMiqIZ2Hqy7kcMIDmgGs/UXIsAJN8IEZ4qpiyVb/a8H9Bm6nPehF1\r\nC0iarpJdGNLDQevgXiAjzRKj6NK7IRKrJywUACdzvSY+qZBAebajNniXVH/u\r\numVbGE1lUyRgB9ZNjgUmvVKgRwZBEFvRdyc6isBE4hyMFZqnn978E+Fwwk/c\r\nlU8ECTHEe4+GKMG+Afp/dd/EZxxfOJQ0sU0KAVr5m+TEDTym0Ep1VNNdF802\r\n5/KdsvLzcQ3augiUWcvuYE2tBTFfc2lnMV1wBKGHviLstHNXusCp7rdfO0K7\r\ndZT4gFNHwkRmwCY5lSipvIdQH8iyXsBHmSk=\r\n=O1OC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.123_1673473225549_0.8620245328765459"},"_hasShrinkwrap":false},"0.8.1-unstable.145":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.145","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"17a12299ebced331f45a5c7cf53a5bebcbef1280","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.145","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-+A3WzdC6hKI3Jm/5pkvePzX/Gm9r+FT8+i61fuKO+Gm3JRxmkhjqEp253kZV5USwem5lIDmsIjjq0liPKR+tvw==","shasum":"41bcd662f327ade5a312b090401ac5d39b2d66db","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.145.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDROyVbaBnw/RQpw+ngEDz0sVMtL+Ie+FJYnAu0gjTYggIhAItmbuygwxU2QVUdEQSRf1ufjRqFFjNGjYT7vaivZYvL"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv16uACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2kBAAhN2O643TvJnTnweywjUaZCvPCBvyOtAoJDaV5k9M/uSjnmBM\r\nemdTnZHlqbWLGrDtYJme4XIV2IMC1hYso0bNQTtVgR0c9t378Rb8Tn53zCxn\r\na1KnyJxhODUMf7XCcgdoEbqfyliSNTdD24kj9gVdujjT7Q5WmraDgTEbHBVA\r\nS9OpebQKcgwtGUazC/N13mRi49NCkMuMqcsh0Yz0N4UHUqmcAkjYmolXO8Rd\r\nq/SGN8AOJYydPb9yWFZDlmwnXNdz6bGhI+5ky3G3ui639ga0uabonWluf1GL\r\nhQkQqZHZW2Xi7YztlXAbwmfPo4xXRagqXTL91g0PnIfwrP4l+pAVKg35x77v\r\n+Yj49XSPEtUHXnySrEc05tcr7OHAOHpchIBrcW3dYQdu2A7CGexWJ5HWiTcd\r\nxMvwPGhlFlAM/7+1Bq32osmL06DhNxVVwmqbwxbq7o7dvrE/Vnh9o+Imb0r+\r\nIOn2WlusTzptNy3+61WAMoBKoEt+FSOuy6cV1NLPMmAgi7Fc7ii+rkCRmSs3\r\n6P2fClktU+XqabUuXt+A47Tsw3O43BLeQeaA8PJWXy7fsfvhmo9INDDClI4s\r\nV0vj9S8AMIzkD9lIJtWROF1awKDx0Jz8zeSrF8cY5fZI+GESaipmVBBZFNsm\r\n+/z2LPAZuL6Ry+4U8tBUBjGRZrqHPH7bmmA=\r\n=BOSn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.145_1673485998213_0.2208450536097648"},"_hasShrinkwrap":false},"0.8.1-next.146":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.146","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"308128069e9233df39a3492f74c27277e67bd557","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.146","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-7y9T9wYaRbqDj0uIgc2jPTugghNjBBPmCqRTjV72kcZlziiSuSqS3gf7IgN23vCQ7X3PXgwYmcX/Nlo8qAs7Kw==","shasum":"4ef559e18610b441089b2423225627764862883a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.146.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxhfnY0iLTHv7n50szZ7/NQ4PoaR9ZcFY9JKIJRFqnAAiEAw6mu3uPz8ivBnOPBGDzV2EyXAqBQCvMPtQRZ88EpHt8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv2EgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqexAAmUfM9UgfTgRT0UkT0P/PKpc3bKOG6qiuMgwYCiOZ1oPaUDPo\r\n91FeYe36493u5He5xQJqj3nT1A/TSnEqLrfXV/fyQsXEw3SzwThgG19IQckd\r\ni5UjQ4AjBTRRjD7c7TRtePxqi8hGAByIq0ECbJ0UGyF4hu1NvmDcFwKYB2Js\r\nob153cNirBhKXNdUphQIAAWelSlPNxHU1n0qabCmiqJgXtHX+BgEsSMLk/rR\r\njHgy7Srck1REqeQpkqnehTCT1but92keupK+aqLSXNcmGQ1oM5nWuE1IbCXK\r\noxAZfj1KnNiKxZl6YgR7X67mHQlGL9Hp2b1DYnMdcnG//UUiF7XFDyK/wWd6\r\n9DBTMXOseU8Gpxe+fjl41zyo/WXbiVjwp1BKszGcJRH/MHTj3jnSvleyV8Ra\r\nziYLZSFhUJLAKOGuAC3+JZeqS+AOxEoVi75w51qipycBloJ5TEKBXlGSEAU3\r\nemi+p5N9zLDA50fK5POI4JgsgjgedaLMwgBzd91/g1plNavZZQFl+Xj8UH3F\r\nPM3G8msGvOZ25XeTfWOW72/nxB4sCV6PAwY3Ogc3e/gO9f+7F7c0Rnb8tzKc\r\nNZwx9CiEyV3pcxwynlTLbZ4qjn28fYFcsoCk98moaBNG3tvUbqIgCnSXTP57\r\neG6sB5iEQEfgNv+2gBisKH4BJ+lbuhQaMBM=\r\n=naNZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.146_1673486624456_0.7365704279809773"},"_hasShrinkwrap":false},"0.8.1-next.154":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.154","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"a0bd4676a62920e8f92ee980213b187677ad5aaa","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.154","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-+671Ma4nDZUpunslyPe5ZQzW61R7poNmvWwRkBU8rcStHhfP8aL5SmwlgC516oYk1HbP1rOBxB3d+TW/5uUQPQ==","shasum":"51c26caa17c9209212e002ad78934e8835209109","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.154.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMuJ2jUrscZ6hacRHUjbiR5CLIOqB5SxqHVYeS4MiG2AiEA0GGememuUwKRDIozYcIr6nACMP1FhGpnH3e3MDKrvFc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwAbxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptcA/9EQhy1ClrZPksekYCr2+43yt3V/7ueK/R7aiRqJs2yfwy5gRw\r\ntOpjH5CnPuVHsZMjAu+bzIh6kyP8aPgAQubzl3KeYND6W/V8aip6pkHka97z\r\nIazR+58/0/OiKSNd4RsQBHYzU9WDQeh/1icXt81k1BpGIs5S60RnIhvI7ZB7\r\nTy0W3412Ja+lws3PbJckhZzH2NtNOCpdl0ZAnjoeG2HmXWd8nCTKSPC7bf28\r\nafaiR+igNd1M5d9HZRXpKFZcKepUXRVNi632jqzee275qhBauzuplgyfFwUn\r\nUtd08HTKcxiArOE91xmE2rMeIRaPEZhIhTZFLV9rmtvxoA00QIq54wyRbpSX\r\n3VtycWRbuKLhyPLVUpP2HbTQhYLvJpjQ1uqJS4NuHOyWchvKjastMVNKXkVj\r\np+FgFnCnAYhVG56yGt+ZCu15eJjGduYfEJgniqYVQVh+1YVqCCC/BMpF6iM5\r\nhPkV9WhSDbgZtkBbP2KxQsvBv1rfd3koMYxclNm+5pgKSr8Svf5tYolBjxWi\r\n+SPePvonLFDbJ8431FpPtR+pw9BjaKzLtRxkBmzW+GRgo7hF7KTt8pjuhycC\r\nzsq0bMkTnBscJqKaR6Wda3mH98rsZxPtDQwKdn212RnWI/V1fxo8C83KBqAb\r\n2aoacEEU6tPolgswEbwY4698w4oiU5wlwBw=\r\n=9Dry\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.154_1673529073157_0.7055310857245036"},"_hasShrinkwrap":false},"0.8.1-next.156":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.156","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"5e5328b9f2429c4dbbfb4402cbecfe5f114e0550","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.156","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-TeE8dvxBr4g/7kbCJf+L3QH5aljnCJwvopR8U7kMcwn864UMHe8QKDtgItBTaMGnOE9ZV8GIQ8CXXEIBT7tTAA==","shasum":"513c43e94b744638b7d7226574196afe3703bfc0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.156.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTmYb4TBoBNWhfUOn0oUDZPE1fuAJz9hnom/xi9ieEGAIgYflzzNz6SItyr3oxsSoHrnSmdQCUS6zjMvI9J0dVi1M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwKlAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq82w/+N6NYrxXBPT6lXObYOs73pBFJ2jDiO4uR4k9fgkoxIP55yH+u\r\nKi6oZGmTGKNguljISMJtxoN4ooQao47fOzToO7D1YshbeRsyr3kACJ4odfbU\r\nH2VDEZEmbZQgtSSO2WAz8441S+KaYoBc7QKcLEoDv0UdYDr3EgdwNrGvBi3I\r\n9VsmD22fKXR18CE64YC02cKBGEuyvC2Tptf7tCOxsS0gIRs/SngdhdcZz9tA\r\nWb/fu1RaK6NOsqi7OFInefmO3PoiV1BHygesgdxwyhGzjaX5DVY6rVzY0nqj\r\nK/i42Lry7xJZiTnuBJd72QleVforilw6cLPHcUxFFtKf5yfNRBOofhkjrLNP\r\nQotX5yAErSDFNUeOzzGbhFzLa3uRzgYioYrX4KU+W75oHLHSiMIWxJ2gURe0\r\nxHd92yg82AVcQmEJxys17WdwpwXb3BKSLhi2YyNQEieL21N+ga+KSXdAzl5q\r\nZJIUTF2q5aExNru0B5r9QaEBLDBf7hWMSusZoQNneOhSQxzukXtGYfwVUxGb\r\n7tTc2EcL89ix8pec0IeGRrJg291u6UmdnjjJIOdzFsqZk9pIAZK7wxizRBwJ\r\nQ1NY/xJcS+71uq27Uf8R+iyJqIabt0MhZaa49oaNw/oc76Y9ST5BD+NA6rIy\r\nzuQ5xYuoLJL0NMtl/uYeErpLcYROhl3UFsY=\r\n=pJ1v\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.156_1673570624533_0.8479081793707335"},"_hasShrinkwrap":false},"0.8.1-next.157":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.157","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b010d7ac65ba49d4e85641558ce801e1c3fea730","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.157","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-Ujoi7EeMQ+YuioEF4hpUHH+wlLPF//GBCvJiMbHvh1+s8MR7+9qOvy1bcXSHm9iNHL158fcs9g2Y22hPm9fp2w==","shasum":"657a09d5910d2a60a9b22ce0f7e7667fd97ca6d1","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.157.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG7iEfkn25EOKpO8HCtOeduUqB2L4EjEdT5o3KZLdUbyAiBGvYHb7mmL0Q/Jo+7FovGOVUevjiK8AUEtdke2NeHwCA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwLbvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKvA/9Fzaf/9XR/0Y45W+ySlt9YSexuajffMhA+JvkvaszadC/CC6T\r\n/ZDF4XaHQmxI+/KNHjvm9GrpdR6S49tB/rRzLwJgz7R5YXpXb4Kr6dKmuOtd\r\nAkVY9Mj5w6r92bwAgtLgyuAFYx4BsWi82shc67ZXtxRxw6nOnpNJrMC51Xdf\r\nt9P3+NfpSqZzAwCAH38Oi3caWdoYRYwJzNGemA8TcCnCONtwTV44+m+kv8fJ\r\ntUZfZRLYj1OzVPMhUQ8y0FrYwyOeTxHCb/yExJDcKq/wOnBCG7iBrTmYLoj9\r\nEk+Q7hugdFBnTyuj1IMbu1GgEJqoUhv0287tDkF6ihFsDLXWfsHPMSf6NCVy\r\nctndRA9Hi0SSMLqZnqrO79a/jeIMAuOxAz1BuSFh87V7/N0PR72bsS2lTVZw\r\nXl/4ut4ybGLDXM5OFu/6RgqYLe5kIvuukQ6Qp4dt2ltm8Zh+l4Jy1E2S+pyz\r\n/DPfEjVXH+bH6s1bx4+vt0O9dzPQHtI6FTB4TPIFmE6Q4whb9J/3QkxNcIsJ\r\ny9EYh7qpK04odGVtT4e3mAirmR+rQtg0khxwb9opC07UDJDc/WNNaTIDB7PQ\r\nwv+V1tBxbVFJR/LWdcovQlnvwtl0UmSSfPVj/HKRVMi89kZWw8smgq0kVjDU\r\nmdKyxAOZCkaPGCDZP7NZ9mbLNf1r+IY6A4Q=\r\n=Eh2M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.157_1673574126848_0.24316416217907033"},"_hasShrinkwrap":false},"0.8.1-next.158":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.158","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"625ea6feb62a08d3ce013850c6de7da8d833bc35","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.158","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-3WwHhoVrGXC/CXeat4bXgGRFbpXoA8LwHnqfvBMqkJu8Y3ZJ5iDO1esx5b+gT+LXR9UlNMAguZX3JHvJKHGBLg==","shasum":"b4fa1824fc20599c7a9643e694ea8d8bffb30d4f","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.158.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG9VtyZuuKRHrrjFCBX13YUUqhQImvFb4LdErdAaBJCRAiAOhRM1gHU0S3ORdkecMJuq+7gkLU6vHzgPE9oacACCAQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwLvgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwwA//Yievl6K9+6QBLksSwrMfNyOjqayuyxH+WsHAoogf5/in7BTd\r\n9SfLRERYYo/6U9jjb2Xuh07n3A4bx6d3MuLWMioLgV0ioYgyi6nMhGmgKls0\r\nlO2uWRixMewUiOM8ehhCoXWRbjo+3rXcu9YyNTI3sAs1zNDEkI3pZMbtjrkk\r\nSZ7bL3b86WswSXrkX+J7c814SsdJkGATNWqMahnqFuz2iewWiGTdZ83tqTDg\r\n91Y6IirUyyePBF4dKdoHWofFeUiKdcJBlksspXG3l1Xw3Wr+2nsno3TOZ13X\r\n9a2TXsSF2wgBrLjWRp121h+68PeLOm3NJxCl50ankBGNlQW/RqhxIdHySPhJ\r\nRPUz09ABwD969Lycl1AUIgUx0urr++pJbdTg/VEkVyyORmOE7Dt1q24X7hJ3\r\n4OFJ7g/MqJ6Q4bktf57yUKiIlJCM7iFyQUK1zkhOn23IQlOiGsU26C+vqofd\r\nPb4N4qHlKPJ1vRSSu0mFTLbrdvTHrUabym4IzfV2Foj0dHcQN+wkpT5KG5bc\r\nzHYxPQnNyrwyjTXV205gYUxPds6lWNIbdMxuafpdLSVBZMNIY1dndZuBe9lu\r\n7i2HlDbBNXZ5K2ATWQwQQOfLEqLbeISBNxIm4Q38Dzo7YseYUTbnvNvU4SBw\r\nAR3UnaFSDom3YltRx0lrwo43U5tHo6Z8dGk=\r\n=ExTJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.158_1673575392519_0.5263858007151918"},"_hasShrinkwrap":false},"0.8.1-next.159":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.159","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"00892e2bb7fd279e2fdc3583cd132292708f71c6","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.159","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-/zDl1I4VJOBQr3uUBJu0S4aJ6qjAU7ERQK5UOIyNynPxcxQ0v9v6B93jFC4Y3P6gt5QA4BH1irB4JJV1ubPEAg==","shasum":"24f4f47df472f87a73f6e968b63bc1aa7e2f0dc5","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.159.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/6Y9bbqgHIGuiKEiJ40Zk7hluk0iy3hekJy6nmMbgxAiA0xyQ+QekYOL5GlstZTNxU7SMPsXpCbKVApkwPjHIokQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwMAQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZIg/7BAQPWWKkiVp7e/ncsng4J0GEKwvGolrCU5fazKYm4Y17Kity\r\nI+UdydhuMWGJsvQTfd+XgtOa61Ihb7xMtsseTUvqlfWBQQtDlNM5l7SxnmFD\r\npLcx07d6Ynw2sYPsRnhLj6kC9o8sx4H1xPSCeoLTYwuFnBjExtU+CJ9GaxGB\r\nG3bjEofddIaHhezQcIG3tn4asGcuNYBUHwQdSGuwSO4TMvBV+qmQtG9Kif6W\r\nJoE/cRfzsWXbXRlUjVU0AxCsTs0+nn71PF77yqK7E7L/okkamXzSOaDPaMnB\r\nGygN7/em5cvB5qCDKjMIoiJDEci1S96f9Yy2l1M7STCW5EvLi5Z7yaW8nE7+\r\nliXrN5HjT0qM3bpoCtjSIr4A+fTAJt3mbA0pPQAfw5PcO876EaqyRkTy3Xl+\r\nbqpg32BSxdznAQGuLTLiX5E1roas2gOhcjZw/8cEP8bpdVU/yozB1opnLkVk\r\ni6eRjVcsP1kfjTjIPT+J3FUd+bEtPvZ7/wcYfEhs4jITqRnFRqyoTM7U+JjX\r\nC5u0jg0V15EX4fMqAIoDdBV21Kx7Iu/45FXCVN7P42yWE9BJFEtkNIXNCb8L\r\nL57eY+DliDqN8BSsmbB93ITP/BSx/Q/l7YvvhtEsC3ON4FJCsuvu1tkxPeoM\r\ng84G21k2eYBE3enH9HhlBdmL5HMN6RD1ebA=\r\n=fkyp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.159_1673576464315_0.46341291122906947"},"_hasShrinkwrap":false},"0.8.1-next.161":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.161","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"bdbf4ef55e50a9d19d7998a5ceac7136034524ef","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.161","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-qmLn1UXSAzOsyPzrdgAGkS71gDcHaJx9ZK9GmZ1eeO9v4GuFsXezITkPDhIO9gkGD6hf971Kl84YxabefsWsdQ==","shasum":"2a306407de55c81a8dfd69448b1b5acb7a8dbdcb","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.161.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHTN6I+sAibAACb/cSbbOKa5qzJpUj5/etmMVJpmVSjmAiEAt7NoN0oYN4+S+A7ezeQN6WOalBncKyTbLyewDSZXwDk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwMueACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmra7w//VBM9q278PNW2J4sFRYR0GMeCXwpB/SaEixWDFtMwV/gAJ5FY\r\n2EmiRJIJzbslp1LmqCvbXJRIjhkdIcWoln5l6dqwoqiUcXJefgMpfzllDot1\r\nKWQU6i6L5CFrgY042QBir8pSkcD+vOythAHnpM3C0sRU5ZbjmwsbxLLnQqpJ\r\nqwUIFmmYWbAluLzaqL0p+0ZGWxYGoFz97bPbzEEJFF7l/GBrnTjYnKlwYB9A\r\npTujvOHeJXAs0kLV8H4n9nCKtI1qWQo7BF+WNTSnYc+/Ktn/hiv2fmAPL9ps\r\nRuREPAZpZsceNdso3UqsSEH+9iV6Z5vMrrMBQbrC0wv2kSZ/586NrjMcAGWu\r\nWLcOuZQp9IL17ZRYyIBSRjdbLoOjUYwxuj/cQBBpmdaG9/okMh77FopfW85Z\r\nYp9NLvaNN3N8hkGE0R/JCAh+ZZ608yW+QD88Yb+zqzD4yJInxHVVmvm7IGUc\r\nlyMSKwbZaQF77QB7Chn7JbCLsqNlVDMKBVRXVV3ngIlDOtnsuF6ajWh/m0Pu\r\nRz6Advws03VAlfZPsOJOm6epBJzSoFc9AzKg5FSJcSoZ1HcyMT62Se2fui9y\r\nRzlN9C2cupH6u91Nailq/rHgBqVTVsm/vJRfmXJIyPiSCdY4EDj3ilFPZwk4\r\nOSdGudIFyby8s/JUpopplhWntdcQrEXEP90=\r\n=fsQY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.161_1673579422240_0.6181016898286262"},"_hasShrinkwrap":false},"0.8.1-next.162":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.162","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"518b8fc82e26711bc6204d5e0d66bbf04b0844c1","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.162","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-fPRRbNGFzlxSff+b1jWtYuO2iH3ItcLNCywxAaMvdQRqoAciB+fDd8+JVBrVrUxZY9gDgo3YCa96BSQ9GZZAdQ==","shasum":"5067809c0f44b8070463281c8a3ae31672b7a566","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.162.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWDB8f8C0nLcLS6MTxEZap0eG2and/kUoBCQakOodzkAiA4UZ15e4XhwLnQPpuRPvvN3qju1HRDDKGExNaDnstF+w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwNViACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4Dg/+KU3jsPTV6zV+fFMF730xgSmwB9H7YECFkv/4uGRD9hN3LaGP\r\n8Di3qyQR7ydsf5XflXk4VXL1P1RgrAA+zTqLDTU6VrYa2Hsj2cnPF8Nb8fwE\r\nkINtXgHiClRRn3LK9gBDKSSNY7ocI2FatoMoix8ck3cZ4QatKuN1c/W48WV3\r\nb3eA+hiZxDzSTUv2wp8OKtfJCiY3dFmilWkmwO+GTxHda8V0/Om5PITFMcTp\r\nUV6mnkqF4loIsICKvVVhUWZH3RxE7/6cO6p8Y2TmcmsvA9FMSyojaCVFdV15\r\nLgt1jaof/U5P/XhRLyW2NyDjjbW9enCpBFKtl3hQwwq0zP11W2llTb8ZvJZh\r\nOr/2/QDT4B62TMCEJey78I3Nvdh2hfDJCQfhbwkCCeGo//q368ruhi+KwrB1\r\nh2vcwBwRhPePVLzzK6BCP1ce2AHXBcwLa02NN6ht9oB/ZbC+CnGjF3oKsZmR\r\nDZx+3MziGz7QnlrzMIGJaPanH5IOgCajgUXxWSOMCRcuIyejkoGGbwy4Zu78\r\nnOJtg4Dwmz0XL2iJjAGe+FiEILmk1dC8w3sDcwwMxX+zHvV6s+DpHCTSCO5T\r\nCBwCehXZRB6TTNDN4+JIRjGSIuB4D0rCAG9WJLrnAs2Di9lS/NshcfEoE42l\r\nAXkJY5gbpk0sJa7y74NreXjaO2G/G6hrcqk=\r\n=PZE1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.162_1673581922329_0.5416939077424747"},"_hasShrinkwrap":false},"0.8.1-next.163":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.163","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"1f3f6b5078868ad4447a6c2e60c81160d428025e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.163","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-LZGNYWean7hEOn6UoQOn2nI8vgKaBKNI+DjvsWWLB4tLIziY7MY9Qee2WTvgChMm8YO40gS73OUMwRC831bpxA==","shasum":"53e6bb9897ccdecb8c78335abe2d9de6632a7f91","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.163.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPFsv1xbTUSBBZWPUk5UOLj7ewM3ogPrJuj/6pMURKIAIgdOzKbzWILWPCmVHEj/y5WRoVURXQR3f3TATaMyFO2E0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwNkOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoAqA/+PHEvD/hfhXwTfPe1eYZTv795CUR1vTOpD99WGaEbt/0TroUh\r\ndAvXK76w3Txp8UZPVrAiotU6anujE/OSwLKF197wo2/az3iYeihTgWQCagce\r\nLwiqNoy7VJmOyuwZMiICHg+s65X1YL82krA+hqpmycO380wb/QfrCdJsr/Ua\r\nhRkpdBQUoxO9NXxv2Q4LjvJ9NB70mjduucM2lLtf1qOv0E+FpOGqmMqSCUBP\r\nP349CSvuawv4v5jLnzLKtSdf22FXMndGPRqwUsNu4TvZvZ2cd4WjVc+zhFiW\r\ng0GhsBDi5QbK44VzAep2mCwcSgGYmgsJAfTNyFlLYuqb8VnVOX11Xg8/9UQE\r\nGRBTXZXACP3aeHQoydNZQPo9VIqxY2ech8dAuNidmUdMYKmt3ly5ZCzOnVzd\r\nVWrVEe3xVmU5Tqxsc8XjTOf6AR7hSpXNoj+85HBVkNN6C2VhbxDn9CZHIDWn\r\nBdQYlPrbe4qJePcXSpY72gtM+qXFX9yy3kZdEdfodUubuqI78qSMaJO/iFLV\r\n4MTZQ4MAsQrLkxqGzAiB3C8MrV9LA7UNgA4Q3bNEaZt8zWQi4WnNy/AaolmS\r\nBSRio+ZHeXXlQn45t+cNyXAXRYnYxuZka/UtDv2gTX3Aw9hWQcm2BZZoNHIs\r\nDZVitxd4f7PYk34MCGaU3kT2iYuqIQaZYDI=\r\n=AtZr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.163_1673582861957_0.5121344332735556"},"_hasShrinkwrap":false},"0.8.1-next.164":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.164","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"3df79ab1012764ac61e6f3ac910b9a91cb19f996","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.164","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-1bqQ8bDPmXgaOcoTdAvVnJJnTjrt9SEQRsW/mTqkwdOtNJdoLKWXqibkWb6upkMtMj0z5BBe73yNMGsFVBWmbg==","shasum":"3c181d52fa8424ac1b9575de2b44943c9d25010b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.164.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWxdaCzGnJN0jQ3XZhDWNMjIj5/WBmT5/L8je2OjP1HgIgXCHmQe6b849AyJMr79lULbj1H0UhO7rZg7g8YqH7iUs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwkEaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmKg//fdR1RNJYBMXvm8PM2WDoB+Oytpe/Xx0hxb2UUhoGcEo9F+dO\r\nWtiQPE71q1BTlXAakP24nx4Ji7yC4tEJKsEyeJudxq7gEqcCUpoDch6dDPHa\r\nirrK05QF80X6mecpS8V7z09RX8TrCeqKB3lke0jGvkMxkCutlf5Ul6NDk1Ep\r\nzZ4YZ+0giyb3brfjMmpR/DsBzEMCih1IIEmrIZHMlOGarGEy1dCck4Q+CoHr\r\nvKCN94iHwMmHghnvF9MzZ+ZZas8UKJymlfSRsJpWfxiy+3eTiv47Puj/ETPP\r\nDy+x0Ij/PFXVR6J1ZrM9fGliWGaXtFnvDgQ+3MiwqKipK8/azjI3D2dLs3dc\r\nEA9F6YT0jlGnhrurIBtPKOgDFgA8BYHK53JPqf5MSPxqu/2lUgd1Gtp4slQ3\r\ngaBY85fGRTsm40HYs7kHKP+A5WjPboUs1ZJDt9arRkvLY16+xiOzDyrqPFV5\r\nZX6E2EsFp0azONaM2tyg4t5iMq3hT2j5YKtTJp6uBk1RY49o9Osi91+bEXNR\r\nMzbE3o51e7OYp2DKoQ9mr5r6pvHhICJzWP0jEdcz5/js5da20dEWZqNPD7RT\r\n85pcMVm9QDvBGKmfAxCScb4L5i+wtJOTEAoMQ+w4t0jLX8q0a+Gtxpb31UI1\r\ngL2+MeRDec7ioAiAgXrSRzcknfhEXCQfA28=\r\n=hz0E\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.164_1673675034401_0.6277018766111542"},"_hasShrinkwrap":false},"0.8.1-next.165":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.165","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"834642a3881b14195ac47f5bdd639bdaae35c7a5","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.165","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-PHkfg5+5PeX5Igz0Tga64lu3bUArXe608daQR4q7FKqLnZa5+h0cE4eK5Q0vWQ1+YZhpiZCl8B8lsFZwLl8sbQ==","shasum":"5b5f664251c090bc59180d23315aedf48bb037ae","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.165.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDn3A5OqmVK9adTcrHe3M021gNwpxkpHwgmWizFmIH14AiEAvqnThGzwPX7/b2f4YUAHX4RNulKavhW9ql8gp6Hb1ic="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwkknACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqc/hAAo5mWXBsP1VnHSOmsX2ZJHqMft0bM7gApmm6X5oh5suvQwx+k\r\nPuSQHhmYQfN8q/umt9KAqiFhI34avdSOXECRXWE4kl14NbPx3FBX/H18nrGt\r\nUn94ps6vX9oV595tHg/YJybt1TPu3P6VBwPWGNIaf917jDoGF+lSvGwEy/LL\r\ncKP0e/yLFnCcpnFiXPJSRkmtaDbBYGgYw7p+HaImrFFyttl6mLNSA9g5HvnL\r\nmGRTlknF2JBPoSoDF4b3gx/29z26X8NpOXSkvl+ZA1AKc/oKoNHL21xFdEVu\r\nFX1iplVDJz0y2rVR5l8WrzVglhlJhNfuWQgaSeIC8w4iLkKw9FUhSddKFEDL\r\nd+N8x4x+u+AU3WyL6h/QfOe3Bp2cREejNYzCU4Ag8REj7cNAP2k4mnINM1go\r\nSAc5m79g4J1g4Ea6IIHWqsddvirdRkaqutAGkjE5YxL/PfPI+3ujgadfdES4\r\n5njTJmLbASD/B2YSCIE3Vcf82x3HYU1g+Oi740Z+C9R9aafko3vxQMOD39b2\r\nACfkvYiZEfZ7EzfeoBe2HT5jrsjlpDUOHdOxRPNokwH2jtMIgZ3ShwFMwnzo\r\n/C+PCYTAojpkjbCVSvAmbd8yvZXHrRRh8m6HdIsNmkb9Uatm6Ami/pLFleKQ\r\nfHeO889i/aPE0ujIkBi4/okSyf0E3icfIZ8=\r\n=Lq1G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.165_1673677094792_0.7149911263552913"},"_hasShrinkwrap":false},"0.8.1-next.166":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.166","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9eb47d1147d15f87bf9e6ac8861bede21a2511dc","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.166","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-SNWsABgVgqJu11TCXb14iPukqeavEVfvG/0qG1m1dXE8a4xerxC96Iuh3bwlCBin/gSof2GlpObFkLK5SSQaUQ==","shasum":"c5d9e52900f17f971b1aae751fc5a79790204300","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.166.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKUPKa/0Z3iOazUN61CQC6sf9fYU19CV2zpyO/Mb0Y4QIhAMZqbpiF74UA1Zb7zZmUdgHbnR2Pg3G1vSPeURiub5s1"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwk3EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXLRAAlaRrJfzuhbjzAff/yQra2I/8vbRdwx3ryymC6VAHx1Dl28YL\r\nzH08G5ajz/8i3NlKTn5Fu+hKeBcYyhSMy8tRX4GicjZIJR46/Qzmgb3j7XO5\r\n6W/FWbLpZJ/c+N3V0huNbD2gHQKjlhJcj1Ia8gJV0IgjsDEAlQdQ+cOiApvM\r\nY60kjeRaHV5Q5yhKizBDcuDapq6GHriB+Jzac01X7de2v2hXngnWU3gBzQrR\r\nawVk8maOHC3gGLgYp9A+Hco6PqCa+wI93PI4HE5M4Ebhxezxa+rOmOukwmCu\r\nkDQtm62FqIFv/QoeBfvavFVD5MiCSPep0Op43e413WoNwiZjBnCNTdVuAKHV\r\nmzgY1BM0XvrWhKu3rZKbfk0z2nsoy3fBrnCiPqwNbLgHAiVAYievRuMWOqf2\r\n+nNt2ZpL2dyabo7V/Zlzq12ry9UxDgLlOiLZ0hBJSleRUHQVas9FKOcIOf2D\r\nSGsEcoMSMnBds7RvHiGboAz+YKjt1uk1GRF0Bw7XbkKwmYoefhBg4I3cMBbI\r\n6L5VeHnVINnqLy/m4mNgL6O5a5AOP5s3ll1kfLXS8vfcCpBzyT57IfHHHRYV\r\n5DRuKQBIJGTXQSy7+8oR/V2YGvOA8WQqape18M63eHKbYBhfuOjrc5H89ISG\r\nUZugqzNJkjQlU64NEpkunoSVw9OmH3OTwQc=\r\n=0WMK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.166_1673678276258_0.917520106927666"},"_hasShrinkwrap":false},"0.8.1-next.167":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.167","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"d6f57b86b07a74e81c3949fa2663e5ab4732760f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.167","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-kGTLtdtqpB50uFp7Kesx0vas3UoFGZSjJtxMYhokHhnfbCXO6Hu5BR3gkypyLcpzrviRh9o/8sOEFO5r0r3h+g==","shasum":"093e9e42411370017bb647caa0a9d3f4c8e80c55","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.167.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIARYeNsZfv51V/4igBXxMdPUKRHRYvNH8YRNwp96NPYmAiEAlkp1YOS+oiRQCPJemtYm+cKViWk7vR2fivnYa1rw3tI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwlInACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6jRAAhcleyuri7+rsfsHprp1lWT8mfeo5VmjpWg2iQx3CZKWtGT9q\r\nLA8QKMZ6Sn5h49EexSUOKbjfXGZVLp0VUbx/Vt4ha2BS/SmopRW4Be/ivNJd\r\nUFmAkneL3zuikvIBRy7bOnxlzvc49vo3l2Kev3qz6rrJ8CN1IxTp4oL11y4K\r\nJTEbJ+AbZ6Mj5tQJvGrb7VqdHNo+BknJIqTwiInVaJ70t9Jz9owIeXQt4t2A\r\nifz2WNBRiA8IHbchwAm6pohkCKMtUbArY513ilVwl+Do7TIgd1rZ8zvXEVjd\r\n0EB1ISA6RoZBWQxQwuykWj9ike5S5LYOQx36ZExo94d19Tw/zWZgIxKMh8Ml\r\nSGsD554HVlJHUFfmyxqNISiOHEpS/r8V3RGw5K2+JR8fDOot/6zdIJLiigZE\r\nS7hk7g9KPlTVoIYiq0sXQ5xapVszNkQacjpR3G0QPTc0M3JJDV2sKQ8XeKUw\r\n0fAStEg6Ohe2n3od8Zz/Lex8JVYanMewLzlJAVZih/sw+mROtnzov6gLZsXL\r\nCoQQeGPH0D6M4ctjUhj1CHovMGrNHzw3kkGkob1+xcvpQQSxjRAtCe7HIqQ0\r\nbK9aLfsVPQcJzoYUe1sflqd0yczpka45O5E+U38VJC+/XUemCUslpx3a+ENW\r\nVoRciW9jpUctZDWcVN3vnmHv3m9kZ8pQk0s=\r\n=frpS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.167_1673679399171_0.9105087412452115"},"_hasShrinkwrap":false},"0.8.1-next.168":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.168","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b163872e14a43b3566db1413497885cb918b982b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.168","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-/bxzX+uZ5CQlGFP4e0IBkxI7S9KYEDaxBQRtN1YVRzHG43f1forXNPkjU5nA9VD7c7XyFJByrhA+uXtdvjv5bg==","shasum":"499a387ceb762732bfe97de9d06240eed9acd776","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.168.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA14IUE21R8bl01HzI6Ki+P1kWpYwGP0cSwB5T42XH3QAiEA5gp4HPuu5yQVB8Wy3wJCEHVRE23mYDynm2uazTRKXPs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwlo3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEURAAh1zT6IiXwAIXrVLH49E70r2mreUWBCs4uQkD8w4Kz0lX1dcl\r\n9bhW4o/1dydCEJD/OvJ6mNBmFTZjSWayBGYOKx37G1sbQYVHpj1MIFTE/nEd\r\ny2xF1zwpOruc0ltK0/ZQR4DMftgAsDFLoFImR8WgjCOA92B1ib5HCT7nABSK\r\noZD/I8OC+UGDreuDrJ1F8uhjSvqrQjWBD0Y0InYtb46hLvtpGrJ0u9JQktWZ\r\nA8G0IbzjdMhakRhGyQJqb2GLTBHHo2glZibv5GGhoXvLhB6UbAKgoSwEgRdb\r\nScFfd02I8hbzOypAeBu2SE9AgDMD3+4iv6pbrSzMMRwKH35YrUr9QDEyYC7R\r\nFYpx6pDNezZwHtpasv+OsILH8tAnD9+jFyfBvzdL3O4ko7jg14dCgnKCRdLH\r\n5o8QIO6f6pHvbXELH3Q9gHQsfQixQVVfyDIcze1xRVRUdMHOqHbEhyiq7qtC\r\nuQqB3gOuUxEftyF/2Cyo89qFxm8266/7ppBYDYYiI8JLIXxQxgxOkY2D0blq\r\nMQsSttS/Lsk4X3Mh/TMoDXF2OjSayvpUHETrWrjxRGWo1GtXRJj0F4RLD5hZ\r\nARNr+XsCUNrD4S5RPnJKLj3fYKA2R9McFU+zzyIK862dIOju5GbRvWtlsfBQ\r\nazslnPvs16Lcg89L9y2XTHLpqt4u19YRrj4=\r\n=Utpe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.168_1673681463488_0.5966515263770522"},"_hasShrinkwrap":false},"0.8.1-next.169":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.169","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"3da5bad3a79efc42755e354e86ecedc76a2828eb","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.169","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-I3QZa2nj9wprJ4grUV16Zt7Ky6Og6q6IPY7E4mOJzPSv1ijx+SEPGDXR0OO275u0O2+sW0aOP1QDwM/xF6zbyw==","shasum":"d6e7e2919fb3f0912dcd8aa4a171d9d784075c2f","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.169.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk2d9CCkjYCvYA+EaiJg6euIIVS5fifHxRMjxXWCfE7AIhAKp8MhNsqDR+ulaU46FNGRRrdjbT1aWdprL+wVJzzQ2f"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw2BHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1FA//bCzQ8Fr4Ueyh7Mjiub0kLS0bMFlkBJhlvRy8WoElf3zdvrw7\r\nRM3Cg9lAaPtT7L1ufIUMLFFr1XFqgvM992a99DwL54pyJrqsxhimcRleaee5\r\nbtAZFJ3xmgOnqLtqgv/tJuoExWObWpRIhNz3DerVEyhLLLaa9CM869vYprtH\r\ndcrQF4xdtnJHHAfND1aiEhmMYmpgHI9QP88zqJLs1nw1ezdM4R9B/kkj7ufs\r\nbrbXK83GUcApfWTcg/EpPi7iIuc+lKgkv1GlTZ/f3Z4iTup6siBGleo4LUlJ\r\njWvNlb//8TQ+BIVhdBmThMzKPPahMyO+yI9EdI2tyRs3ZLN3czMM4hN6RUan\r\nM6J7lXyZ8cL/SuuUSWx6N4zHv6j3a6U6qMvcrUbSjWa4QGOcwGnHhag+yB9W\r\nYorMxdhpYzadcAlR0i6Ncf3eZ8rY9LLKSlscaDKTtyxlreN6QbdMhXDZkQ6L\r\n6JxloKqEv4PaJEBct9KX4PCqkosKOi2zxTfWfl2UQ0ywM2MCWGhhwfi2yVcx\r\nEjSnPNCQRW66C0L9ryDGwON3LDP9BeOtdY/LueWAoq6Lh7J9HXl9eSU/rz7R\r\nNuGBp3GUi+K42XawhQ8fJYPfXqAtcDFqMC9TO4NZttEBFcqhAvxny/92dZyi\r\nhvZNXJyDzxs1b6exKRi8KtSNO168CYofs3s=\r\n=Q3e1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.169_1673748551595_0.544440494914852"},"_hasShrinkwrap":false},"0.8.1-unstable.170":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.170","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"5d7cd190771aad89620bff9e1e271436e9d78bd3","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.170","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-gx/8s9difEDyB8ZzivIabVrK9gp2EuKZRud5VDsV/nviN5G3rIMKROoE0pCZwPH4aU27upbkeqLm45L/EF+D7g==","shasum":"c4e45fc94f5359aeb45377a3c0e0b57fab836108","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.170.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvNjwBH1lzSNXNYqx0h4APqOGAw1vXWv9rryMBi77wCwIhAK9JkvsFojnwgV7nRzADRNvV3CtbQdkGAPfYHXJgc6CP"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw3JCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrI6g//a75zGd6IRNFwjxorM0Y/7Vv9qTFDYOjLM8JdKvn7r4A946eD\r\n+0Jl/eYQhoOHH7m6fcIP1VoF0FyZy0UwQzkWOn3sv7WLUPKjMx/v/3ZHsRHS\r\no1Pi1QtK5Imvz+E/njr+9pI+esYK5rIdHkkmSq6CsspkwMK/RrlWXyzcv+Ok\r\niy8/ug+3K7ckkir5SVrpMd+hHP7sA2nvtT/Ht6Ss+lEgOxf2pX8gqrT8itcv\r\n0ndC/KMqQMjq6F+ixOk/vLQFcLIRleBM9LvxTWA8YfUEb4HK4PGIB9CDj9yF\r\nLjlTuVq6oPn/P+LS9iASeJjl9nMmDSFVeEEaYj36JGqd/3l3jmW6mQu2h/Q2\r\n2hwHgGrqA+XIZH54hFh5OhNGrLTDY1Be5lMu38C+HkkWDhr4e6W/885JA4v3\r\nliaAzpB+TtdmpquCk010MVw5i1iWlUKQIq/f57wCT97EZCW6qaIgOOKDaHNH\r\nCerVnhj4sxKBZb9NIQRwrouW0ik9SIpVspKa1c7VA9WPvH087lcQZ2fUQ+oL\r\n/mvxWYwn62pxf7SmrEuRqvtZmX7Gv6X++vV3VmSik8qjIDQpTnVbEKGN7yL6\r\nrGOy4ofu5ek1ir8jVLfuYu5gNUeaVTTjHd353mdgFha9sPz/DNrWwL9swmgV\r\nVGOs2llYzB85AL+PvA7ZYLPbhG4zRlsLsE8=\r\n=5uUY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.170_1673753154477_0.23068341202660392"},"_hasShrinkwrap":false},"0.8.1-unstable.171":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.171","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"67a8185c5d60a4036e74b412f8e3a1e6720c05ed","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.171","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-lkhFIankupJ1HJuZEgBk8n7lovaH7rowyeor6DNA6Q4qZQqNBh/2JD3ZeDoJJ81/eK12alKkms+K1SVXfrnYjA==","shasum":"22a5757bf3a36d578196495c95dc2f9ff83dc81f","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.171.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm4FMJxg0bCy9h3bfjx9HWvxtM+1HZZnme6FD468e8CQIhAL7LhRMxZjnsGtXmTCM2s7HZ8qgGfaPmqYW5XoIL3Omk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw3SgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYCg//SgZbcbkUPV2NLUp710uLLRi+dXCa2pN3b3KAePauQu9gzrss\r\nGUCj9DMXw/k25ESKltzexW26tZjDa1TM670cwxtCxCxq/iqbo20Cigedgz6X\r\nSIO7pJ9PHkatEOsnsZklr+AWgsgGQ5tCdA11fUaNEop4KRMtkgPvAdYw26wu\r\n0VtnymHI0gxxN2Z/EbOYWkapZbqZ3CD2nE4iCJObXJUdE6S366EJ9R6VRB2Z\r\nBRBHjUCvkyoHtF1QjCdSAZU82XEFgXfTzvUb82Nt8x4T60xuySFitLwDk7/d\r\nGAtu+qApZkVzS1HzYz7aza+WfRloPWy58DjfbLiHQJoMvTETlOnhXNV7t7u2\r\npWKggj34eAvvNb0cdnJLOSRjnpVtzLEn3kYALTVB6XHisb3axNVYAwYsQ/uJ\r\nptzOXNNPDKbCQUlVcL3SfIQ5pxInUt2aBAXfr8mBiQB7I9ZjTkqRPj0gA5Mm\r\nU1kcqma783Pr8gT2JdE36bHOg5M9GoNd1zxMhxVZWNQl+vZDvfqjgbuMqTo8\r\n1XANCdtu2EsKH2NLg2XqOVSp+kqmfhDnzTdU6mHHkFtgVA0QNhYfBtC77nmL\r\ntJnPtdh/5SElIDVfi09rNXdkV2qddBkdM2wWbNmJVCvlamRIppJSoVPlWS8f\r\nDGV1up7jUHjGv4B68w3SHBaHut9RGfeBsuE=\r\n=UHL1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.171_1673753760676_0.4550976875348449"},"_hasShrinkwrap":false},"0.8.1-unstable.172":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.172","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b388091cfea0993d0e20f9d61402a7cbbae9b9e4","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.172","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-Tll1twf7WCnY4/vIqqWrrHNbEHDoHH+MbMShVODJtEB4DsFUB18eikkn4gW8xp8PRUucRiQcgsHWlC4Llw1/LA==","shasum":"2d95c7d76b365eeb2e661c9b2877fa099e3ca440","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.172.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3zFgiVxL3M/C6sYJa62TXYIGGKUQ3Q6sWKXWXnK/OfgIgU2k6hiXgju/liRuXLMnJSIJwjZlBzCgvHMFP9UyvAHk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw3ofACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmZQ/+PZETVofeow7DVQhHXucKRPeuNHzM1ar9WCIiPRk2dPy0z+PZ\r\nTRuOJxh5NFnjYyautNy1QGJBhKyVSeN3gsitFCknjVCXQcvJYPA8D/FLSNlD\r\nukdob69drb6qUfzfvQDOJokyzWVucR+T7R35nCpv7XOUV1FF+9mTijXzFCuQ\r\nGesc0Smc2qkZ4G4myHPfFAvb0daVQhu0l+Y6tK8KbxN0lr6O9tar2LdQwfv0\r\nW5E2KtCtupeE2ajQfgtqEyZrAKsKoZM0gQQl8oW/wNpL31tqBqTl/1j8N3+X\r\nSB5EQNjXyu/ggrQDsXFSxKGyklDpJnoPE/YIU8TexpolZ2tah2LQGZVQPKEI\r\nj2lxRJ+vlPadm8IqjHUQPkZPQr68fNStL8dtSNWW8OL3BgEe5+rVQxtWrkZw\r\nSkvSZZ8DrFrJATWqRRjISjRSDhgAebzZIH5PUMMxV+6Z9lBZ9bt592KSWi1q\r\nUSW3IkM3S6IExrC+Mbs6m34FaFj4G5PeQ4mB8KpVaeQ3Uf7VL94ZvzDzd+Sa\r\nycGx22tScR9HhwwzUQGI6hGJ2APeXv+ML2BwtFbo4yp9tVJGetS0T4WLGMkv\r\nDWqTphIBJvPthG4ldBS3TH9tATEtUGfRh96/NvjtwoxT2t6lDsvZGV/EnLmS\r\nCfmFqHMk5Qbb+ml74JVPo7uKh4MXy0ooLKU=\r\n=VaWD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.172_1673755167376_0.9113581354809654"},"_hasShrinkwrap":false},"0.8.1-unstable.173":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.173","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"e98ac2b97b3248538b7cd5d05f0c7f639a63feed","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.173","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-Er/r+GGUEuwFaSy1el8bsd4b0dQ/v3HK2T7L10H8OM8iJSa5djIlFADLnMB+hioaLr3u4xkLj6NIlA7thHyzUw==","shasum":"2bb43b12ab1d5d91c5d5ae7ddb5c18519d2d75f8","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.173.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI/VsY0roHwt56ASWWE0lkMLJCkh1MWOggRks2VUiR6gIhANp/ujOVElf3VfZxrL/Ut2Sh3Dy2aqs/5BI3Ybg+sOt6"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw4meACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrs5g//fu1ll0qkiwu3iTTsPft7NQBX5V2cNFpIBhdjQvKlREQPFLhy\r\nllXRPTaJx1jrz9h3PX5Q/5JsJ94rP7POVCb5BlXQEgTCYxnCkz3HyocJ7hXN\r\nQuB59CyrgDiAudwYsP2HFoha6gMZe+hqLnbZjd7T6/Ao/OWQoI2cq4aBk38N\r\ndvU+YrDBFS5+WekMSIXaeLZUaxhoVtMpFAk9AnwIAZON/Me4KPx5jPBgoqHD\r\n93q5yYCVmKeAmHHliE41oYtoPpREed+2V1SKunYr6vInbL4vA/1V1Ighvlw9\r\ngtNMsbUXZVkgH2s/yK0BjpsGhC5l/tLG/o0Di81oBvXm7uWvjn97m1tLlO3o\r\ngtpp0lKJ5/gG5rxiGJhM26lRwEHYxxxdU8XJr2HIxXzByOXlFNRHQwLO5sYD\r\nmPtS/1ASF8HrQ7k7f4w97rH6uJwbPkC/GrjC0wMtqpLJxs4Lp8cGg9fSNVkh\r\nxl05SfkvmA7VWjHK0WDKBkIBMGNHFczlCmKMAkerwsPSPUdW5BQcCxcnxhxh\r\ndF02grCx1THcSFlz0eVLi8B2LjVVe3BHBqamQHOe1oN2wvDNKUXGbNhDZltr\r\nLSHZdg2xI5MzGy8M/FiAVTZIap4VefYiiXFwnUUgEHTuf2v4miX2E8/ZyoNo\r\nHX5lrZpK58hyG7bn2c6YX/q0naF2hZOW3a8=\r\n=RjiJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.173_1673759134129_0.34168426068467594"},"_hasShrinkwrap":false},"0.8.1-unstable.174":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.174","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"3070df22e8e979371fbc97bbb088a5e95e50e4dc","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.174","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-T2PN7bbE5UrCvLkjNLATsHa8ocE2lZPik1w3XLwf5jvDLO7rKPbOikQ8g151MTNGF/UQK2pbeGhwigrW4KW39w==","shasum":"7ca183e9f717617c3abec020b570cb48f322a4b1","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.174.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQEMKz1DUt/5w+1NOePtL6tiLO/spSmzqMdVNZJ3hshAiA4cYwk8fw3N1kjWKu+UyUGprO3EEe2XtL3glDq7Y/0Vw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw5OKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoM8g/+Pg/ezfLUy/fndT5J65kE57xWS9vqBNJ4/ZVhTGjEYs2VR4nU\r\nAYGl7PDVx7xPtpBml1a7tt0YCN5WTAp+bqSZAjol3T8FRHN9MevUhwsShLhq\r\njoeAIVPNWedAMglrbN2toTH6Ie9lbeALCNV+2ZCiCW8cA/2lFJ27ThnfFprQ\r\nQFvPhc706cfn7DNNNcmos3aIPxtlz26rLFiYVt5v9RBRzbGcpk+uxvRtF7Og\r\nQDH3QErC2YAPvq6ukX97swToyZed3hEeGuy6t0/AwFmYpT/U5xqRdR1ZZSPu\r\nTI8bDJ2OYn/+0ApStziKct2o7bPtE6NNFc9AwyqtnnG3g4QApPKyOQAaTc53\r\nmukkesSzhZwvo2pmP0GrIxhFezuoauCkuTVwR0iXGUvGz0JugGP0MEO4kIV8\r\nTEqbDJchFLWNVIgh1Gbwb85tq6Tomy9XW1IexslIWmKtVTNfdLFJP9rxW4Vy\r\nucCh0Oqbk0PEKhbIeUOHB06JT0i58hbn5CZEHqxqhDE2+waw2w0P6NKJrYqp\r\nyrBId7zoD0+JBamAQjOUZWjLiTaSwsAnoVr/aAZxnDGOareS/CG57gFCEdTn\r\nVCPoLa8KiKKfhckoyDKo3sofQaqLKHJxAEtdFpK6aKYekAivjncJS4WEllJB\r\nRYHSSKE1vuiOf4XJk/Oel2CjX7DDlZgXth4=\r\n=zTuL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.174_1673761674645_0.09104950038937853"},"_hasShrinkwrap":false},"0.8.1-unstable.175":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.175","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"e2117feeb7afddfd41b6fab1d755040520c64107","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.175","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-8OIveRkjwiWEC7YbC1IwKr4q/qMg6qVX4HeS4qDx+LhO5jH6GayN9hl9GzuKHW/cLjwNOAF/JviJKO38xeUz9w==","shasum":"2e5cc5e4b72e31996692a4dbe5cb4dc567c6a197","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.175.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOnlZChTTRCob6G5TiUYCKNPDR1G3S+6Xi54MqHdGLAwIhAPkZ6jbweg3kRD0uJcdUBljU9/SQf7OJr4MhZ1MHyNjI"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw7QZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqU4A/+I/G+/jt3mCGbIcOuLH0vvBR1a7gV1w3xcLgDxKvKyy2kwlO8\r\nR4+uFYUEDmhAMCqjFgLEdL/QU1cmBp+6wBENtVgaTj7sf8D/tzFRkbL4bvHa\r\nAYNcstIrRtkUl7FAe8U2K9goQteaZD1lEDiSO2Ggn3EZ6oGdMqrUxXxRvlRI\r\nig8ncDgdVRlMzcvRkDoqM8h3zHgLQnXHi4E1YQfA54ashPK51ntYkGEU+Ngv\r\nKFpMYGLOAOn3g/Y7uJx4qN6lsTQxYujYJAiHbxQqOfZynNahAMdcpAI44huF\r\nCYuIrzTGUDUFT4v6fJG3S1Mm/Fj3+hffB0OuDEqxSE5lAt6RTuMJC8pB8fmv\r\nV1Uf4QybuLvbymIDHP3soW6Cy9nIWlBLjXV65JZDfxkMe7re9tahpmmLilog\r\nQsbCzkkNFNTYGQDbryzfZrxbQc9vgqzVnq2HLObI7P7UjboDtbS+8fcC7t9Q\r\n7UcTojGS6VpjIUrP6qxdbsRWGjwVBNO/KgIq8wyLbuoBgt+5CXZT/Vxn1rAn\r\nXnxYvneA0Cl8/83EEY8gcuwgwCFv5TOB0ce3LvGVr3yWYfi2A3jXC0kmZur+\r\n1+xIrTjIU1DDyBBvWhA231joAZqUK/cGyeXHSW2pSKgx8Vl27RrPBUq0cM9l\r\nXdwRUj4ZSV67Fg/x8dYH/qWwfswRnN7SG14=\r\n=rS1f\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.175_1673770008980_0.4780506300694505"},"_hasShrinkwrap":false},"0.8.1-unstable.176":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.176","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"f57ae177d5df83d347401dc57aa4a887806e56ea","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.176","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-Ccnd0snPqxyfc48CzeAQ7Zibo5mNx1peRVwA+7kkBA76eUg8keYqiO7q7qIs6zgJVyjXL1VdIHyRY3rEADPlNw==","shasum":"7f6ac8e3e922257bc69fa1350a45a6db5d30fdd9","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.176.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvs7rqLDtg5jsjaccrrOOYAx3EsAffAyi72NWVdJQoNAIgZtoZxQv3I2I10IkLKzh4i0gW10iLUgqmm/LCLCgwFVc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxLHKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp23RAAoMCQFdaFdUg/l69bz56J8sAGxMkKcvZxAHFmiqjhI2CWo1dg\r\n3ym6Ntgkw6q010/t4+k87Qgj59ARXzdEMDM9FLW56FitTeuUBMjHAlHn2+d6\r\nkDGCk5ZzDJsvx07GeDmfPY+d7GVC9nxxXBgXcjHYx4251Cc+BZKG8L+gvJPU\r\n2ORjsGyx+zbklR21khNIkv/EsnUKhGbGfCfZXI+DK7LFzDY1N2KHYfMhYI+I\r\n3cot/codIoOREKsMz12RbexaYoPvCOHPD0M15DkoZDohCh/CimSEzi5/Zlez\r\nIzxdvZBzMKWM6Bq0l8fYUNblXqH8fLDanQRUjQeXilDUJEevztsb/AvwXuBS\r\ngwd4OUGTk/E3lFhD4U7TAQBLweYUbIECC1744pZ8cjyNm/XqzrW6cxnOxDfM\r\nRaph+mPj0aEODUczdq24pRUhBUSSJbuQ+snQj0m1tWboFrqMkBViV6f3lnCd\r\nib58QTymLyA4vlTdq/RX9Ed5xBJ1U0+3ZSPpDMmn1FxR2grMXl6179Z0UTAd\r\nCDVKkwjBs1aNkj6RutDOb0+7p375/RFs3pdiHwf7I1GATyIAcZEoh41Krc16\r\nZfpNs6zqY/DTbWtem6ZTxM+ZCp8YDcfEgBoMMXBkCaDL9FL5n4exzU9pLzXN\r\nI/MNlcfEK5agaPlcgGU2xCPMi+aXjr8F7pM=\r\n=xthi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.176_1673834954052_0.339136955264455"},"_hasShrinkwrap":false},"0.8.1-unstable.177":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.177","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"4d82518653ff456383561c22870856f110976aa0","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.177","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-xET3Yk2ZcK9pQM1rpYZHR68345C0extz9XouBayHVhsx8C4JagSwUs7Nm7CVt5o2KxW5vlWVhIsIUo5V1g5IeA==","shasum":"e1e22c3f803f32d72ea79ae311412263f6a6b70a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.177.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDYKJkszOJoPsFjlAmAiukUgGKmRYBSdm+rcFbUMkqiUAiEAr+hS6E5FLSlCX2F1PW2B3jZZ38smKueOevO3bgucnkM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxNZRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3ug/+Ky+DZG/nobdH/ka7RYvwhT9vrv8Q7/9kVa+NSLnsKG7d23nF\r\nfxIrZZhE79hVDasn2URcrsaiYCAIUfLKVcCpbYVZixxxMq/fyDtK75C69ZH3\r\nOw2FVIbusd3rsiZFNUQq91UphJOrrlPpqVHmBmlLdQTVTlKZU3S/yNX6VLgi\r\nA4Z2LYptlSC5J+aizXtvIMGtYtJ4B9rlga8GFp0AYnWXoKWjJJMTd9HVCY8X\r\ncLdZKOLZNA/e4y4KQ6pU+xlk/nw9/JVRQA6oVkm+x7ATza1tfnOKr0v7AG20\r\nU97nkGVHiFb6vl2peqwyyhySYk+8UMP4pCsAvGUiY4TrFAOVMmB3lMJ6IQiJ\r\nM5b7Z2ECEDvzsq16ha77iE8lrvNWTubFG40sG4Jk1vPDE+yjsj7FwCGCYyi2\r\nntaKbrdvhEk4qw9rtj+S7ntL+5aFPgMHXTFguqwizNryedCPgkFNYtloQrEV\r\nnDUFguE2Rw90v1Iw2CgiFuKeXWgp67bjTDBa8ogDc/5XqbLG/oVhUqr+rQvG\r\n7dRxLYyfdUHQN+PTBFCN3gDlka7KxElSRBAn4VkhvaMCRWn+yWzz+CmR7FJf\r\nyw2LvQLjpNPHzWgYaeXe76i1oJfkmu17C9+AIptYr21rYdcKD5wyBggW5lU7\r\nReMUPuuO0WGgzdViiymneMJ3no665bh8fjk=\r\n=f44B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.177_1673844305662_0.26559878026225436"},"_hasShrinkwrap":false},"0.8.1-unstable.178":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.178","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"5f183ce655a40332a65480634b356ae8fa4d7a84","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.178","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-tEdQYiNIxDq0ImRG+FCFhcq4z5vurpCV6U7a1c2d2Zz012KyuI2QhO88uiOCPAUNpmtAOro70JmBXBuMYbkaUw==","shasum":"17593af067c9e04a0b2fabb0eaa5701c112f07a1","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.178.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWV61kTcbSZI6QroW1Id8E/4yX+hfIU9g8fbaVkeQSKAiEA7nF/cxTBP7lcP2n9H3e2/z8Pf1QJ9SaIMUEjvf1mK3k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxNnsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmov3BAAj+Tqx0EDMYLUJSakpeAgXbFbm4BHJSdNVrg6K2e5MCVyQ0cS\r\nfvQGPH8MOJcI6GIPP9RmkyG9CZ7gG6N4S5jrYxS1i3WkWQ1LODYWVd0Q6W/i\r\nh45C0RmEUGlivY5qg6wDjj+v/f2cL3y+GSQs5d6CI2vcNS5NxEjLW0bW7dP5\r\nuKsuVI38uBHMZenC6FM670moIM1+yMRFA7C+NfYid9omsTllsGtGykRI24+3\r\nBCs269yt366mThsGy0x4dNdoTKs6YJqkOSJXnWFt2PFTTjybMCGjlszZIO7I\r\n/7x4Gy688sdZTgBPxayHFPSzJqBEeESNjdN3T+BcuoHEzqJELRP7Z/ny/tl/\r\nO9gVH2G3QqWRcWslL4vGWNBF7/6SEG0Rdwvut67LbNKfES67nDQJnsWRLJ/R\r\nG80iG7kkxU9gc5e/4rH3IeJv3o4/5TwgzCbokvCUFOQEI6v0R7caFf9SsXZ+\r\nP3hLiB/HPN2OMKbFQu5RPQeLziQwxJdEDolhccM4YOzXKnfdKWOyXHpfm7fE\r\naAHYZW4T9lDntIN/q9lcTOkrS/hhPkFVWteAMaQ5tCrn84hR3/V6Y+3eNTGz\r\nx0gp8alFsBdU4jc3J0DrHfRNXEsb6iM5Ak0qW3l+ZW/k8FNLFIRr4ezMexY3\r\nCDODC3uf1aZj9C3ILHtf6Im8/7RXY+E3RPg=\r\n=TWyU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.178_1673845228812_0.3217340168622753"},"_hasShrinkwrap":false},"0.8.1-unstable.179":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.179","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"2e97af6eeab2fe0530cd12425fd6eaf72f42a012","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.179","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-Ma7zBqRFTQH5jTc5sn37Ce3tGsbdg8PJUOxshL6xvP+8YV5Iz9QVNdIcImQHOTMekGr8/pJOSGq5tanqpAbIog==","shasum":"5d97f5b3b413fe07197f77a2fb82eb077d081749","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.179.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEKw9yAAThT4idCDGmfuy+4saqiL3r62zltVLGIyyQrAIgJeQNqkMS/K3LS8z508+is6MXKChyjJ8fO2+thpDz/Ns="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyesVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzAg//RRUQ0Ugg4fl8EIq97gAMd136MSAxf86UxSHW4IsHgAie9Rfg\r\n4XCXis4oDdEGfuIgfLSf8Qgc2LUds7PdQ6ZF/IVcMPypk9BWiA/kWWbOyhr0\r\nMbmws8Yq4daYe1Ia/bFq8ApESNyjUi/b1bDkW1SvucU8G4ag4pVwvBZ3ioVx\r\nz+iYqPNGqL+fXZnEhzpOvoMVl1PQutjRqsSHPBzR4GEq+5WTCGR0utQ1mSrv\r\nmXmGn7mTyTsTrCGnLQc9o6DXvVLmzMGi8xu8Fs/WPfBWW/dU1d0WRnx2WRQx\r\nLwhNgrXUMSI8ZAHrc7wpcDjs0X8I75ASIsWXppR1ugf1gvOMEwbntdwnlgDN\r\nCQzJ3oLOpBFWOG+ENyusE+dfI3Lyjri9mrst+7OqafFS/wbYcY4ve15WWwIx\r\n051EjsfDjw43P/pBBmY6Vf/Wdl1D9KmZ0B8KkOKbTpZbVUKC4FLPd4qkPx5F\r\nvvFTbY0r3CUPQ7V6lPSTYM6krs88enaGJ3j/wEuxDud0y0Pk6LGasMxBbcVu\r\n068NxvisqM5xMf82aISmwGaBBc8ou1oQhS5y7bCzHcjEgRkiIrr1CM+llA5Q\r\n+cCWDrMcr3Jv+nG0IOrJ19pn4PvdHJeOYFOYa5LFxvDzBV84VDccyenvVH9F\r\nvPpaxsjqtq9bEkQ00yNciwKeEZITNrmfdas=\r\n=P6/g\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.179_1674177301149_0.7123208954151139"},"_hasShrinkwrap":false},"0.8.1-next.179":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.179","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"176cd05cb2412a799a55a460f7983afbef80fa36","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.179","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-rIpcU6p7Jzyid6RI3MycjBEnuqNqgc7IUrv6yznJvpDqglfl42RJrFoNSlO4ZeyxgYm7Ow7O0Bcy96qm4mJfNg==","shasum":"c1c1aa7d9369b9f56bf823dd83380de992fa7f76","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.179.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQNj5xiASkC7aAMY4nbYYT2kCoGcyNk8qWghlM4QDMsAiAl5kTPOFdact7DLonUXDhf745aXLB6eLaHXeIiajA1ow=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0aB5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoR4g//bEb2Z9Hml7Vb10Slo/iLEmaJt4N47iZf7Lt4RF0u7AmKR8u0\r\n4rx0eLkP0adwkG8H6UEPqStofigOU2KE+EDrHVUY4ZR28dkjjT5kLOLi5Xte\r\nvyqzwd+/Ill5Y7KdKUbhvFLIX0rEl+ixtdu3Heo61sIJRRAPjE+iRFVJgCqG\r\npKEkh5ZQfrh6QdKQ26QexVihS25gAIgFEMlFiu4w2rPAq6qZXy2YB/u9nQ3r\r\nEPfyil68l6TBS/lJEkqTP/JyEm5d2nEs/4aN/tYEWw0X3uWfhIet8PXIvY8f\r\n+QQPlB+8xjpLCvGdjkN+igfMnUADPvK8q/WL2GDGPlqPhuBpEtKiUZJcnFMe\r\nCgkEPB3ETaKdZiZeQEbAGQtA9sv6s1TZ0ng9iYCwgOFlqLjaU31pcy8+KIXl\r\nA2f8KG9INh6tclNqrakg8+OlKOy347LUDfy7FvX0ewPWU75LWjLGuKDzf3KB\r\nz3EJ44YJCYlq+SZgJlR/5Sq+YI9Yj4bZ4Cq4Qw6s3jbfsdvbQqPB1m2aYIfR\r\nclIIymhmi+iIMUYggZx/sLzd8eOl56t1ESBJ5jy/7Sw/vH7Q6739zBejyWvL\r\nV9nYVJHWhuLKsIUdbpXmTxYo8JTH7jbSD1Q4JNtz2VQHhsC2xLl5TAjU1j9K\r\nxxbq7sBm4DUpuIQQKtbTBVPRSBvZnwHOKXU=\r\n=YbzS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.179_1674682489186_0.36015677634740095"},"_hasShrinkwrap":false},"0.8.1-next.190":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.190","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"35cba864cc44acdaa17e4d81f6215282bf80e9ca","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.190","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-sBDJhM9bkrqlsL7HE67tglt1OkjDZ5p0/+r9r5c8jIMtXi0cA3tODzYoUQR9XZLTQx5E5U3HQp1ec8X+Hm3Rrg==","shasum":"1692c433533381ebda625f085764b70374bfa98a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.190.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRa4jamyXvs1mGzN9HOHyA9PBMRN7naTcMEwE+7noR8wIgRL4cNVhdLeZOLfLlJWHi4IZmuA4mgZmzPPyRW22MeeY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7f9/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrI/g//SmO/qzMzoawL4I0BbLd8EiS8C8s6VrTqj4OMF3539BxgccG6\r\nFPWt6RD/xdMg8tGkouxy/FxV8b/JQPR43mHuxtu4A1GbJSdMKf+XFJpLkQFP\r\nqaa7RGfHN/d2ZrlgTKabzTzTD52fi5I64QRcVFtY37y6WrAwU8jRySZp7tv7\r\nsh/55HIxYdV1FXKAxJW6J8yoEp1hSIccKOcxVeA/ASadDtLIi5OY7bmhziWE\r\nwwLV2MUqeKAgbOTQShbAiJIuQtPrsYSIpkUyW4NaeW95dBINPopaq6Un4eKl\r\n9FJF4rnAW7OymHLbYt65Q9Fbi/AXuYjdVkElhK31ABpY7BwhCGtew9AuMRPV\r\njUFU89c5onIEaRB1g9KNVsTINp9JT6pkUWkYdfzNrndzMv77tuMJ/D5t+/0e\r\nlbumilyeMGgts6IfbNWcPynoAEMIAC/Dj8aQraJ822eiXBeZ0ig/8OsUDSbJ\r\ndkMDpjKEkLjxvM1/V69mjnPiXVdJsBjcE2Fys9iYWwwPnkKrw1TaMf9DdjSD\r\nkGXbMx1JPiMfpBJVCSszkDqH9NVhnbLNl5xRibpOVXGRsbdS0IRkL7TJ59ll\r\nRHZcZfCZJjubbPIuOgGWWIlWVxuC6h5UQv5wEkkzzndUryOUEGFfvfEm6Ecu\r\nYsj+SwbgAM/7j3HRNWKRnCvRypk4JZDGU5Y=\r\n=daiW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.190_1676541822770_0.9205597756966866"},"_hasShrinkwrap":false},"0.8.1-next.192":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.192","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"7033a2e5a80935335e5ad7989f1c03850270a986","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.192","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-YLTJ4cx51MeAu1bVbYH/JDI+XcdvAAd9zdU+1h7Azf8815PqRBIibANjYIddnIuQ/uyQaAa09+krxHm57AULGQ==","shasum":"cec0745a9870e338d54cd394d73be46141519b17","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.192.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMAPVQxtYUeq3dvCwNlhvJK8LkCH4FL+joz7o/wd9N2AIhAMxNARW1Hnp4KcL9zWEZpinLt2ErMdG1YvIbe6Iq6XsE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj76S4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqtow//YEvgbEmKOgGBn1DVb5UJ2lgiO9vvVVniBbwKitioLVqBIdhW\r\n71OK+gLYL7aZ1z+f3T+p6sIcYa6JkLJSWbqlaKiwJOHOqOC7ktv6/eLHv0rv\r\n2OSQctmywbe4tbsT44oh6/IERMEFJPVATFaeKMjCuATR9Kluf74AnXnPT+yf\r\nBtGIAQvw0aGZifOBcXG9k5mqzziNft/Y9D3VHquv/zurZLwa1eyCbAUbEKbr\r\ntYylumQ5Zs3GgBe9JhUMo7MTRPjVHfr32Fh368GsiUU/jxPfFraYxORuhBUj\r\nmb6Y4AZT7NUPuFW9ZAmISQtK9bKpSh6k/rJHu/FYVutyCKVZ+bqEn5RRfuh2\r\nI8KcEpK4hfyP/qDb6s8LRJhh/iKmIvHSNkEOTfwKY8FsTzkOF6UYnE65UkTo\r\nDIg7l1wCNfIm/EVcYlSHECw/gVuNnlOEjE3/s6aPuSaCwXElhRNcHUNwXmOJ\r\najBYPAUeb+91f1BjcwB8rcEmYMMnVKqRvsBzT+kgyqyD5guq0bqOKD4oxr5/\r\naFoBnHVxcr62Y4ELhlaEQHazxRja3ZW96/4tgtkMGyYbRyUEk3uovYrvW01T\r\nayIg7i2YRz0J5kIDs8VDTBSUbhES6EeJFopUdt3twIiPWWKcuGSNZMbPC5KF\r\ngAgQBtTzS8Q2K/KKcpCJR4EO71NWOm2d5ew=\r\n=cP2L\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.192_1676649655985_0.7976198126789031"},"_hasShrinkwrap":false},"0.8.1-next.194":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.194","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"1db71de2a69c72a14bf393d8093e559554f2ab34","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.194","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-a3ZtzdwsehI3ntxwK37UTbaOmpjkBwe376CNcgnvZ4YQ3H0O/Iyf09EsQ60EP6gLD07eZP3461i2QeP8gMznvA==","shasum":"c47203e833332245cc7d6b63da7223bf54bcf03b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.194.tgz","fileCount":19,"unpackedSize":36900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAofLhH1/n1y5xyusJ1bTfVUJ6IzOu/dDIzl9RcCgLG/AiEAnZe5ooBskKMdciFKKQxPfq0olM+siF9W2nnfARHGWFg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7/nmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/2Q/9HX7ZAhXIK4NYyftqvujU5Doa5rF+rKbQ54M57+GUxM8F+KY+\r\n+mIa4f9mhR8EJFwY2eeeeeRn5aXFHQ1QkfioYXG8R2B1kvAYl60+UX0q54a4\r\nkR6dwXw641W89l6cx/zicGzrdN3Pky4n7zoDrCxKYlfG6iAfQ3uZjxl2A+It\r\nk3G2T7zgjlN1flyxak5bzl+pGKCv3/mn1smyTBDvy2O8nX4XTb5vdo381Cvz\r\nuRUJqaFojYHQE6pbPsKMlPrBdC/XZ3DXOW2Z4FDSKBcccA7H18oCEh6uJjFo\r\nBKxrS+phVmvRnX19281kNSpZgeqqnE4MutM3vSJkfxXtsWDEk6gj1wd7HmuY\r\nDLq4s43RZ8mn284y0GEHmXB0dVG0yqSZOLvM3zMGXXmDVnhTBqH0RqCzm1Sj\r\nDIl2mI4fouFuM28W8RfLn0riba08iE2+UP0f2liEqolp3eMU1fUjS09NHvEL\r\nP+EIXBgjvHlUV9UsGM2PZQHH3LdaiFasleJKrKkQq75YkoEq839dLZnO6PDw\r\ng71ba4V2v19nAHM53vcs10itqjvgZLF0mk8p74oXdeEEDrk2onQkxB5Ofkos\r\n/4hLVFKNWaKFWg3TJeKHrquJGqUPL5ugSJG8VzNaCk5v78CUa3yn6VDpL63b\r\nhg0i08qvnsRAesW5uLKMjnUyvo0noah8WJs=\r\n=C98E\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.194_1676671462533_0.4622413029922108"},"_hasShrinkwrap":false},"0.8.1-unstable.195":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.195","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"926e358ef3eadf19fc3c8f7c9940fe6322c5ff85","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.195","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-Zw2pg0Dr7V4m2WO35JwUu8CoOzcsQuilJ2oc9OPFKc4p+n8P/MgmWVO8Q9BY4oQmel7uOx3vMSin1Xo72yBBPw==","shasum":"e8f1bd64c58a899d57e799a214e2f0be1f698573","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.195.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWxHbB/jqjrZD9m+pZcWNg56ac6adctHK2fGTiw2l/mQIhAOyM8pDPjzmHD1Fq2pGFZ1BKVFZUQCjbflnu1UZg5QLx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8B7nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8fg/+JkyBn12oui6/7Br32ONJKfUCE4UkiPXLZBQIMxf/Tn0VO5h9\r\ny5UUvearVZNWN9bgMFNwklyL2SwDXFlsuRIWJJIFfMydPCIPJsQ8ZSQrZJDw\r\nCPUxsSsVDIQ9i8pN2kDwcWFQ+0lVkUxiGs2V6m5wvNtg0aNpxz8Jth3yguss\r\nlQBJIoQvICBROO716kSrjajKl3f0IayZ4pKZ05K7jTyXB+4Rm2rQVjgUAHgB\r\nFeqL10bCY9sbIQEVXTV0JwRsxhRDF768fT2AoJ4qJtIxyD044Cjl3z+Myip8\r\n7iIDQKKrEFcLdjIFruyTKkheUATnAMsInpBQnHPFuZLvbsxG3BJsu6gGI4zD\r\ninB5ePzMFneidSpyPkXc7S/bpC7hNAb52CQZS+R+zcdSmNdl+iBsappFgOBr\r\nBd8/4fgomBvAfvzGDLwhnGq4EA9riELD55IGbDLOZRA+0/hu+PpVp4/l8LG6\r\n7fLtDHzJaZ1hUL7w6lzEIWtb7x4Ul5UVd0ZeZ+WN3eCRILhTBN8szjT8wCfM\r\nO0PUdWqyRcIZ+moUf/QCD5sjF8Csqe2HSjPkEAZLmL0vUuBDCRUBt19G09bu\r\nwnHL8fl4UXvEfzmJuRnkNEPCxfPhm1uDy+j8bF/cWX3d3ff4weOWIylazuiF\r\n9Tvyx5Gqnf6LGevQk7vphhrxa8lyEyiQGk0=\r\n=QBA8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.195_1676680935428_0.8093388461510165"},"_hasShrinkwrap":false},"0.8.1-unstable.198":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.198","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"cd7ce41993a9558adccb4f960643151bd7523c4f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.198","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-XM2GnNYAyLtXS/d7lEQF5iAfYMEwWyU/6yYOgxK7f7yFrSoGktiTdab9hk8ZFr6Wo3hPYhZ8XWvVHdTxC1IIDw==","shasum":"17465de7629d396a4bd63205d981c91051e4f69b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.198.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnZtBB1ZI/+lpr8WsB4wBhqpO16lv10HwCgDxjiRWKnAiEAp8CXn3lE5lEMrt+SNtzCJWCXmJXcoO2mr6pWgiknHW0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8D9sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5OxAAnNkwWbChO3DMfPleC4ZJF4iB7tvxNjES5xSonzTnWgYtBzvA\r\n73fujBq6OwNAkCvIY6cpRHA4Kl0oyqIGh/M/ATNCcUIVC54nKWQE77Lntoz+\r\nm+T0BzP1+kGp66tW6F2cUoi6XyL5lpkXWyemXHV5nf/5//2UPwnC1/zzYKZS\r\nRc85ht1bfV63tsK3xmLG/p6M5YgoNO7RwBsCy+qJRv7fw4lBfL2TcOARDPpp\r\nbiU6OwKIpIYQD428+4yMAuccIkkvVZCMeSlrgzIbNwMF/0aorDDk2gBMWA5q\r\nYB9I6vMBJwP3bUyqCVMPYG8NfEBGwEPaR2W8aE2MMSgi9N0WyQPNYGcOsaHp\r\nhPJbjyi/qmLdE4Gv5gVb2Df/8kLE3fjIUYbWgWkyvGrDeLAPBEmgfRsYWK5S\r\nv9uD1JibeYy8PaAVnckpolGHKGS08tWA/UzzO3PuyxnWmdE4e3TgTf7jD1X5\r\nCm2mb1kwH/H5DxZlr/hWuuKoUz0HdSXRCQZN7X08cMfWeQ+pKlqCJ437X21+\r\nTDCQ2yS0QltGvxulwVPpu+iv/GKkkGSXVdC1IH0tpzQaiFVALOsbvGKu4JNJ\r\neG05f6OzeClx7aFL+R9tu9eJStYVy5KTjyhAqkma7uDumY3ZjG6kghx6dJFI\r\n0JkZA4Vfa8lDVwbEF9jEtlipMkZjIsPkld8=\r\n=AK9K\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.198_1676689260494_0.947573195869347"},"_hasShrinkwrap":false},"0.8.1-unstable.200":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.200","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"559efe254d9b5780b8cd10ca8e70875c3c835ca0","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.200","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-pqlySOjfqxV+M6vGcgOhcPnuodDXS+ibekKkkzoCMjeUS13u9wxXiVtmlLOYy4lvOVe48+CyDfzzqRdmWhsrZw==","shasum":"3e056862df2026f828ced2baf99cbf78a6b45e45","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.200.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYtQJi06vi0+HgIKfEdcGxFhdtlPQH1pXtuDoPP9H51gIgco9BSCqnl256ppBnR6ZRlL7uYXIo/M8fDMpM8uLkJys="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8M+tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmolFg/+N8deCExY/g7bNJBVD5XUykbn6JoNvu+DGBsA1EXF1BsHharI\r\nVUuPJyD/a01zA9lS8wa4u7xBgb9vMDnAMD5U/d9oGu7JDeW3UUz5M5sgq7K4\r\nZfEBv4fskNanI3a+JZKYc/GM+nFjkkL8TBKMHYbdU/9kn9PveqYhi1I4roke\r\n/U2yV8TqU8EVLdEz26X/tWsnqoIC1mVWliaaVW8mhXLcZdFMbbyqp3jF63Tf\r\npEq/7hsc8UqIRfMrzT67/lq6ccJogmU3hELaxoDsC1dmkvgIY0pi7Tju55cf\r\nRHzqSNEGiRhEh+b4uDCvnkv/TLk9sWFmA/p5FZAAGYdUWB4RW0VDDQLUxvk2\r\nPnjRXbIyldZIu7BClgFKaS5ql1Z1JC7KwqAVWRDbo+63qNeIBGNstSTHUwUa\r\ne1BF1zaX755aQgW/buAMer8LU5dGqdzFmDqr4mP/BkQ2MHfPFWcO9OLnF0ib\r\nfJLjZHsJeG4yYBwCYmLIA1W5082bvCe4qvvpsxZazmJjNSzfiyvsvR8mPYs0\r\nX2J2fLixQzUbk4u3d5DF8OsUKHdrGYAtv+THr1oyyhHv6yQBwk7lWAkQTfoj\r\nxgjuBYmI/LcO/YI1f1pT/tXduNmkxSx6GRpXseuq3Ukm7jxRAkfoAWqx0/iO\r\n+H10/57Eoh8+g0tJn2s/sT1PAinjip0qyws=\r\n=eLvM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.200_1676726189738_0.7993687369764957"},"_hasShrinkwrap":false},"0.8.1-unstable.201":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.201","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"f04345b97ff9a78a3dff096599f0b675b3239a3e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.201","_nodeVersion":"16.19.0","_npmVersion":"lerna/4.0.0/node@v16.19.0+x64 (linux)","dist":{"integrity":"sha512-aaTALEg/BB5s5uU1QjHaRhPSjMZbGgb0K7JwvU9K+XZ/dSmkMPF2gKXS1Kph6URUAD3AQZ9UD+LmakcbW+N0/A==","shasum":"549758213d0211ce947153d160901c0687cf02b6","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.201.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7mjR1r9/ZtMfWueJCtPph+zA8Oe2fjJlVbVVeA1E4iAiEAukFyEoX2Kk5QwJU96OF4+9iuoKlQTh5ZRhn9FITcrTg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8NsJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzZxAAn/VWBR1fX4JPR7q8Rs59lagy8JXj7AsCpPMSzDMS459Lcz3f\r\nTUyVVOQzOkL5sNv9ixiT2NeH/XNwrg6iFWhuub0CPDgMZBem1ulP4vb/VDED\r\nCS6F8xkkr5RyQiq5sSoeLzOykcvJWY2IdcCWy5RXjJPuOC4pJzTGxlNMtqjh\r\n+T4E7SSM7fOmZX1aZmrl2gWu1B9oOxLknaDmxGiPDgzPj35jZ5sFPF26FRaK\r\nDBsTBpbck9/Pngkm/MGT0aH3fF+8lO8tpRqq8APcebn1YxvwWOQz46f1vk7S\r\nKW3/wCj1CJCUCUHU5qe2XTb7X3zS9+oY6nK9DMKQVofyUBT4i7QENksBLoXU\r\ndp0uhyptQFhEdFzkeJr7vCWnAP6tYzNm7YCiJK2TX1oV0HSGiFX5wd2fwG1X\r\nwptdsbwxwxIb4/M6FB2Hyt0mmr2tYcXHFpv5H99W+JVvkudee9PrGMl9v8rO\r\nXRd63j9U4vwyB0BFycEGqFRhb+JL8LqVuv7QpecKhTfnX99H4lHxT9aE680a\r\noDRJkx90jKYDo1rGUCiu0xKfzWTR6OuZkPNjjImJySNl6JXNd9M9YBC7O1Xa\r\nHLBM6ZJCZL8O/cYqx2Y/x7nhb+ZZwXoG01b3b51oLpLTaNaWvI+zBJOF4a2X\r\n7DLBu8LkOYKtoDQng5dhPpaWNaUDnfJydfM=\r\n=+CbA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.201_1676729097714_0.43086977051740916"},"_hasShrinkwrap":false},"0.8.1-unstable.203":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.203","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"129b66383752e05ab3067e459bff591a07aac690","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.203","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-WQ0cx1H4+xfMSwYA/FdzqvA1yarVRZ3Y1XN5Bs8ShseQEp9uL2BtEDT5kX336786+as9Jdg7auPDHdfzmy+3Yw==","shasum":"311046770d54a077bf36b9bf8b9f625c59dfbc99","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.203.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0s6Sp702farbfJJ+lsVhH5b3oRcUicfEQbhY86zliQAIhAPOxq9Twd/ekqGoRxF8L5pIcGy1dmBhuBpSrBOzhBC7x"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8VY3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfBA/+JKgNO5q61I7lDYzV1g6PHjN/wqWZ5os2pX2z2bCq8wrsS4Tp\r\ncXCBCWoNXEQYeXzwc21Ma2OVSjI11X34h/blIX4icVyLRZ8fLkB3NlGVViZR\r\nSHTMi5EcIujh9mdEmx17pYQG3HltX4vjl2+8nnadpwxA+Ni6IAcEVQdjKvVv\r\nrSjbDub5JALH0oIZB09mYT9k/Jq22Bi/2z42fkEm5b6ai2mIGa8Lk+4Xlri4\r\nf98KlKbSNmAvVzcU83xQhOIJuyMIAIBiNzlG6cMzB/cK3ByrGRfO2dl6PeZQ\r\nSW2kna4goLjN2Xq4RQByDImpDKRYTqZgWq65zqgkVONt/HTRUdYit99Zab8d\r\nVcvQExAtsu4+HUUESnJbFHlqySFwpX7tOPPbW+FMqW7prliP5K97rCZcdI6J\r\nZLAJI3J6BqzSO5AEgSvVWzVycrNMKOPrP0DAQI1m3NhuOZ9A+/b1dYyluFCQ\r\n+anW7Mqb7q+UMkPXOtBFIAmB0ikaaxZw3N4jlQ9pBL7eicwAh/LhlMtIv4sS\r\nYYKpZ9CezXDMOhQxsALG0hNf+tIxwnM/fRgq0F0tU5k42Wf6sLoIYsLDFsrS\r\nej3F2UAbZDB7nnxQQQ268RIAeH7SBxvMZcLF30bv527MbzcQBEWuGPhzZUDw\r\nSfBvrav0Ka/QP+eEuvvUxnhzEeDMn3Oo9ME=\r\n=uSIZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.203_1676760630955_0.14531944456515467"},"_hasShrinkwrap":false},"0.8.1-unstable.206":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.206","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"61712f427df2d8f61f72d1e1887f1fed095f56e1","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.206","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-LWfkBqxW/dkNsRWQmBOP92dJBwncFP6k63ODbdSIT/esboAdtfWAU/dS6DPup+kekUEa7LlT3xEbiZfSSpDbyQ==","shasum":"0e13b03efd81db90d022400965a3ea16e134a1bc","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.206.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqMphQYP56zHomgM7llXse+fg0krcjGVKp2j/nT6lroAiEAizIQKSoKaUVVnabjosuRxDiiWXUj+7SCEApu9yW7qB8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9CK0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptFg//asYL8iVkIZ4x+eA0CigSgQ/cSutxQlOFKBKAXGAEpdGSfpgS\r\nzKBhGMb02hd98YUzSNxLwZYyke++6TqkYQj+wtxsuPr4h2RiabXVmiPmhr/s\r\nSsSTQaZtCd16RRb49eScWgQALyv8NRMaDIuvuvDq1AH5ZILHCZslF7ex9VZu\r\nk0WE0oKhPTdUrTsSeqtKJqZd4OyVHglgFPdzELJEKYBqw+Q+JpGCkYyLxb+G\r\nSoxsooVG2Q2iZUi1aCJocsyj0edJFaed42ux0idn+O5EzF6pslkGwhqrc7mg\r\nMrJxhu+X8FVq6++KZQTBKLcm6b/iky9BF2o7roIY6DlMajv/zWlsMB4Wn3HA\r\njxvlLJ4sWufU4rfBpc/WSZVifdGUBXT12Cb34Y3rfHe8JB8GHue+doXGpgkU\r\njfZIcKDsRMHvGnFSzkD+fs6p2F4a7K4iFyylpFE1ejLMtllRHrgHCk/FVA1D\r\nt2FwcRimAy9P4LldXigcHvx3aGpsD7g8Y5CMYi9iT+J09OWVZUxE04+9XTnv\r\nIO+HhPoEvIlHZhe6wxQApUgyhLnUd3yP9UD9ed9s/N1CFFnjrJ2iPMZl9+CM\r\nGTTSbOCjSGNdvkyd40h7n5an6K5Wu5tBXLE+aoojodI0E0WRoPsUateMCioR\r\ntsb7ot/SFJ5PmYU9wJe8cUGQjBtiZuWULss=\r\n=BZOR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.206_1676944052497_0.546685593674265"},"_hasShrinkwrap":false},"0.8.1-unstable.207":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.207","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"8b4f22ec199a2b9fcb297c705edfa4e3dd1be7a8","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.207","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-UMPurS3QFZeRFrRNVtDqGEYSE2G7UxThe3al2D0QSq8ucEGkhttyNh0Cyw6jPSeFuK8DTXSNP69u7s5+sHEcBg==","shasum":"6a6bc98af4e6db5d99bc677b6abc6d035e66347c","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.207.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDobFtNUCveszqqCEQ5hWkCFfvb5mBlITiP+iBJVLSNSAIhAP7oTNHAGaZ1aU0QugFx/ogtTN8XTKOruy8DR54ZQvc1"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9Cd0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWGQ/+LLg/aJ973njWrn9W0tJsMccUALr1xbym20P6qz8urpaHppHZ\r\nUPmb4Y94iYZi66k8byVo2nWNSMJV3QNKX8bGVZ8sqGwl8ycTdTtWKevXyErF\r\nCsPT9M4sPLDCzxFR3Ux7GX4bmp85/3l1zqwFPfByjccI4JKSQd0yExVaGa6B\r\nYfaMu4MTgMOkcoIgF80CnioxKEHImOikcUSHQX+MHh2EaJl+0kylwQFJryYr\r\nl3OI/1nPIl8jMgxzGk8SQjTa8VGTmgx53G3D179pTzYR3bdoRZRyb1eVWQiX\r\nTWHjq0XJpwfiu+XwuLTmdOM4eKLi0AdGnK8s24wHLGuQFsUKow3nLz0+UMWh\r\ntRG20TDVkPMstDYtrN5SNkmOAjJS5sHGga+mG+DymWEtSoLaWY2EPcQ4SUhw\r\nlLrm5nSFjCZxN8P9rNqPcfZAlIS5lDhSdtlgCEnQQ2zLGIrdFL2mHlUqGNqI\r\noMoQLUKD1u22C/LZCG8ve4cXl4YHkW92Rr6GjOscD9cW4MPmysz1drpFIlTl\r\nQjmuN+ZTXoDCB3IGOohz/6SXxEn1bThNhn7tMjtAzBdme4xSkBkurr+Rznox\r\n1skJUFqvESyCmXVrRdmfUWTDZye4tyhgCZUQjL2jHnO28rOL29T+ozr8fe49\r\nJbtCvlB7RuE6QjNul1AxKuyr6JF33AJ39QM=\r\n=vTrA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.207_1676945268180_0.8331325549535773"},"_hasShrinkwrap":false},"0.8.1-unstable.208":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.208","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"2beea04a6604d82b12ecbc11e68a9f41775c22ed","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.208","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-tvlaGgGv1z0mKst/U9NT5z8BqNPFs0zuhI3H2Nl4czUo5G6JGKGqwqr0awtO6bglqqbBBeWTj/RLWevyTIlu0Q==","shasum":"d87ed951dc3f5124812f9dc00c1b558afa57c30b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.208.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPT6ZpsyudT9a9ZMbL75YKJ5Kq9/eeMZxZ2fhlPz0h7AiACJahOhWyGnJvejtycBF4BZN3Grx95qCVTKScFgoM9Xw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9YtrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsGA//RJ/D3ufYCoxEzytq7VKEKiYZrYXadCalBMoKaFnZGV9ED1g2\r\n7Yuo9pJfmjMULC3OQutMLfI35hDSpaMszGqrG3DsLoV+1EC3P8YOhZ8otiT4\r\nYx8Yzvixa0glpUR8I0BEXss57R900LJx2j4BIsLn20cmbRcPKrxaE9NR7K5Z\r\niwp10xqJga3t3gsrDmHxlAtryZ2MReLGBVN3GUy3TRwpNZ1bJmLS4cgVzMdL\r\nBgLzIq73EXVY8SFUdyeExHvI5ZMFxOzMx8AJ9FeWb3Re0FN0kDMcdd/k+fD2\r\n1dS4dR1VK/R1TS2eooqppubu/LlejxwKYTAUWikgAf+UtzMpeztMMZMgSYem\r\ntFCUal5mJ7+fova7EPCC7YnXWZ+P/9Ero6grimab9qabgGkqdhFJsQn0/+F/\r\neYBmlLMyNRJaMjfpwaxWCama5ca9aNN0XwqsyoFEGcA5WmOuT1FYqIdRigx7\r\neumfH65gE2xKJg/f65pWe/TRrL1j/QT0VW2Cw6BBVigyZR2wuhnKHh3subEW\r\nbSpWFI1N0d7tLvzc4Bs/cNjQfAG7dbv8ma5mKmyOZk/fUnitkjUJJ7m8+6HR\r\nrukLGUlyZB/0klG6OxnsE0f9yo/0toKTqxQGZiQjsMVyhdLzjjYSVKbDvRpj\r\ng1iWiUmXaL1tow2n2TEH2ErFcHVVEub5pUE=\r\n=2Se6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.208_1677036395707_0.1335405601435009"},"_hasShrinkwrap":false},"0.8.1-unstable.209":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.209","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b9b4c2a81e92d8d9fff64cd652125f521d8d5cee","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.209","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-jle3dT0vU3Is1JROBb5iKW4upwZBO+xBBd5ntVDm34xHbic+WxsLgOx7FilAv+lIMQAL6Jy5Is3uK0GXNNe1gw==","shasum":"fa8672a081d0d50152db3d79110cc694d0c40487","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.209.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4oVjlv1Vg2RX3XlWuzCfXbvOvWZi0LWGiVDc52yMQ0AiEA4bWbfebFG+yaWepdTMan69PioB0p7ZvlVIYX791pYnw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9m8ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsRw//Uyd8sBZig8w0cvKpu8OejeRpn73eG1400c0okdL2A/PDqgMa\r\nd7sNPEZ/dNJOaMkJoYIu6mKdM9LPcZbPd8hdmQG3GKPG9NZXB7OEjwmkc78i\r\nk8FzRJ148t//5/hIM9R+CgVonOmxMCLZimz7nqsAXXASnP2y34GM4qHuYybV\r\nf3MGAeqy4tEku9rRHP3teVajNCgi11sQtgFVmYkObR1PFz2PcRGRiHO4KWAQ\r\nJGmsiICxPfyWUFQyRvHnkUssHENpGBgPKOzpAD0TCjd4bjY/CZLI9+84AG0E\r\njsNc9GQXtoSneMKLNTdsZ+i073Vlpa9Btoe6+3s39lWNABFQtM271akdjIr4\r\nRyvkRgVud5pZ18HqQKL5UCDzIuNH+84gRyt96bGYQKqchgFQzft0SAkqm5rc\r\nJ1Q2Tp6JNoUZfMehyjNfN7xXx6957jJuP82/E3HGD48pgvXcBSbTKW8wK6ln\r\neB7LH7iczm2QoBzOZ/OvIndObnLgqVaidJEZiq7i0xS27Cuf1NvTKQF+AbaT\r\nlm3s85x1r/cDrVkBgHRn956ka1jxlDl12Ennyfjj/FJNl+XBpcJuzZUHZZtM\r\nw94DNiXDqu8q3T3FEbehaMoCE9aoj4W2VugSl7wubgLOo+nkB/o/rXb77k8I\r\nwujk5uT8RJZrxka1WN2gzTiTMybGH0VCnx8=\r\n=gakb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.209_1677094681083_0.924396203301141"},"_hasShrinkwrap":false},"0.8.1-unstable.210":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.210","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"482d1191078fd53a9bd5f8413a2bab93cd8ae60b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.210","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-53H0nzGIJh3EkOmrEdztuMeqvfbV0eZZPoplqtgXMyRNLgRIyX3vp0cxD9tj2ybG1TFdHWS29p15YFHAHq1zHQ==","shasum":"b785a52087432d3d1c32bb9c7e7f822728910da2","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.210.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW/Zm9y274ZAv2qjlQr8x8o8oJl/jQAW2ZsiwZ+MGcYQIgFJtNiHvYhgLYQAanUF2h1zdmJKvz+FmIqZ3nCM1rTRw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9qhcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGXw/+PdtLWyOi5qYW3+TKxMye3ar2QqyHYvC6AyXcWUm6Ld1N15ZU\r\n9kq3HON654iWC0XCUXrkaRi6OvKr+k/g3c859uLD31NCUkQuPQio1LNwog/A\r\neLlbCkK3ydoGG4c2sBjkqqBKvrsu+0mGDZiQ0oaDud9Rkz5jbX/eV3+M/R6J\r\nLWFFxk3BMqyKN22kMYJ60VtSJDX17ynJAILX3sWl2j9At9Am61jsKTyWyTYX\r\nHKath69Vsu/kaycNUdM8FTOJaoEy9KPYd+QsSZ7rXi0otGxdmhtLrEPpWACI\r\nQl9kTJdKOpxZe3QVPgG4h7cx3lCWqF8njjlo+/oZlesl33k3CrsolvispekJ\r\n7kC41UxhZ7p+z1ZAfMlZPJD4KmxGIJsM/SOFe+4toNafJqdCYd/R7dB30rY0\r\nOeU3yRqa8DLsvzELcie5Zo/U+6Y5BdktPEgy9fWokTx7lsrC+qcz9OjIFV76\r\nqgmQ14pbYgcv4gnW61l6GhHgOlJGDWhDlkeGGnoQkd86SnJyyk3K9LfTekAl\r\nX/hgx0ryTGiKVDGiL0hfbKONTFwHp61Y0yfVy566WTZmbUHIvI2h6b0IdzH4\r\nIy4PaUGdceB99NVVBqeHvIAl2HbTRT6Gomtz/XqMrli6a+7mZzS9jYQnX0qn\r\n/xfl7a3WbMnnVmuogxRC0b8RdCAIl6AaVEY=\r\n=9B6e\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.210_1677109340655_0.5571043810726499"},"_hasShrinkwrap":false},"0.8.1-unstable.211":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.211","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"fd0012a9ab01e5eade331e849f0de1d0047643ec","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.211","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-KXYZl5HKL8bxC5D0GE89UQF14dvYKpliiu4hPbL/xhKdjvW8tBEB4g7tAuWxQrjxrz4iXWHEOBJidpEQt701TQ==","shasum":"bbdbf2b0465fb66e27be18a6fc17cc9c49a5506f","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.211.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGOk0hKkHwtend+UFHYs2ur/Lyihu4JJR9w0g+kdkgfxAiALzl1ib4ZfFM/dTKwC22Nktqt9TaVe9FNNjTyD7RFOAw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9rAlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYZg//cWrk0XqgJ6jNurUsmpIZPkrnRXHEV39yUvjfa/yRM0Q0R6+X\r\nFVZaG1hJvlJ3IlXX2RRdr3M48OVX5VQLgwQg/UEv5yU5IJzmoQ3qLpzE69Qk\r\nVzcb7m+iMZBO4QxzKeZYpqoL8jofaj1VUgOgDco7aPoBcY2dX1LLNw5Kk9KU\r\nxElGDvcq9IW3Y8a5QOz2WXVJ0qAuxOWy93eHQUQdEqnf8jcZ0gxUB/7fV4PJ\r\nmuVZGcMLiBlmcOZjaxp7uq2X7xt73Zq7OHnoGmq57flnaxSHXYVUJbf1Yx9R\r\nvZLc9YIUGoHkgVU4HHoDxGhEqKGXRGbbzWPlgcL2IwMlemVR0+bniBbMAQvh\r\noLad4OPPF20l5x9TrlF73BWowGYE8BLbW6OkLkcByk0f3NfUtHwPVZ69U/Qb\r\n+oa/xxOuxtJ5bk7jfJpNOnPf+m/tHKk3dh9ZY0fvQCfJ+Jv7VVoyYAwrNArg\r\nP3W+5bLlPGWmp4cxu9ZPFSQVkvdSF5BqwHSi0nDbAOJoOxT+cZ19fjc0SFHj\r\npr3OB9nekIsY+Qc6lKgAISB1LDb0oyEpKo8lFhm6FnZ/myEKmnQwD5hG13mO\r\n1uh8cOY5qshbvNqUbBnXscJnUb5EDYFYkKVRKtk6fTSoKJLjJrcvP3bbn3m0\r\nkpqjkTi+62js48cqwrwnNtQtPhPTQyA8vwk=\r\n=0+U0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.211_1677111333577_0.49191337774402033"},"_hasShrinkwrap":false},"0.8.1-unstable.212":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.212","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"acb75ffdad63691167cbdaa2385b8d1e302f757b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.212","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-5snHp66f2Zk2uV/nhqv75SF9i/0HxpVZ+kGXX9mrtWgS2I9QJ+XuUB6C1P80md6H4QEAmEh1s3PCO3IP3v+c5Q==","shasum":"d2d286a6ebece157ea5a978c42e90082d861819c","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.212.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkwEwllnLUIACGSB5/m0AqItouynJBYwvjIZ4wj2wEvAiEAp382vlcGslryXdqC+0PlYS+f1NDa5hilHG34pw+R4+c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9sUPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXdA//XsaXhtn056XKZOCIIxBQwMZhVIwWEUxnL9f0qXG5OPNaiiZ9\r\nXp1HgncgFg0tEJrXHrii/T9gsVWZGtGgZxqfBvNAfr62L1QB3Eh8SydzsoX4\r\nHIMXO5lOxqto4yia626ZiYOjguVL4uD6WxKhlXucbG76VjX+dFET2pNpFzgp\r\noR2vRhpagCzN5h2RgXwHPXuRjtgxqY1VFpQVxmcnMW0kGf1C2AhUSTcFIPUP\r\nute96FKNcy/WSZyn40aCVRE2E5rs3U3wk9YMizBuXPniz7kTsGOGOhyUAIr5\r\nPHmqdUot5vXWI17ujxMywkTNWKcYyQBoaO4dQnq/SNyu0fSCSyDxmp5VzEUF\r\nIM2o0SLpCj2uEUM4df/foznpPYMwuwR6CDpbBr2bfJcwKz69Ya2ZnSbsXEIf\r\nXQyAIeXUYmkKGlxTOW9iAXxk2zKXPUuiS0zPH2scwqhN/MYgYp7KTw5svFgN\r\nRVJVfLCetk2vLmuUJV4q3V0UulIl2+YCEctMJoNV7zQtoz7hCdaSFOeMAsIs\r\nHyngHTLTMSXkiFDJsncvmChJbUr+MdIHfyFR1V784jmJaGAafEQmR7phRX28\r\n46cthZ96p6nNCo431ThNTO8hUtAtjx2O/EdyjU5iUKD3yPbJFmAASOIbvf3e\r\nQe97idAuNBEh/HZGP1Yx01OFHxpyWkbTTnM=\r\n=LfC3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.212_1677116687283_0.8195842249754179"},"_hasShrinkwrap":false},"0.8.1-unstable.213":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.213","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"beb99bd2861034dd6e739e18b6863118a7af44e9","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.213","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-2hAnwmvpF29nFg+M1+tgDhDhM2T/7kETGcD4QAHQRmfIIdtyAP3A6o4x8XJHm8t1f5hIEmSJvlmDhmXZrBNBAg==","shasum":"4386439d3cf4a4e3973b76d2791dbd8822e91567","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.213.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7ebUZMs6d5f4imEknOSYp2YWHAH3GB3pEb7hnu0vYjAIgE+bEIdoacysEh+7aJ9IhNACXdc8sH330WDlyvP85KoM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9svMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTDRAAoOM8rCD2ymjKWBd5PMeWRhY82Gniwk3OqbI89C6+y1Sz8jP7\r\nPYcWZng+PYTb16a7pwNqNJAkeeIA2IDSePlFXanMCPeI4TOfy+zfWIvwBh5k\r\ne/yC6X5E3j5ZisrrcwXIMKzg/vYvk/IWXyPQ41nKv98NfFJ5CcZm9PwYrzy2\r\nviVKuysVjOULBMWlRNAAiHIjloX1PAZ93rm9z0DhVRBF9D0BaV6RbCUid8rm\r\nbDTQYyFTYa+2BW3wGyFTwcxq3jFHMpFvmtv3kX/rm7i6LjjhA78PTEeN0sPB\r\nBM9H/ZjV/ygNY60X8XBm07wxyCoc7rVtxCGRFCzLOs/mxA4+5OHO2B0i4Jy1\r\nhS8yp/raG9i3F/T6ko9p1MYCscq/a+lwy6zUk6hcE/QNYx2vM5fefmcYAF5n\r\nf6yOEtVi1VcuV5uXSaBGAd1VTRXwoQDcPbvLpcM+NAvq4OBg2nKYU3mK4l24\r\nX3wHir4MM6zRm9bZbC4bFvHDUp3iXQcMRbxGwdpzCYCtwQyZjP5NQyb4bPCO\r\npL25atMcpM6HCko657/RjjPgBHvOK4vgqkG8W8z5Ljo3slhmgBlfpmizeiZR\r\n/rPqhNoTeC3BjMHn17PbKLKeXFUOYkPFpx6lkKQp9S8din0VwgzOit1UR2Lu\r\nbL9LNITFFZEu2TfCIwAZkS5XQUPE2WELdP0=\r\n=F03c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.213_1677118412329_0.7875140254865542"},"_hasShrinkwrap":false},"0.8.1-unstable.215":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.215","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"f76cceb2244a237570dbe8e97056362e842a55e6","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.215","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-YCbdDsS1AKkCK8a8y97ttiOw480dnKyNM9zpWsZmQFDGfXeJpz7II5OTOfgM7VYjoikRkCt0+S51HLMyy4aoTw==","shasum":"51439f07345cff1670ed64831423787aadd0deba","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.215.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSyfsgLeQ9gmvPZVnrJVLQya3+Q8+iSM/2WuZV+72VeAiA9BOwG+cedhW5XSIIDKoN8U1c36QSSGdc5ilIY28qnXA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj979xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqB7w/+JT9Vnj5bkTxQrUmOEkH/iP7rwSxXSL+oG089HwowaXCQGQep\r\n5tkpeJeUSU8eN74lFq6WVQKVWqVt5DohLmeNsFA75jOvZAOhYwulfDZ6ryc6\r\nkIiYvM2aeRLqFhPC8MMeBlZtgs1d2JwkAT+TKTH3KuifmaOHnEGDb81ENrnN\r\nbjmM1FozPxuKpWOYzYjVStu+tb7o3qk7f/ds97D1Ev+psTlBZVs2/uPQc9n5\r\nRxBKRCKdqAFrewmvXKqaYYGan9VFyjzzseaR88mUMImw4hiZLtdLULK4Vnqq\r\nsFtyxXMQsN6e2EYKSOrk3hgq3G7S0T10XrzMJsVOkPXvMwLd6JkscbuIlenH\r\n+LyoNW6iKZZbN/l1nvZuGiMv2H7/9slDAFFl7U8C9F70prEqzym2tb6+WOUQ\r\nNGNjg/COu6r1hHA6mrv+4Wx6AOrUtKqo020EADAB6IEYButmUNoXYXlYREoc\r\nk1PjaERwVB9bTnAwuWhvp1K0HfQ0lg73bRkegpimePEVtXZouPWNu5qW1V7q\r\n+cF1uBsidMHLCvS1row3m9IEJaUN3ZZ8Tx7c5OH9/Qspgcsr4nDgZZVi7C/f\r\nbvQ3ZSOvMb3FxvK0NA84NvtNvBdBAvPzAaW0VdVZGDLWh6+7NuSqIzHYwDQ1\r\n/mjp/NaV7ke63qW0S7Dcjg5IGtPSitMMV9Q=\r\n=Lztn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.215_1677180785035_0.7697054843397124"},"_hasShrinkwrap":false},"0.8.1-unstable.217":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.217","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"bc342f9d00dc5dbcf5c127eb90ca78392a33b546","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.217","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-km5O4oBSx0wYMPEEZMao8eJo0/BXoL38MvSIFRi9Gytp8CTzxUtYfYs0xyjBrJGVGGaMK3NhEZqvUD0z6EO/Sw==","shasum":"45d3d4c2d8bb8c045840624ef2b7c303e4d6386b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.217.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCa2d3HJ4F4/W5UEiOKFYW6KC+jmNMpsX7cR7oP6Zlj8gIhANRl1CYF/ZOWbv4FHRNuinGrkFZvnFiZCB1pnzxsfEhx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj980aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqI8Q/6Asau7tLf++RbFQU1APtJKK+MDsBwgwgNwX3atCpyBveHYY5/\r\nTGTncovDH8OHcmW3dZItDb2N4AOew/96Cw/YWX4A9SJi0HPPgh8QDcYCrpMe\r\nJL7jbo/F876r48nY17AlRPvEk3U2tZWMSBGiweVHHCrsbnuZwwMBpwMo10ox\r\nQ3rSMIpn7siZE9Iqd1YzjqnH3jp6CuAb1SnuYYJajqpJCiqUm6d/K1xW1AjA\r\ncwyaGGCRvLWrm6JubbsemSnXUGUS+67EEdOyh4XyFggDvs+yNALQRBxrFq3I\r\neo6XG/YnoN6zGqvKiVTezSt+yusXjMJSZkVB85lmMS14C+mJaE4ZG8VV8PMv\r\nae5DyiWPIBBoATUyXGAS4zUlrZ8/L1DbIRK53c0Eri6CL5/tGCMXp6bzJEmU\r\n+Sy0qTIXydguJ/f+c5vE5rHbO4xzz7qUdRsLHtXq3eIOz4nWtoyZ2kQCbHNR\r\nNamE/AdqaCh3S+h42nOgF0smgde8DZ7oov4A6INggTkhMvtRHFRsqAqE3iVR\r\n4RfjYzW3iUt5dDyPZ2246kitm4fVseOWO7u3RJZiErYT8SyVoHY/wmhdKfhQ\r\nGKTEhsuWV1kr/34My3TC2Y1G34KdQ1k/EXvspbrHy3Qa+5xtBkohISxrdZ2P\r\nDybVfq4PxgbATXzZPlM8Y+Bw5wIeNl92tG8=\r\n=slK3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.217_1677184282214_0.053682631374946554"},"_hasShrinkwrap":false},"0.8.1-unstable.218":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.218","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"070819585e783410dc75c51d88cc3ade45e69148","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.218","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-OvHR2ILKdutfk+VXDU2Ig1JjJBcluT53d5IyayjJYxn44w0/DFLBd9+giJv+3oNwz/rI5Q+EgK9yMMUpPJxt7A==","shasum":"72b6a47f7ecd0c8af0b82ee8846d893099adcb32","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.218.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXFoKkVgaWSzxldOSTsHIZ2Ar/tbtbC/WFOD6rW+Dy1AiAsKk1own61O+/6nesgfoDAN/ims8vzDhPoIpO57paw9w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9+StACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIuRAAgWOjfj+nM1WRC3GAQZKRxy0Y13I2tBz5RJtZuNwwNwcnyqOf\r\nLf5BuATbyfaNkTqs1z9/Zkm6V9xZ81LfSK7kqYFMRdPPa3XLod34pZtU0Fzy\r\nv8WYuuLJm7BQiiLPYS9gKIKIsxZyNaIuJFt/Mogpnxml6rlG4KeNxzc6QaE0\r\nRIM2u+Vf3ILeELLGNQTbJVHWEhe5z/3joj4erM9lXHYnVSVENkRa7agDVCpm\r\nn576SVZvcLpVOnXyrYqPIADzJWiXwcrq2IY1Lc+Ex9f011nkw5xOxmNtVWhE\r\niW3ef2gUbGxUIDP6+SkApwqyfhpmRruOWQLBruKKq66q1iJ5OjIZEBN8Zqqv\r\nOAac49NKOP5iqp1gCcvn/w6ar0XSWHUNXVj2ED5129VtQ2mY7+ubysO9voMN\r\nHKMJ+dcre7ChdhMRSLAURn/EF6Ys+IQsvfH8Z+h/ExtRFXDSTcUiOliJh/ms\r\nxAlgDwpqOmA+WC//EG6quMaNxwBL/AiRHFR8h3TgZ5S3q9llHyQrbYVmC+DA\r\n7UHEDfBFrPCPEX9wFUGgj7HChIsyi/tkUX/81hifo7eXYFsgD9O9l9pFQc3j\r\nj9ENzoL5tkuSHjPI0cXVD+IFUUot1/7SlfSnx5gq32zWkWbXBvofKJC0C2Jj\r\nhkYdI3yo3j9v15JbCcsRKP7uHtYGVkTOZaQ=\r\n=mHwG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.218_1677190317656_0.14430123942780648"},"_hasShrinkwrap":false},"0.8.1-unstable.219":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.219","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"39c84c0a44d0bfff00c630ac10eed2b540eab5ee","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.219","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-1Kz9mfr2vAfJ2t1m2bnps05NjtpO9hcS8rSb+/AjHHT023cCHKaAAqH9pXC3Gwp1NzIe3tkC5aDVo/oKrUrZEA==","shasum":"f926e33c847f721b5dd7075b21486d858cbd7b6b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.219.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC1q0eCNimWrvOC5xdIg/0YyNiuG+rXDV+vS05ORcsqwIhALCTSajWlspFYx+jR2AfegHYy0wwDLq0E6yPw3gkBGOF"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9+37ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHeg/+PQgveHDDEPeyWw/gNROE4/mWSy/dXdJrmObpjgV0rlek8agc\r\nJjlpjJzcFx9su8SxtDs3dr7AlC5k8J2tdxmAj2kmr0ykaWbs5bUud5Y/U0N2\r\nHMLa56FAN5t74a0bZi+bfCYUy6F1yzh4VoSXjd9uYTMoXvPg/TqA5wFE6U4F\r\nZI6drPKikPEYvAh+t+vE7ygRbSBq+IW7YB3Dr4BjpexXov30BGBDC5i2RRRd\r\nZ+/tX5u3HbrEp2CaBqFg+7wbo3+7iIt4YJfRZ6BI10yfDFrLNHeVW0+eV+90\r\noDdx7AAtGGQwOg4Ks1V1FYmn/4FUKDFxPqNVI8CDJgXk5nExP/zvVWwShVZo\r\nGgl2nejZXUzvTCknYb82by91VV+kSkE6ARym0uVThrM23IwLYSrw8Mv4ojmr\r\nTphVeE881/Uau1Cd8HMP8mBmlYoMv5a3TeEjyFjRDAHxLY9R048MkGQWPW46\r\nK0bUOqv03BOP/VfWlScar0SLyjOTEsEcGPdqc0G3mlnkdeGcZCFNOw+YGHGm\r\nCu6zR/QK8Ud8TzQWqYAgI2+Z+ojZFn+S8iFrNUKuHYpEfBe+wUKDLptLosjx\r\nR4xufHbxcUpnPZjA8ft7uc8C+wXF/HIEmoCGZ6stR/vsLHQ4VM5lvDtnhdFb\r\njfA4Jv+tcaGifpCm/bPwe0U/PNRJdT4ptfQ=\r\n=t3BO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.219_1677192699200_0.3641568636969048"},"_hasShrinkwrap":false},"0.8.1-unstable.220":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.220","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"eca3e1811df58ea348aef1d8e353711a50bab0c1","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.220","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-mj3W3NF6qwDH4iVLOkZ30XaWu01okhXwyQhXNrXgupCysB4wQTCzpTlY3+MhcTNFxEc4QU9uks4eMlbZNK1TnQ==","shasum":"5e07ab6888b2dfd7fe390bc94b66c916d276fd4b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.220.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7ruCamZHiSv55PCAEKhgz3G0fCdNz7Mu88pMFT4OD+AiEAygXxbefsIUuLec8mP7kXwSJ+EYY+K60V/cQPJ374TB4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9/YHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4FxAAgnKwvsgnEW6a0vHKvx0s2jgSQ9TqvJEMlWqR/tTLUPtjnHd2\r\nf5MYXpRNsUmp16x/o1FH06EItk+dBhKdAnWHHcjcCIs5GffIykqxIL0gWN2f\r\nLvXYkUN1DulOzMtNhMkXepmLWJ5xt9M/+bHAx3MFk1uvO4SSbx792Be0yfst\r\n+ccjGNNKWFhccmZUdeD7JwmrGHi0KroWUVP3YiWASLYA+BEjBUZ5umDEIFjs\r\nSsW4TSEliUPiG3tmTPaIZ0H9tJaERVcBKIHMrySpcejCZUMBxhr7Mpbm5sne\r\n93OcPfHAqE6zwqABzMEY18AEWEk4TDwLxDRudzlhWD7HPqeyDy1rrgTo1eCc\r\n7KW3PxR+CvnGwHVeW4poqCthrunsXpu7QLpcZNde0f7DuvlXVj+4gDTRGYNO\r\n1igryTGTYdsZ1+i6DgFH4TWx7jZXjvol7qEEY1bFVEunZthMmm1TqXrjn2KA\r\nSlQNUq3kl6EOFmARcrTVi7gWdZ26FXHIzm8VxxxO0QexXVXKh6NMBvtgnRBh\r\n738FAuoq++v4Cikw0hjTHKddJnYIknIbiY/wXmhyYM7yjorIrnBehi77marp\r\nrxjlixnHpKGCYX/jx+fCxvGPffm/4mDQMoOOvGhIWuXSkepuMp7e/7pBr2nL\r\n9WXE9R4a3YvDNa9L++TvaZs3ONQta2hl8hE=\r\n=zcyF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.220_1677194759646_0.8423287346615012"},"_hasShrinkwrap":false},"0.8.1-unstable.221":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.221","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"66cff3f98096f061b797655e1d83f64a03e74663","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.221","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-p5SIswKytu9YGBzrvNH7FRseovgJ0/NC1YONkeM/nlUCFKvZFcstLzwnKco7xdAMMtUyF101qeWld2jmw3TN/g==","shasum":"1e4cee52a61e5f43c71480bd6f89435446b2149d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.221.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0PuoexKY12iW3/LrJV4ncgJV7tOqrzvIIUli+yee1HQIhALrpqhbPTSlH+EFbw392U2MCzf7F+dKlwApvXN1MqTpJ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+AVLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYWA//cwUgtcmNgn0zTkgeOhu9d09oARGIZTGhiMzaO15PRuBdKirU\r\nJyf15ZAP3PxLSGpCRiwign2d9Hc5FKckXZx+se0ld/mWtVecWMRBl5ieXPs2\r\niJfAtjazwMkn7HZf8Qhf9DuF8yq6z3YV6De1Sb/YZX4SRxh/JumzUHXVqoL8\r\n1nSaHqKO4N6WjFU5TYsCLr+TYiFbd9eywMOip/tH7uZ0CIAfxU5ftuZnVbUt\r\nC18EQvsjERpFpBSfGZ2qBRz74reHHCWGp3QUdwExP8fnWC6IV8/ABv77zP2s\r\npUS7YD5emS6lmM5jm71ULF2o69hU4C9H0lRWiZXkFOc0MZN1Kh+a10UMvrtg\r\n9wWIYnzxYnm2AxZhulYmw9wR9i933+SWoIRLr0ZTlcKqMZybZcMtN6Wo61kd\r\nEeW1eaSZwpuALDcxy8D74c15AVPAMHdb/sqb7rDoraDZZ4BVNfQ83/10RD9E\r\n0WT62o5306SIKWrAwrmbjOCLXrfeWzp47HvdxA/nJxcUd3IwukomnUr17Z2v\r\nuED1okqPkLvybTC9I/BcifnNuuqiQGBeKlJs+lKr4hIKOz93miswZURkdhQX\r\n1WntxjsEFW4DSXSd2b6wikdpIStMIyrwQpFPPFVmASBncpJKXOJF1PCryYLy\r\nKRat+s88j2Ue1w3RzJAMIjzx/UQBytKMAzk=\r\n=7ZbB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.221_1677198667100_0.8570738399391702"},"_hasShrinkwrap":false},"0.8.1-unstable.222":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.222","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"4b145421eae3e49df6417bfa296585752ce4c295","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.222","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-pPt3HSSKfoSBNQ9TiEmV8d4isMagdgzIXrIpJoQnpTReBhJMK1yKr5hgNHNCkYh20SvKSbfn6/7wTaTTuqMgYA==","shasum":"b90a73450bbb23e67e66979f9f0da05fe9ae91a6","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.222.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEy69gwLHGVDELhZvtnQw2OILPyTO6JmhoX03R5OxrtkAiAOqXY3mfwQLyk/JW30FE+AJ+1pM/wWWMpGqnLPEQTnGQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+BH5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq93g/7BcaaJqzqS67ZfSJ9GzuZHPHnGBCwQWPibABdA+ZyDJXeMIZC\r\nv8xkKiKm9LjpAV7qDd9X4CyLgxlsVZwa9xxS50/oFSAXM2UJA02UYLEtzulj\r\nNmumOb3FB836REXAVD8+YwAebsUo/j0RtbeqTFaVrkPq1MA+ShWBPf1LdAAH\r\n4LmyNHu3INSi566iv3Kk+QOzRvN8OQHnH+70Zp7iBxpWlks3T+/YqIfXVX+w\r\n6Q5YF0Qx8zVxk40IIA3s5M3Fm6QA1cH9HTpyebHJZ5FnhdBula9DvvZ2CcNC\r\n8F2p3Hd37HbsvnTcuBqc2gTj7dWYZ0PI/d6BKsjurgX6FaboKKKPF6+GET+s\r\nvPrcKdbPO5+nzHI+Y+2Opr2DL9uOfLmfC7D1QoB9nYBpy9fdHyCysD6muRrH\r\n6YQuKeZ24SsS53kT2nvM1dO0kNO6ipm/SLSpA6/ChYVgG+V91uQB/VnGgfb6\r\no+CzSeUk5/efxE/cMz40UAXnSoXG2OnbUW2WIUB769BCAHa+Dm690Jx94KmM\r\nxSuJaOoWl7kZML3db3SXew55qdom+sz8w6tO8RVRXXuBmyw1roAZOypIDs3c\r\nu1Cylv2/IUE1JG+SqrSLpV+0RcGLIiGqk2c0pq/R9liV+YFuGLS+IJ7Ja6R6\r\n8ZSS36uBL7YZMDMGOfu538yfkEWWqgvZ6n8=\r\n=2cta\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.222_1677201913253_0.9825674248601899"},"_hasShrinkwrap":false},"0.8.1-unstable.225":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.225","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"5a87aa3eeed588b910636b358c7d718ae74f54c9","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.225","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-CX0cMVfG9BAIINwUpeZy9d82U5dif/shF6zp1lylVG7a/WkKQPgwoGcScZ0F4GIv0HLcR0z2Enfuzp/ZtICVUQ==","shasum":"7895f5753fa77675d79d890db548dae0378105ea","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.225.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlweaHbdtTLGPFdwcBVRO6rPAWXDVfaj34hFyZZViwYgIhAKdZ09186lTcL2SO9J+EtS3v/lYVJhP94cIt/I5V+FBx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+Dh4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9GA/+OAvJ9IdZopbIYv4dkUFRrAy5jDKZlYjbbmnh4PfkmFheTz8U\r\nP9fJiLQXWM018GdQyczLnEfiFlNoMFmZTTdO4dLT+ieXNMl1KUZfjOtlf1e+\r\nLIfutsCp6iqnIhQ8wjladPKeBpeeAiOUY6dA2hpyW5IGmga590Hae0k7evPg\r\nslMAHsupGYVsWOkkR/oCu7obEmfJjSaa5lmCgvojT7GX9IrHYAd7Wr/RXLxk\r\nbGe/QobkTaPKBBbLnn41pVjUsKCTrHgHr8Y++OHghezNYcsaH/YVLyW8qpUR\r\ngmjqIpJYshTVdp/5qY57R46GsKpOC8tosbBL5EfPgSNt0/b9MvabShMqwI94\r\nVq0Eu7nOA9tzkkUdovQLFh/c6bWRV4Ua3KTzgO1vssztgc72N7kPvvcT5lVW\r\nChhpkG+z319gm7HCUf+ytD9FXFhYPMDaGFG3g9IyOResxRTb19VWMDPNvyWx\r\n/o4P15QJvC4nlVHeYyiZW+CuADeSHutc5YSrm/YkD7rJFNTZ7Xd6c8S+tMxn\r\n5aVJy6c0zhSW//PiaPHzImO249qw5ByU6oKp20iBpQlsvEG/Ek9DI2CmLX5L\r\nRjnPjMx0p/GVaKk02owpJ9d3AMLKs+2W2d2I/2JxMdVQeaUJSW2DwnO/bwv8\r\nvNrAOIu8W3W83HynAbxSbHOLi3V3jkuF6oE=\r\n=1XHo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.225_1677211768226_0.7219913923472021"},"_hasShrinkwrap":false},"0.8.1-unstable.227":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.227","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b7ab1a095dcff2bdacfd93c99a68baf8ef37146f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.227","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-FYFjLMnL1Zxc16XgF37GjHA4jLfY4oM+UPOL9irRgBq1JQ0EPBmN1/TH1jw+U0nizMJPPcmKdR3Rw4i52R2opg==","shasum":"99d0c2deb73fdfc9c4f6ff21d55e4ec6f55db211","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.227.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoZ3RL43eR84TFQkera7c9OvjppJHia2KuI8zlAdvt7gIhAMVgwBFiOBge83YvX5D1GWe8O4/caiha4n2oe6aSbWBM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+V5DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXlA/+JOEZ6LsU2ik/1Xsu45TWjT0rn70bvoEdBc7xzXDtfygvDfip\r\nD3KBRkWc/Re7Zx7AuGxfIBEfq1+lidsdCv7SHLZouq5IF2uGcZnEJUzFdU2J\r\ndimpdOWkepxubECTqINNr2vm4D+R2BZNayBY8OTPXi589pHzsZvhUa6HQJp2\r\n60q1Xw8gnfzChrkfVnWIzfbYrKyK6pxRPbzZGPQc6x0uIj7CVKvuYQDB5kCp\r\nZ/WwFBbp27e9yZB4BbScu4rnKKDSHxaCCSq4IrKbXlAnX6wO9q0M/z4jYSH0\r\nkC37QeZFAAr3rQjNcLD+qg21G6hVCFPXmRwzCNoC04Bhb4T4YvxXwtOtgUbd\r\nCRhwkDaTQqHqF8pckE1ZsWsX6F6hGiBjfNxsIipjNVt4L+rgeV35cgL+o2TH\r\nnHUcgmCiV2wkjOFhjS3JBXzYIg1BTN9FKv6szN08DMRdTpJf+IoUI9+4WIjx\r\nvb/oAWzsFxByRe6zKLZFyFztoys5kwzOETsaQv7z3bvLghewidWuNB9SPo5b\r\nTCf4Cy10bvqzESDDSefgTeHVBmCrCNkL2urlXWKQJ+lffBSXbubvq1r/kbvM\r\niU75sVXMo9p+STsi7aJUGHMJB0ohLT5evwZcOOjcHrlEISltkI3IdNghzKxg\r\njKkIhm81eJS0OcTeGlHOVx6sQcfxoI4OFKk=\r\n=DPTy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.227_1677286978788_0.30865245264464813"},"_hasShrinkwrap":false},"0.8.1-unstable.228":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.228","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"d19bd2efe1ada5c3854de7b86cd6e2e13689d86a","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.228","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-bSWfhGyZlxhash68YMYD/XHkzceoUedKDtXjNy88hgQKWfOXGLR04MVJnSLz2ffpgLyPejWefTWOdg6lErTjqw==","shasum":"6323c6a6babf640d623f0044bd5ba2875e92aebd","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.228.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+lXaRao0sImLh4JKsjzMuYeovsMNx99K52V7iXf9XdAiB9Tsu+45EV7vZqfyvR/AMZ3WyVhbBUZgN7nuGHqb1Q4Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+tD4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+cQ//Tjigq+0yqsFVYM3IB5sKXvvayBt1ma+wLnUOfgJiVySRNxE0\r\nn1AzqOLBQyOmQh1+DPXK1fkGSO3MyQKIkL/4eUdMeEP75obub4D9k/18eKC3\r\n+jOAaNDYaGluwDPNojr/xTDQ/M7HP7vVXP4ysv0KmuDyTVm9a2BLNWzm7nGq\r\nvGQVCqTo4Uu+1DbHYvjMJ6oG+69AItupbqpXQGHZnptmVql+zRy2H/AF5idK\r\nnYi0G56A/mAVkZIyriI8yH0+hvjGKB55NoO72O9hfB9GfRWtUrv+czBIz8eE\r\nsB8AckaHMLmYIrgUytgi3plVldlCrTjocab3MM1NbHM3XZEJ7+5H22itWOc+\r\nOowXHmz+2nQjiPE1rkVNltgWEtDaNMbsdNe/8rS6toeEEyyFIUI71zNy9SPj\r\nCwQ5/gQyWDNKog4TEZCNZw/nAUpnblNNB5LcB27cq6keV/3ezCzuK1c2lkCS\r\ncOJUng3dUJTwTZEmVG9oEwRNpAt2KcM2g4q7j1xsDxXpX0plvba6PflgXpGe\r\n13aV1CcR6AAvRWZnoaJb995sA58lgjEXsVDHqIZt4RKI/hr2RXhNkWQ+rXZi\r\nNL3XJG6cuM4uzLSneTl+0zSQkGTqmFDooXHY+v5o1FL+xbMtfzpcq5uonjI8\r\nd8DixZQAZe9UiT/04hs9vO8sFF1nnbPVyuw=\r\n=jO89\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.228_1677381880586_0.3919262343168548"},"_hasShrinkwrap":false},"0.8.1-unstable.229":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.229","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"457a5f8f586050881b170d35c89716f9b72dd139","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.229","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-/87Ksxy3d7vyYQ64gyzzrPtdzrdLqD5L2whl+ZT7U7xPmHa7ZZwK+00rIYokYfoJcVezNvIhtQPcI9D8X4giDw==","shasum":"4312a63cf0ca6a6991c0a74b5e7c8f0f27571a45","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.229.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH7V7nkMm58lwfAxzuNswe26AjFHpwy005TDHk2TChWbAiBBJhev96tEEMmROxp5dJ5mk262FHvzaqcTKJdQTksWrw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+wT8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrALQ//eqvvlh7Bn4BAL8PCnuJW8Kby6AcPczUf0fWKv1Q0s4UTxDk5\r\nLx+6wONhDR0C5PnfLD/NzsUfklvu+ND4wyYTBDu1FhadWkT2+z7PysJLO4jt\r\nRCa3n86C4XjpbUGmVOnmaR5LMOhoNhxJa74JxUUmbYH7reIESCRPELI1/7Jr\r\nrrouIHW0SROiAeZQ6ild36x+MUu3j5YMeX8kQneSIEXgRUDmKkGXZWuQLhWE\r\nGEHpagvDXgGniUkzAVJK2K7K1fB24ptyhdNQ08vCPhUlA88NxL+MWYP1mrXV\r\nbuFLAWk/HkcYYR5W2kBnyOR5TkcArEtkxo3ncF174UOOcuwLRv7bsmmKZHMA\r\npugbqbXbG6QY/cQz6sCuuDTXhTfoP2y3Y6MJZ6OgDqOmiTYl7+m3zqtXsJN6\r\nqivi3aETAgUsMuTR7ROuhNw/dJHQwke/6gPa06bHZTGWn3f703sTRsqmI1Mq\r\nolQf9CE+SN73D0FaYyHFI1+PubTvCK83kvZsMn+cw1vzO6Ls7/alHi0Y0tvo\r\nFyB+xihJ2UY6w60fR2q8IM48MNQAC684Pq3pVjQEX8HF/mUsXtOmQP8iuuiJ\r\n/PfAMgh/ExubKT5qZnyycB26rvhJiP6qOizVrcTLwaIuIYtLtDIV/4X0lvK2\r\nrm3Fhf6nCDv5hIqdUpWUOjevkfBfMUVvN1Q=\r\n=uaOV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.229_1677395196572_0.6541079777357859"},"_hasShrinkwrap":false},"0.8.1-unstable.230":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.230","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"11393527630c48fdb34f5f2394b96305a9597ac3","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.230","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-i78yE6g+IH213GCxct08wpdqziH8Zrt+xwaAJKDstqGrfa5OzvY5BlaPRqAhsuSJaTxf+781FzBeX7ipePaFHA==","shasum":"221730a77e332ea6d2efc6d989f5d9499d30068a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.230.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsEzuQOPeZeJ8rJk1w3RPzu/SBRB3yEBdeU/LToC7R2AiB3GDuFpeKeHivMRIdmw4ArpC7NgT3t9BmmQWBu9ojQ0Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+wvjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZ4Q//VH6GQr8orPyxJ1FI+3PnikJKYbmcgr62i/nbP5Cq23O1n0aa\r\nUB8V04GCepBJcuOt+1+nfR5DEhbb9jogH9gCxfLYzs+DBChrvNqFTzgqnDki\r\nHw9/OGCkzVG9MMv72x0+45TTDtXUAuRln4IJlw6sotDADrnSLoEY5B44aTAs\r\n9rRuF3+iil3P8sfyuq1DayxwPMlqTCrcp+2+gUU+Qw1HqhEK3+uVL83h89Qo\r\nDutpYBFWmfa+Nj0O9GkoSTEP+Dm5X3H2IxXdxHhx9UXiBolb3tQzqcrNzQw1\r\niWofECu9MEFdXmuoUhPnTAg80TprlsgpBdoBufc7+PREeC/7xDmnZC4w2U+u\r\nNk8c2M0N9YyTVp088in49T06pZtS10llve3WuUYPvPQYJxA4OvOKP5D/TAiQ\r\nEOfgOQOzn7BFESUR65CY5QdkQPOHQcCSXAWGIzTV8MxLOMJWxN/FyIaOUdfG\r\nnevvlpti1sEjwVy52+JnSFf8qZpZkF2fmDFUanWPLKRQBK7SFaj5GIIyODqo\r\naBLul312PRS0aLL7Njp8K0af0B/Lx9oRXIv7I4iL8To1GEzaixEDfPJQqsbs\r\nipacRGZe7yrN4cLyDllBUtZUNOevbsZQqjgBeLGvuHe+KY+rTnjOKvlGVz0a\r\n5nHSOVMY9clCd4KdRJIqo6bCDFXq2fb7ssY=\r\n=9An9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.230_1677396963133_0.43828948058696393"},"_hasShrinkwrap":false},"0.8.1-unstable.238":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.238","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"ec062f8ec01de800469ef10b05b0a79a5ba5dea7","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.238","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-7OpNjuKI29TX1vLQOvdIPrpnF9IJppYPfFkAgfGGaiOSAiK8ERm5Y+E+/QIsMbbgqUqh4IjqG4binEucCJBOng==","shasum":"87f14c983c1b2fc63c898e6d2dd54231272ab585","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.238.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVdBGuFbSKrYw6F0YDMaiwVKOzNu94x5AUMhhfRvwK5gIgSgadR/SKWgv7iMLSkOZSwlKALr5yeqVlbhEVFNW/Crg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+ytaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqn8Q//ZjkM2ZyGLGJzJcozSzsRKUVm4ii5t6ZPZm/RSAmUJU9AkzEY\r\n9Llib8O55at+tNVa9XJnE3Rhc9FGgdaSgjQsUzUjMIuGz74WyyWrTlUpWsks\r\nN0yL3W+PiJoNFrVlyo/L+bZG9+YknFxU7KZUdQ7VODda3Nbz62mz2BZsYTn+\r\nFLMHfRhOYc7/RQG92z/sb1HMGiUinlT+Y0Q1lXsppDJZeckJNN46ASHPyTGW\r\nkf2n810xhlN2GzDmuz+EoHnot+YFPgzBUGhqeR3KfjFoyYFgaMOZPswOUIwC\r\nQjbrX5g+smyyKYGSWyP79O7WQwZc0/i2yMibjvu/wrlHYDb1KcwfxwSpzEeH\r\nBD2Q3NfYEmGXJ/S5GbYW48krz1HoY8oV/bn/AY8cLrR7pOlsbvesqkk8qmiF\r\nfGMxVrNSf/ddmeVqsc7ar7daFk90YXMD53TEurqcM4j/7fSngIyy0fcthUf0\r\nTUDsahhc8NOnxpzdu2rnnBbVOjH16l/rRCr+IBd6qQqQhER5QnTj1R2dLMKh\r\n6RogJXgDgmewDRzbBQ5Zjuy8yUgVwuAdc/eAVvDn/bR9Qjf+n4Oqp1qozbmw\r\nWn40MtBQg+5qBkTDJPH/77uDsPD57VPozRGMFPwU7qdJuy8m4BZvJes+2JYI\r\nJzbFN34hT4S4kdcDn48ozk9oZGqM8JEbj3g=\r\n=vU4p\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.238_1677405018380_0.583930882775886"},"_hasShrinkwrap":false},"0.8.1-unstable.239":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.239","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"ffdc606a95d43d831fa9fe2eabfacf47e62d1361","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.239","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-+CG9dU0sA8ESXbAE6jcufdHaTdO2WPpDOCUuZD5hg1ZmKW+PQiry9I5ETbB2AvNoM/ojHy46OlrKgMPMx4P4pA==","shasum":"5bef1e1b521439ef1c58325e7176165fb3ab7624","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.239.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAqUL1Md5SPM/ivY/0+kPv/pTUQEUYWJ0sV6puxk7i3AiAosF8V8DGoY5UHkrkoGCrlVf1o9tMryuNZ7WL3Ep4Cpw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+43IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAmxAAh7vaJExqogJ6MwcJkn9vzNz5inEa73iIRVOwWCxmKx/cwv+E\r\nNUpdw1LIXTutW5neMrEBM1rYGhPXFxbSo3QqKBmj0DesZR9IGahMSgT/o4jt\r\nwbPwoAi+PNBtv1RBY8g5TLl5zGRV9gagO9usc0L63tKgVqRtmu280Um2YlzS\r\nUDynAuNxOx+eva+dqFz/vgaHWqc5jNIHi79hY78VYEU2UoL4rn6xz0vziiwl\r\nOosLghBbdgbXF4lzhaSQJxpyuRkE7/HH3QfiAasz2ppg6hceByCIqHjY9QvX\r\ngcXwhE6KlnGTIuWvUpFygVIoGJ0RG3wtPCkk4nOJ0L9XWza0kpwooUwVHD7B\r\n++OE3JjNEUrZV6AXFEnQH5BhlAGUaz3a9cKZyRfT5QE+XkMJclkBaLww4D7I\r\nQG0ScGKQBIiJFhbXh2ljYe0CT6V49GzOtx1VshP9JN8MUzNzwPr6H+eFl/1H\r\nKGpl2Q/Wx7vczl7oEOoMTnq1ZvurWTXNsVFLasbVkWbmVJkp3tPES4pC8UM7\r\n7T3kQ2zzKEn99jKdcprhT3aK0TFdl+oFi2IlRla9EOhtL7L7PmQ71fdAIk/1\r\nLzy6YLL5DcarT++DNb7KDZoxF8tFMM78O+k48hM6Ocnd4uHxt2oXKYMqy7gm\r\n+FeEHpmoNc+1/XATK+42m7RnoQ/uygRIze8=\r\n=VVCu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.239_1677430216641_0.17345267494469097"},"_hasShrinkwrap":false},"0.8.1-unstable.240":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.240","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"2fcf72d1acff4ea1b3b09543c37b75d098eec2e2","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.240","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-kC3AAfVjbOSICfXB8vVkTryuiBoH9IOnGL86MM7j9cEPY8ebI+dhVRsQiOmJMwkq/wF64GyawBOpAPXt2cIHjA==","shasum":"d249b4429478c17906c34c250d811a549484fcda","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.240.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKeToDjyLaY16a09uvzg16o53uAT6qHx4EDVWovzt9PQIgKwdOaqW9je38OKo4wW+wOpgS8XCBn00nYCCparamRBY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj++y/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyhA/+O7Zh1q3WhoGbgyakcs4Y5p8KK6Ia9Ue0v1NbFXVQKGlM9vAG\r\nIzgeYmD0Dd0vBPsf0IIBUnhvy6jd+YdvpvYehgHZBKlOA6VeOuo7Hg88mER0\r\nf6E5YZEP0d2NNM8haPUyQoK9iwhFvyZwCD1kl4ZAm+7RQHUxxebubxO3LdIy\r\nbrMNMD1yqUIVNw7pmlQopdC4c/ZJQBlY823Gr8l98mcG7H9KSc34996Q8Z4U\r\nA883pS5h36flidm63Zc+F0hGV9sSdihtlp8eebBwPDE5sU0SKcHLyZ7+23y/\r\nbXplGvr8b6NzJx/tScFgqtS1LzkCKcWV5GD33inmH+xG+oq1VH0Ei73i0il7\r\nC9ypXS1xf3lmZVCPcXt+RDqQn5/hRbtKqVZYvlu52GiSYVqAoa1U4pPC/wMO\r\nz+flHLeQd7HSFW0agQ+Cx6Ag8JFojdk8ZRKVKWv/ub3wP5oySgFUO7xhOkpJ\r\nWJWU6A5beCweJouQJAkks1c3zfY9xe43vuvu6iWr9Fs/qCVZy7tbVYvEjD+D\r\nrCDPoikxuEJ3o+Vutttk+noxzutmuMQ5Bt+XPhTkOKPtyIv9RDeP6Qk/2mXY\r\nUrOWjPNMfm3FLSyyAYOQQDa34ZPX0+VGAw4HfI1P2cd+z5iKaS4FgxpdFy3E\r\ntWy4QykqgZrbU2c613bPFXFKv9WGwnXzf2A=\r\n=i2Mv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.240_1677454527219_0.39907495286303707"},"_hasShrinkwrap":false},"0.8.1-unstable.242":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.242","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"7ed072708585d2479928bd4314ce3244761c7f4e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.242","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-i/s2y1TP3anKd16HcGmqy1XxG38ER4kF3EVfNwgbtNOIz21uQ8PnqOl+x3ykhmAJbrUBdy8yLFDJQ+VEDBBDKw==","shasum":"6dc24a52606b4f244a5d6987eca8cec349d82248","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.242.tgz","fileCount":19,"unpackedSize":36904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmKs/dOpLVLRkXEfyJBU4RPXKha4mk9FD17QFmPG8kzAiEAoFCZOTrTtLngDkJseSjnWGRsJlDjcK2KLQg7JLLU5w4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/A6dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDdw//XqqCGXrp0jHuWdHqHPMvDrpIZ3dDZcKXHdgcf891hGPn/4L+\r\nrGNqEVEXWFBQgqjyF5bS7EfSnHJDNJjTsz/mvG40qASm+vRlpoy+YrkYer6i\r\n2ZTdvHVhA5D+wICvsyeaG1DE0/bMrbRjSFL8Pi0APXpLyD6Wc72G2Zai3ex9\r\nUvT2nenwDST3TRD4XDkqjbyfjC2GmhZd6lNu2zBxbQ7t88OyrgFhLWacSUNi\r\nJzWWmueZYgAjMERZ5aLzDO5GzJiVn66ydsrj0gpUNPH0XoRaCDfcG+OD8N1A\r\nHuBISsiq9uUyLf9wcJQyJqvkn8jDGEBNDunRgoZZKDP40NvyPxf9wlbwsvR9\r\n4x4dnSCAC5ZjjJ8eN2qQ0iFNW83bv5Cgb6soD5mvJR5sExN+u0XUWBDzmTBU\r\nU9GncrKR+oUWK0DhLlDKVAN43MoftwAtBHaZwIflHtZGSUX1GDFdtOtPuPpy\r\ntKOebKMigxOuLeQcN25IIpQcLBPL8vp37ARHNaADzmYdKLmoDsJEk96JY3Wo\r\nwkzDP837SEzDe+Kbn54naA9zhy+URnEl9ehM54axzHwPG/yOkqVQ+Fr21kAc\r\nH6URcEzQyg9sVvdPtSxPAl2e9LI2xRX5EBw+w7yYtKeOjueTepSHj21tIt9E\r\ne2qJaZSTOFYZDqwWil8Jsx0715iZKxSDhKs=\r\n=vBMA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.242_1677463197585_0.18458808226006784"},"_hasShrinkwrap":false},"0.8.1-unstable.264":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.264","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"455ebb3f0bbb50688c9cf62e10ba084d8fe41041","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.264","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-iiFaqsEd3wBMCKRCNabFF6SjDIt/f0yHPgJzhrNQWSE1vRH8Oa1Qe2KlBJi7Twe0IG7WeSaZJJ/8oyJLjTwUAQ==","shasum":"f9ab0ce50f24e4a27365f4961e11e30e1fb88e13","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.264.tgz","fileCount":19,"unpackedSize":36933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0V4SSxPVj7OQ3HLxL4Ae3+lK4X25eMHQEFp0D7Bh0IQIgaHctkSiIq+A5YBFchAxkukJWN2xfwCNQaZEMIS1FCo8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAbEjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsTg//dSVu28xHnUXHyDM/+uustAi8rR4DdLL29kaMCE7axSDyBIAu\r\nKlVc5YHrV9ldiU80AzR0yvSmctXKGQJgxla+zLuri3gzcO8lv+54YBqcZvM8\r\ntLqIoCT0NaDtQ9mZFTxKT5QFWOjbsXqXh6GvcXnwSYgn8utyO8ABgs4CSQxb\r\ndvDC40rc+mOoI3EP+dGtXw9BIkJhEKJq0u+5T67z8YA3Vw/m2YG48hXsxyiJ\r\nmUa2nRCcHBV12CNITkuL2tLEiYFsJ/joJmrt8ZuwmQp2/oGhAdw1tUBjaXcI\r\nWhKO8QwZlPG0vhS5tIcr0pXkNpTj8nQ5GJ7ACkY1mqk6tkPUud8zw0egobov\r\n7seLYClRnL/LhcwETIMnDANKuS1W+7Ss0++1Cgx/sFeQc47rkECMzeWMJU58\r\nl4g+CiboRaYqT7sEJiVJUkpiRZsuVIZPAmYsVp8Fi/Ln2FitCr5TbNmlKgz0\r\nuo65fdKT+F12Hq+NjzkGD/56CSYztZYMo725NuhpfFnSwDcouSdACA37OTmT\r\nirlxYAbQ1AgDvuWJtCzWuWdXlsfWe/Zr+yTSmDsBbuT+0EnGUdSeV191VOQI\r\nNuskNOH0vvf3Gd2UM202UHdJsgZanH6n7XZBoZ9Aiu430H3hrp0e1AV3HONs\r\n9dKdmf+KgGp9kO4RPIcXjaRvlp74rLMt0YQ=\r\n=ANnH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.264_1677832483123_0.4381907448625044"},"_hasShrinkwrap":false},"0.8.1-unstable.263":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.263","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0ccab93d1692d0e82262f7778c22aeae8e8683e8","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.263","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-OJ016i8iM4o6CQp8SWj99MJttLSe29jxofxZ8dTZd0iRwRYNXF9tvIpOZZdO9tipMW1mYmhZmG4gTk0VA2WAiQ==","shasum":"fdc59bf9fe252185341cd448abd0c4e7840567d3","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.263.tgz","fileCount":19,"unpackedSize":36933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxpqRdbFwAZsoxxV1RyelL7hcOgr+bIzMsR5f7uyg8kAiEAqHGiFKWIb5EHyOydhFLnKbgOlrU+W3hmJu9lQuLySw0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAh16ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoo2w//S9TjvrUMs1sLNqmwwJL+HSF1D01Rr38CnNC37nnjhlmz8/4F\r\nitqVnNHGA5dYQ3whRSRzFQDQpSpN1JY2qXySIiAgZg3Zoc3g2Pyq2YfcSV1i\r\nt8NbPzLeGTcHU8TjMSHkJrtKQ1p62PIJ4lyGXVwXlnn2yQEmFM9OK3Em2NZX\r\n5itXiE+REJkdjNC0R2zpEdStGfUGBdJuaqAwf1wK4P+83BaJQVAJE9+t1dSC\r\nr/7qP1h5Ftgr7TCYHKKsIqK1Z+GsV+yfeipkieRqY3ov/lQt25GbHqZgKWe+\r\nUR8NsyokF7d+GOjfuHBbMnyRAxVIC+TRwSSQk0DjCFkR3tSxGuobGQUGUygM\r\nE2khEWdcizZB6jZSyJztmQScYePDtK5Gk3Grh97zg8CpT+hUTnDx/uhzd/I9\r\n2jAXknrK/42M+g1gwCDFtFNTtF4qwzj8EONnSTcDRf/P3H6IPPb/+VDKySq6\r\nfxsFqeiNvpontTUJpdsC64HIRS4Az8go5fdcGIOfUrxL0sk6tF2t7/lLCSeb\r\nQY7AUQJH9xm9aDBNV+tN0FEvBybpHzVmQ3KjFMQGExoux8uOXUese5yCx8rJ\r\nII2qmLmIlvYlSR+RRpzW3F5tU3UNcBablZHuXB+atdzPxNF1L/en/qyVXrdx\r\nNQoutu1hwOXAVGjr6xXNbQZhRNwElUDz7p8=\r\n=w3rW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.263_1677860218306_0.524073083591833"},"_hasShrinkwrap":false},"0.8.1-unstable.271":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.271","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9a734b5892bde59c0a57812d2f77c8168744c63a","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.271","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-1o/T+JzuhaIbJ1NaoSq/+LaRg96rlXF1x4NwT6kplaDGNtqQLA0XmCgc8f/uJDHWX7H+xyvWhr/ROVvetZMuCQ==","shasum":"9267840604a94797222fe405379d3d7b7a58083a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.271.tgz","fileCount":19,"unpackedSize":36956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxZF4KBZeTffUjUX20UI66ka5WGXsegZUp4Z8huXa1hQIgOahEjXxlkAuvEbpNYAiM/EHgr5T//S07UZgIz76U+Zg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBfonACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSCQ/+KTapfqInCdL6cBIbLfOpw5hPdx5ZXWKNoFDhRZrYrMuuN4kS\r\nwGI0axk03O9QrMLyhpXsGFi3wwHcPdpacKQNzJhTOxObfERaXJrGuzjb2ysM\r\n+lo3GxH72Zc9kLoxfIIFGAAGFIMX9MQAHDwJ1gC154KGpHsYRAEavvfFeCMr\r\nraLDo4dwXAge06qgM3888PZ8xC7Gh/HSFZM4qpvvN6ISsH+J0uZQuFOeOM8I\r\nU7AD8sMYvCRVSvDK+YwuRXyclPCdUNpzXUcV7mawoYpycBvqJ+su9FyUM9gi\r\ne+OEUoXv+Dz5X7qb42ZN62rOpKPVJa6aDG28gm78fKWS4+mrcHRJfnhLkNCq\r\nZC/JxxO5rQh1lI4r+hbyPd6XDKZ5JtJ4nRriVzZtfmQeeCMpmZaZoavNRqWc\r\n0Xd5iz/5YOKw8y71znDfS/CD3xzh6Nh54pp7FYxuE5wVOoaKe1k5es9wdUMI\r\nqsa2mi9iZzSvr3Da5to4No9SrvhkPMrWxelt+W8O74Coeen3apj6d9ZNEyon\r\n3I+dlVBGc8MMvXiX22JPgHlJ1cPiwOv4PdmIWe5mPCXEyxp5C0H+EUVRhxyG\r\nZ9IsRQd8M+8STbeo//8O119eenSgeqQC/G+g+pF1pzQNISyaZuOUWjP01ncz\r\n/0YASIOWythU9nwXC48qguXvicPAFC93nAU=\r\n=yr/7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.271_1678113319625_0.38857017914631875"},"_hasShrinkwrap":false},"0.8.1-unstable.272":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.272","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"af4fcbf2de49be3defba0dd4985102f452bb7fa6","readme":"<!--suppress HtmlDeprecatedAttribute -->\r\n<h1 align=\"center\">\r\n  <br>\r\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r\n  <br>Well-Known DID Verifier (Typescript) \r\n  <br>\r\n</h1>\r\n\r\n---\r\n\r\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\r\n\r\n---\r\n\r\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\r\n\r\n## Available functions\r\n\r\n- registerSignatureValidation\r\n- removeSignatureValidation\r\n- verifyDomainLinkage\r\n- verifyDidConfigurationResource\r\n\r\n## Usage\r\n\r\n### Adding the plugin to an agent:\r\n\r\n```typescript\r\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\r\n\r\nconst agent = createAgent<IWellKnownDidVerifier>({\r\n  plugins: [\r\n    new WellKnownDidVerifier({\r\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\r\n      onlyVerifyServiceDids: true,\r\n    }),\r\n  ],\r\n})\r\n```\r\n\r\n### Register signature verification callback:\r\n\r\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\r\n\r\n```typescript\r\nagent\r\n  .registerSignatureVerification({\r\n    callbackName: 'example_key',\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n  })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Remove signature verification callback:\r\n\r\nRemoves a registered callback function.\r\n\r\n```typescript\r\nagent\r\n  .removeSignatureVerification({ callbackName: 'example_key' })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Verify domain linkage:\r\n\r\nVerifies the relationship between the controller of an origin and a given DID.\r\nOption available to only verify the service DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDomainLinkage({\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\r\n    signatureVerification: 'verified',\r\n    onlyVerifyServiceDids: false,\r\n  })\r\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\r\n```\r\n\r\n### Verify DID configuration resource:\r\n\r\nVerifies a DID configuration resource and domain linkage credentials it holds.\r\n\r\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\r\nOption available to only verify a given DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDidConfigurationResource({\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n    origin: 'https://example.com',\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\r\n  })\r\n  .then((result: IResourceValidation) => console.log(result.status))\r\n```\r\n\r\n## Installation\r\n\r\n```shell\r\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\r\n```\r\n\r\n## Build\r\n\r\n```shell\r\nyarn build\r\n```\r\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute -->\r <h1 align=\"center\">\r   <br>\r   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r   <br>Well-Known DID Verifier (Typescr","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.272","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-2aPJAJixySHVTgzgQtal5oCfDzwe6vOvWJo9+5TzNH7W6sedHafLiv36YXkcvFWRVycxjkCVdWtvlb6t0UAucA==","shasum":"da3210e9089a0a9783e45efd234fbc2d52e63640","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.272.tgz","fileCount":19,"unpackedSize":37403,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkdFObtZ9AvJxDWbnR4HUYIZTIgkM4JlyAXa9gKLjoBwIgGoYQzB02qhPu6ht/abqzREvO/9sCZdcqf22VppSnIco="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBgJTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXQRAAnRktV3NjVK33FFqUpSjSEqSN+8rxQjs3fY9/3d6R8RMBjdzw\r\nGUrvsE8GYDKC+O5cZHN8iGhuzbYvwvUc9lKhcspohPhGRl7fmMZI3P6RhYqZ\r\nKRlWrW1YNBuH+fKoEYylAQKLThoMfT+NWKv+sk2hfg91xhSHYssxxRrInDEc\r\nCriJNx7f5jFTHjrpeJDl0meBPFV20LJl6O3L701Z6+ZDee6k/Dd8wPaHP1fk\r\n3PdkL5LHMH5FH42dqVAr2t1yy2A86tfGrsKkIq6f9cfoflPwlcOsmC8u2kcT\r\nj1k+TeulzvFIlsIKrNi+0UOlZLCc37X9lJb7TnfZnfWDr/07yrO8sSfe8Y55\r\nRUQvqtNT37rP8d/IBbd+M5HfU65n/mWV3dJ29/cFyPwB91rinwiZEomV+fJQ\r\nTpXnArghTk3wYJP7XJPlah1j/LUtSSEAy4Et0Lt++JI0tgQ/ibxtt7lh6Nj0\r\n8VU0TlT5seUXiqerIRRlmTxLG60NXKB7qxJuAppc56XFToLCkq8Z2x9aRe5A\r\nJj47LvYOR3fjIDzKqsSUy9c9Q5793YeDRBJbEzDIwWClWfsMjDPM8VH2Mk3F\r\nE3vg1mOoSixUwBQHdH09igckSrh9V4bFXjsp/lhf+tp0V/ncp0roAXBGsy1Z\r\nQGk/WtaRJkO9U6dO+/68vbA1KOd1kS1pW1s=\r\n=DWqV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.272_1678115411592_0.9331548134044494"},"_hasShrinkwrap":false},"0.8.1-unstable.277":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.277","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9f18a4df8f65c5fc9fb23591404af2ab19b90a76","readme":"<!--suppress HtmlDeprecatedAttribute -->\r\n<h1 align=\"center\">\r\n  <br>\r\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r\n  <br>Well-Known DID Verifier (Typescript) \r\n  <br>\r\n</h1>\r\n\r\n---\r\n\r\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\r\n\r\n---\r\n\r\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\r\n\r\n## Available functions\r\n\r\n- registerSignatureValidation\r\n- removeSignatureValidation\r\n- verifyDomainLinkage\r\n- verifyDidConfigurationResource\r\n\r\n## Usage\r\n\r\n### Adding the plugin to an agent:\r\n\r\n```typescript\r\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\r\n\r\nconst agent = createAgent<IWellKnownDidVerifier>({\r\n  plugins: [\r\n    new WellKnownDidVerifier({\r\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\r\n      onlyVerifyServiceDids: true,\r\n    }),\r\n  ],\r\n})\r\n```\r\n\r\n### Register signature verification callback:\r\n\r\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\r\n\r\n```typescript\r\nagent\r\n  .registerSignatureVerification({\r\n    callbackName: 'example_key',\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n  })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Remove signature verification callback:\r\n\r\nRemoves a registered callback function.\r\n\r\n```typescript\r\nagent\r\n  .removeSignatureVerification({ callbackName: 'example_key' })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Verify domain linkage:\r\n\r\nVerifies the relationship between the controller of an origin and a given DID.\r\nOption available to only verify the service DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDomainLinkage({\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\r\n    signatureVerification: 'verified',\r\n    onlyVerifyServiceDids: false,\r\n  })\r\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\r\n```\r\n\r\n### Verify DID configuration resource:\r\n\r\nVerifies a DID configuration resource and domain linkage credentials it holds.\r\n\r\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\r\nOption available to only verify a given DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDidConfigurationResource({\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n    origin: 'https://example.com',\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\r\n  })\r\n  .then((result: IResourceValidation) => console.log(result.status))\r\n```\r\n\r\n## Installation\r\n\r\n```shell\r\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\r\n```\r\n\r\n## Build\r\n\r\n```shell\r\nyarn build\r\n```\r\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute -->\r <h1 align=\"center\">\r   <br>\r   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r   <br>Well-Known DID Verifier (Typescr","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.277","_nodeVersion":"18.14.2","_npmVersion":"lerna/4.0.0/node@v18.14.2+x64 (linux)","dist":{"integrity":"sha512-WI5fBao4ov01Pcr6q1yshO92F0JhDUP569rmrKd8JG2VJSDb9HNYvpj1BxNW+GeTiJn5xalKJBo6ufnquN9G2A==","shasum":"b074527bee23687b6af0b143404fb447847d4f46","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.277.tgz","fileCount":19,"unpackedSize":37403,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDQq9YBqJk+OxZzdulsyeJGxi8pj/9+QmrI5xukXueXAiB3yYTg1j8+ZLHz2LVP8yx/pJOJWdeb5Af9XOwFVjtsOQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkByd+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpfTA//Ron2vAtyz1ETKuBOWWv5jNO8Q0VnDm1iedM0OfXTB2A1sMiI\r\nxZzyb29UjV4oAI7yzfUpP2fJnUfoBomyjFx8xAg6QqZVdt4kXwwVrq4oCZBt\r\nkF9LwhVGUn1uV9orqPt8PA4rklizAaZsVt92fVmJlYKcK8fJxiTQ/64D+XZs\r\nvbdGTe6Aii64IB2L73I+NztgEx4k40GiQYs2Thm3l5Yw3Q4LK/rUngP/7bWm\r\ntgRubio0zdmwAs0ldNeX5pm8+my0hZUnBlzV8DKWLS2SrDm0dP3xDUzcyB+R\r\nTJj8VXiYdEZNGhZVpXQiKSwj3WvBUw9RBDCKj01Gsk+QTEPhJpsb4kYN/gRv\r\n4BA0OHAb0+L02MR0XMtQcF/p1SAgouGmdckOQMlkGPGRs5EStQTUOudAVqRW\r\nUnucjUubqH8bYLSWvelnblnyGyDDrqHotYQUgjjYEZVoq665kwPoxkwym0GF\r\n3kCFpvNeYltyU10WrA1QkEVpLqu9JdAhgJ5oOxEAHJV8+Xtav/b7BsHGXDiH\r\nIPswy8mKx1ygqBNonqGadyg2m+1JTNpppoyw9v2P9+ybUWUskpPYUCR0mF6p\r\nzBoBqV5cGjWHT/sh7hPrmpOL0estlb8kNfNw5M7UO8qo3Zz3AQ6i3ufq4nlM\r\nvkT/EMlOcab5vjFhAmdPI7JG4n7Dg+I6+jA=\r\n=kMLc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.277_1678190462245_0.633661318787397"},"_hasShrinkwrap":false},"0.8.1-unstable.266":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.266","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"f089ac18dc470f0b8c581b49e70e7eba64d72bc3","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.266","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-KSDh5qn87WmlECMGJzpm/FpFsFMbO+BJKM88A62nT6Vg9L3+7y6Fg0ohY7H/z3y2bxbSsXG/IJU6FMawCWnIIQ==","shasum":"a2ccea0733f780f61953f89d43ff0a6e7e61eada","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.266.tgz","fileCount":19,"unpackedSize":36933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYI2WjnZXHUTkbDO8RGlTq+dxSMldAtOjhqEgzcCXEGAiEA8DVqihbq7OIsr3hxta9jFUYlcuhMQmF0YeUeFB39X4I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB7jRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4XxAAkIFzczqcjOk3uRG6XfepajjK5LzbwP3QcILcg3k8lS41/Ti1\r\nzIqk25d8tycdfRpCVtZWHk5n0ImrtbnXbVlJhf+avFAVRiGe8+krV909mPEp\r\nz+D2NmYWvem2j3acUIJ/p2BziF90I5KNJpiZ6GNUQFrIb6fX2tsz4/3+oLR5\r\nn4uCRWUrp9R1TOwdcP7e2yOlyCe5MH69hfOILokwoeTUiFme8CAg2a4gMwRU\r\nr3jKJStbhAY21oB3Br0JB6fk1WXILoqZXtQ29coO+ZJVqGHwt6YOurkfcKDC\r\nQv8Q+viqn6mlT3ONvQgp59qm94OdvrW/JqvAdhfWSs2uKSSaz6tFuqxdBdfN\r\n20/HY9VLqIMl3CLaEG4OHAnyj3RsytTmUZZi2FkI64pyBpxc2h80zI88BtFA\r\nAllDgAKhBwSeCMxWyeN8e0vQVpRSbqL0H39jNPA/+OEE2HsvDglf86fbDJ/Z\r\nE2UZEHIJf6W4sltnVyj8k/XtGyeKznBve+hlKtmYCnlGGebfUxlpl2kVv93f\r\nYDfPCdOD8PpM3mkpDVCMw+ivPZcDu25jYACosXXGFOxmHjsucvhznEMIbFdf\r\n42Vj5VvqJ/I4L10jm8hsTLy84+wZ7csBcx/5e/4Gq/81uyte0ttQ+4cKAPE8\r\nZb60P86PavN2TU11wPzPWQwqfMvFQD3RVzY=\r\n=uLws\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.266_1678227665078_0.3726922418494769"},"_hasShrinkwrap":false},"0.8.1-unstable.267":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.267","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"3c2b8ed171aa196473afedb007ba27e4c1c3e71f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.267","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-AdFElUa74mTOjE2zng8W+j7M3l7i3kDeO+ypFO4euoe+knO7npdwI3lQRul1OHIAzpXvuWeyw6AR3CeN9LS4iw==","shasum":"3341bf3b740bf283273e433b5c271a96bdb9cea8","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.267.tgz","fileCount":19,"unpackedSize":36933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPepbKefqlvf3Sls05ipaIScD5b7QYcc54V7HGkmTP1AiEAgO+tn/bUN80Hz4mZB+e1j2TlFLG+p0lkJqp2jh6h1mc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB8kgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+iw//V0m3YVoTrLTOwhSQXNYx9pYVbQD6qkLr4Yb3tcCrbx0WG0pd\r\nMuR7T17+QlSMmNYc85DbQmLZjABtI8f8iBhjXdU6PmZYSKW4K8SbLKefztzl\r\nnehTbg+31uGlIEM3Vo9Pv3/K7oDgXrWviKRrxX4/hlzYqBUvKSu4HIu3yN7k\r\nrV+6/WBfLr/ivFtBoKCLtTlqwPrBrDFX+wWNVS4Gal1w5zECKAzMEoziGJc7\r\nuA50Zke6R+jLrZXGpiX17989kHe2r/UYPjkqaAbIpQ9/FaAO9K91BwIRUDNL\r\nZFVeDJtGrSR//97RNlasRDeEV6GO0WeCMEN8AfE+DzSX5HexX4v21eRdqSJ2\r\nEYed5z5shfZ6lq9pPiZ9RadDqDCruY+KEZRzQgJt9pXiEwZNWwxlRk0BssV8\r\nuH27Qhzzl3jkqHLXGCNVg+n3nBIMCv8crOLq43LZRyxQvyhf6REPGqTFEl4X\r\neJSykhbsRAleTwV6EPHXtLXldxmLOicNpvHcgAi9mFuh/xDfEd7E/Bp90fpG\r\n2Bozwnr83htRRItBmD/xIAHHG9itPa6+sndcPhNaNFWhuAJVthhtQ/8aeRhM\r\nfQRTp/yfya7LbuEXlQJL5xpo58m8H7440pHbKszIMAxijM+MNdpCexFIbJoZ\r\nENZZLWe0O9On+Rq71me82pWMjPHGvOxDUFA=\r\n=bj7B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.267_1678231839969_0.8517976896480208"},"_hasShrinkwrap":false},"0.8.1-unstable.268":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.268","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"50a264a366a293a9d9cec9c81aad640ba3391bb1","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.268","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-f+mIcJHX12apbAr4OC7L2O8f+GAVm+xOtQSrjFpPB3WoruEDKWJaE3gL124tp2M2J2PdFIcam6CABOcSBep3lg==","shasum":"755adbebe223c1466ec31f87847628b01335d066","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.268.tgz","fileCount":19,"unpackedSize":36933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeAUszIh2x9z/SUAxUD03mdiuYIiHkaVUqCdBwIxPMkwIgFOaOBimFzg3mnCg1T8pgyQH7eUc0xz88IO20HFooqW4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB8urACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYLg//aNYMlGQoUncFGkQo/xbZd62wXjDjmHJS2nDE6gEHV7RENBVf\r\n2F9lqLuWt7xrrwQX7lTFx3jWlewu0WZE4xWExkGO2RJpSWb7fmXDshUkCJEi\r\nLudEofOKDXIfgGdAViKmo3YIqGAJBGJucbzDQgFBQJdbYFUsXI0k5QwjrSPe\r\naSX1Wu9oUD4sSp6OefISTDQYYLOkjwhZ85fiXnr6DFrryVAX7f6SRohnvA3d\r\n0ynORIYPqTWcNxzQITjoAVIRRW3di8MZ4+IUvQLVByw6afqGe8eqf2ZOKx9H\r\n+UGh1Jh2nxWShd/jn/LZvingrPYTbnjDts/F53MJMuQuCQr3aEPzyr9Ii2mZ\r\nHLZRotOY3v8N0ZBQo7xXw8WC3K353R2SHaeq+3yZ/I1sb/t56aXNbtdcw3+v\r\nLW/C/rf4cHO535i4oLNVuZEN/K9JhlY5vP+X1qTJWsRqoy06hkJ1gkW4/Fv/\r\nmPegWlBduzejTpDBWWNpD/KQY/CrgFA/ofcdTpqk+JXhhOuWpkb1cGmVu9lF\r\nSUd3E/tfwmUur4Qu/JKXggAYoRgY6Q79ZUE9bKjar2kk7zA8LGM3ltacihkB\r\nTWsalt+m1IvMSnnveJUh0KyMS4nImGb1yclEb7FREYpaaGeysYJaPgpM3fL5\r\n5YqwImcopVIJlRqDOu9WUXz7YvFgXJ53UwI=\r\n=g+Vd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.268_1678232490884_0.4437148915200737"},"_hasShrinkwrap":false},"0.8.1-unstable.269":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.269","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"4caadec6fe8afbda53d30a74da7b5c8187aac0ad","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.269","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-1f9kzrQKkwp5O5H0Rr96kjIxls+bK0kaXHZQHnWWaWavECwCukDMTrPTBjqgUlZ2doasb0utE1RoHH6MUe0IOQ==","shasum":"39e9e05f20169d65e3aa71a3d0e48be19b7eb1bb","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.269.tgz","fileCount":19,"unpackedSize":36933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsgmIGd0AZIeUb4DxTCx5i4Om0HX9WekbzEN2y2T4bCwIgeAId94HRY23v2SxHaOoWlwsah8kdSGHnf688InFG3kI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB9IPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWnQ//e8Hw8xslMyUku/j6UpgCu+pCD7Oon6I+/H/aRYbQLh0eYzIP\r\n+VQkN6Ls+yeShN/WjyGQc/zeo+0TBY+b9eIL8UkJzb+aVdndP96GDTb93vrB\r\nTDJ0gfXhrLw4HtcqD5x2AupbTK0gdCMxfKZU/v3nGKSNRQrxgdCIqd7pK/jA\r\nS41D0yvG1gF5q+h14X36xiuiOwTD2I16/oItZgaxPXCFRpJUcIXPhIWwP1S6\r\n8nwKmk4cxeKU2oueFF16WOw6gywhl2sD2fiZdgdIdO+IY1911Dtkchka8y1z\r\n+oimd3ccO0x3R4HU6npMLReCENv5MiEh/mV/1/EPB/ctoPr1d2wS8chxnn57\r\nALX/Y9AxCxYl3xf+cA+v6cISGF1mtHQoydD28uC12Jbfp34kcaMl5XOFYt38\r\nVdi+6tVjx5v1n6G0pZsQ5kCkIrTjpsIy5IYnnskuONspBl+OZX5oYMts5ONE\r\nCn6U0R7+HQTfZsvz5kWBV+t21Dg2M3Q3q1e5EmOLmtZzt5FUBcpvoaoNQOai\r\nFXFFEuUgeYgRmheEVcN9SO7nrA6FZwMXDN9oeNizhjDgsRfbH0tgUPd3rgiX\r\n+w8jnRiS+U8cGDr3GC1sbLOJbVRjBU9kvEXkgZ9LbWoyLMXTVZFY0U1Ou3CY\r\nt0vSYdIbVq8ODWKGM0gxg8lutjKVQi6cKbI=\r\n=WMds\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.269_1678234127350_0.5419010564770024"},"_hasShrinkwrap":false},"0.8.1-unstable.270":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.270","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"8b6b21e50655c69f0aafe533faab93b47825715f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.270","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-aVhui+Tebh+P4H7sibBWMHntAzZne+nS+pNcrXMm0oz/IJYqhHhs9RZG+PY0rXP82xy7mGL9PP8I91Fzz8RZGg==","shasum":"e7a3afaa6b8cdfb2bce40570069194645b93f47f","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.270.tgz","fileCount":19,"unpackedSize":36933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqq2RGIf9wmm5Ln57nKHuw9ZhsKsErkQdxieDdvtgvLwIgQFYRkZlDLTWm7LQ5pmuL0KUf3faTMJopRDSrpZAyknk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB95pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodNRAAjfdYykCwyKEk1GTotcUH5U0aQOhS1qlpvfl3Qi0tgnjOwhVr\r\n3DlZAsCd8852H9Hee8SLLY04a+ykIDXblYjaGEP+mC+JJT1B7voqWGTuai/T\r\nDWeatP6Anh/kzIoX5vytDYEWnj8Spcfuexzg5WqLJ6y3hycZ38b9kwjVMf7Z\r\n6AEylr18iTZYnwwqKn/hyCGWi4DaBd7JixOsQ3GVmrdBCRKgG7NR9ubc729L\r\nLdewBFlDNLlXXjp+LbybiTn+3cB+1imZc15ckybA3/xW8dJFxI0c+ea4CGr6\r\nOqujF9m9XIUXqC68Uuq5ipWV1Mjob/QIFrdtSq2eVFVvMDnee1wmzhWISsml\r\nuB6jhhuvzvxkT1zxGTVbHypZDX42Y8tPmENAFcUy7WRswx8qc9MNSdlcf9Gg\r\nVV815Vof2FnwqqMbln5+keneE9eDJnLb8fngczkLzOEhN0o1efJyonvs18F0\r\nHYU/1FowjW35lnUzXCFMLKhcxfLKFe5wwNka/chkNk6IYIxuxGAiM/1FG+I6\r\nOEwkVI91XP5czySpHL8gCK4UVYWboqlRJuU5Dzv6eJWxna3EnBV8xLUlzpoz\r\nudjafN7NW3mcgwj3jn1mH07hfaUy0lzJf5BLXyka4mGtwO5/190dTQ2rQtol\r\nBnolIe9WmX6A9IwH6Lp9N53q2IZtSH4QUZw=\r\n=bher\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.270_1678237289021_0.8620145255232956"},"_hasShrinkwrap":false},"0.8.1-unstable.278":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.278","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"ced76fd69a1d8235dcccaf77a6a619d9aa7838b7","readme":"<!--suppress HtmlDeprecatedAttribute -->\r\n<h1 align=\"center\">\r\n  <br>\r\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r\n  <br>Well-Known DID Verifier (Typescript) \r\n  <br>\r\n</h1>\r\n\r\n---\r\n\r\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\r\n\r\n---\r\n\r\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\r\n\r\n## Available functions\r\n\r\n- registerSignatureValidation\r\n- removeSignatureValidation\r\n- verifyDomainLinkage\r\n- verifyDidConfigurationResource\r\n\r\n## Usage\r\n\r\n### Adding the plugin to an agent:\r\n\r\n```typescript\r\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\r\n\r\nconst agent = createAgent<IWellKnownDidVerifier>({\r\n  plugins: [\r\n    new WellKnownDidVerifier({\r\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\r\n      onlyVerifyServiceDids: true,\r\n    }),\r\n  ],\r\n})\r\n```\r\n\r\n### Register signature verification callback:\r\n\r\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\r\n\r\n```typescript\r\nagent\r\n  .registerSignatureVerification({\r\n    callbackName: 'example_key',\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n  })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Remove signature verification callback:\r\n\r\nRemoves a registered callback function.\r\n\r\n```typescript\r\nagent\r\n  .removeSignatureVerification({ callbackName: 'example_key' })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Verify domain linkage:\r\n\r\nVerifies the relationship between the controller of an origin and a given DID.\r\nOption available to only verify the service DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDomainLinkage({\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\r\n    signatureVerification: 'verified',\r\n    onlyVerifyServiceDids: false,\r\n  })\r\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\r\n```\r\n\r\n### Verify DID configuration resource:\r\n\r\nVerifies a DID configuration resource and domain linkage credentials it holds.\r\n\r\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\r\nOption available to only verify a given DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDidConfigurationResource({\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n    origin: 'https://example.com',\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\r\n  })\r\n  .then((result: IResourceValidation) => console.log(result.status))\r\n```\r\n\r\n## Installation\r\n\r\n```shell\r\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\r\n```\r\n\r\n## Build\r\n\r\n```shell\r\nyarn build\r\n```\r\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute -->\r <h1 align=\"center\">\r   <br>\r   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r   <br>Well-Known DID Verifier (Typescr","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.278","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-9+dAcyfDcA0CMzhxmh1FnBKLncTUQgk9sb9OduwqN5lAFqhgs+jgAKLzwui+RAD5EHIfKrtu2BqGpZxsuNi9Yg==","shasum":"43a61c01fc20e8edaf1f65f3714a4277c9a4617a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.278.tgz","fileCount":19,"unpackedSize":37403,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDAEfl4W8NQpZHmLg5lg9c6uvs0QmF+7u7MsTMt1am5DAiEAxEwBCCkIILGYYiAVy3QanFCvTCve0Ftr9b/azW+ZlVg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCLerACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmEg//bQepm24Bd2QoyeDLxv6/xxIj+PwXMvvleidmiheWJRHIGOS8\r\n4O6rUJ0iUKCW33zHkmfcvhchsPNUEDXSwZblnkQs1+VDo/qfvd9xI4eClhEa\r\nMwcdLVHHkFJT07+lL2QmLDb1DC+2MmJTpFM3pkbesaWtpfBnl600G57DYjh6\r\ne9aHViq90EgxvNfBbcx9MXwWZf0oRL3KbUs6qfOuvZMzWxw5bkdrmo+0PBTD\r\nokqZvi1XDGmNENr6ZCSHExyMdW3Mw6DYEN5aFMjdBOcfgRenPbgKXQRxT9tB\r\n3xTDFEwt5XgEE9YlvJqh2vb2qR56ucxPpR7BI6/2yI2t5PfjXsgIk7AQamqW\r\nEHTHrKEV6L6qFGpU4Co7ofhzB8svKuwGCixDpIsUIfQFieKsBtXdR/JqU77q\r\nfW+z2rP3E+8Lfhznlrm3nGk/pfieHibNVm2hhi9PgefLgr9F8Qpt4VGLY8zt\r\nLPbpBqNQvrxCKw7cN6M53wYAj5h3iltoBs+Irb7xWgmCuIhNWZve/ySO+MTJ\r\ngNdfNrf8wG6kxD99xyR4MakE75iumYVhJxrENhSK4YkB4d0efrrQ5BExU9/Z\r\n5QyF8SRehYZuxE0QqHQUf1vbibnU2B2Yr9xppPStRjk3+vL+txFyqeUSQdDR\r\n2xIVhwIGq/GM8RQ/ppBiytUl3AK+NCWR0MU=\r\n=pr1T\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.278_1678292907221_0.46340445742942693"},"_hasShrinkwrap":false},"0.8.1-unstable.279":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.279","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"31f0db4b692262cab82cfda3d038589f1987fc69","readme":"<!--suppress HtmlDeprecatedAttribute -->\r\n<h1 align=\"center\">\r\n  <br>\r\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r\n  <br>Well-Known DID Verifier (Typescript) \r\n  <br>\r\n</h1>\r\n\r\n---\r\n\r\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\r\n\r\n---\r\n\r\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\r\n\r\n## Available functions\r\n\r\n- registerSignatureValidation\r\n- removeSignatureValidation\r\n- verifyDomainLinkage\r\n- verifyDidConfigurationResource\r\n\r\n## Usage\r\n\r\n### Adding the plugin to an agent:\r\n\r\n```typescript\r\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\r\n\r\nconst agent = createAgent<IWellKnownDidVerifier>({\r\n  plugins: [\r\n    new WellKnownDidVerifier({\r\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\r\n      onlyVerifyServiceDids: true,\r\n    }),\r\n  ],\r\n})\r\n```\r\n\r\n### Register signature verification callback:\r\n\r\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\r\n\r\n```typescript\r\nagent\r\n  .registerSignatureVerification({\r\n    callbackName: 'example_key',\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n  })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Remove signature verification callback:\r\n\r\nRemoves a registered callback function.\r\n\r\n```typescript\r\nagent\r\n  .removeSignatureVerification({ callbackName: 'example_key' })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Verify domain linkage:\r\n\r\nVerifies the relationship between the controller of an origin and a given DID.\r\nOption available to only verify the service DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDomainLinkage({\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\r\n    signatureVerification: 'verified',\r\n    onlyVerifyServiceDids: false,\r\n  })\r\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\r\n```\r\n\r\n### Verify DID configuration resource:\r\n\r\nVerifies a DID configuration resource and domain linkage credentials it holds.\r\n\r\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\r\nOption available to only verify a given DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDidConfigurationResource({\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n    origin: 'https://example.com',\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\r\n  })\r\n  .then((result: IResourceValidation) => console.log(result.status))\r\n```\r\n\r\n## Installation\r\n\r\n```shell\r\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\r\n```\r\n\r\n## Build\r\n\r\n```shell\r\nyarn build\r\n```\r\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute -->\r <h1 align=\"center\">\r   <br>\r   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r   <br>Well-Known DID Verifier (Typescr","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.279","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-QwTZxViBzZa8oKxogD1CnZxlDOt2zy+lUCG9unxCfFkpGP6pLHjbR+XGGoJ/BbB/Pa450dfBbI+c9iYdcecM3w==","shasum":"30d31751d98c54f70d021af526b2b61c1ce4f74b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.279.tgz","fileCount":19,"unpackedSize":37403,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYuaSzIhTwzL7tlfrdQm6nQheFdQEwGzG8Rt0Rp/40SAiBVtzbiTU2AODAPZbQR+oEsphtr/iz9kn4oNzQCn1e0EQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCOXpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBbg/+JBLUcIoIbqJLnLGft/5w554F2R3JbMp4a/tmuP3iPkDiJp/k\r\nnoWgDgk3APWuFUkLrh5ro+tgHecpOkyDi9FZqkTY7AEEbUY1uWGdfbPsNjR0\r\nw/4y4GC1BUCkj1yZgJRjUn8hwFEnCYuj9aTxcAiMKymthwMHc/oyjnUnPnxY\r\nFkbN7FAmh5EG6SIjMJSRsnCkLioQGMI0CwPuKdKngeC/Wqtk7apzu87bebAq\r\nq2i+X1yKXMS8sVfez3asI5gPf5PZzZS+zxiNsGQwD6LbZCaOIf75YupBAcj8\r\nmsUNMlcsmTz6Uu/5IjtH2lwWdjo4tSBg9XLQwqNalDV91u+RYDsipZbqykXi\r\n29XMljbj2TSf7rNPNaQdqHE5H3LPxAwuX2b+EsmtR02U4JsJJD4mZve8fD67\r\n3+p8mTlMY/7Vx8vGj+kgK62eihFYOzFfNfx4mxgZVwUqhP8KPwz9waqt8Xxr\r\nEQfnmQ83U+/W881Mv3JlFnlP/HB7Tu49PG9V5NkVdVfIjmHHPstRImFMOIic\r\n7dSQGYW50u13aJEoeBKaF25n3WH3CUs6DyepkcgmHshI7zn7j/FBJMdbA69o\r\nZOCEfeFah+3ubN51VTtjw5oHuKxnrQ4xNtuhm4I0BCP96xcoQXQWZ/Sz5s90\r\n7h/7sJsnE46Pt6XHJ28+KPULfriEy74noVM=\r\n=1BU6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.279_1678304745700_0.6878406995783568"},"_hasShrinkwrap":false},"0.8.1-unstable.280":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-unstable.280","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"fb79036acd60a5da2aaab44b49fc942436d3b23e","readme":"<!--suppress HtmlDeprecatedAttribute -->\r\n<h1 align=\"center\">\r\n  <br>\r\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r\n  <br>Well-Known DID Verifier (Typescript) \r\n  <br>\r\n</h1>\r\n\r\n---\r\n\r\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\r\n\r\n---\r\n\r\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\r\n\r\n## Available functions\r\n\r\n- registerSignatureValidation\r\n- removeSignatureValidation\r\n- verifyDomainLinkage\r\n- verifyDidConfigurationResource\r\n\r\n## Usage\r\n\r\n### Adding the plugin to an agent:\r\n\r\n```typescript\r\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\r\n\r\nconst agent = createAgent<IWellKnownDidVerifier>({\r\n  plugins: [\r\n    new WellKnownDidVerifier({\r\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\r\n      onlyVerifyServiceDids: true,\r\n    }),\r\n  ],\r\n})\r\n```\r\n\r\n### Register signature verification callback:\r\n\r\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\r\n\r\n```typescript\r\nagent\r\n  .registerSignatureVerification({\r\n    callbackName: 'example_key',\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n  })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Remove signature verification callback:\r\n\r\nRemoves a registered callback function.\r\n\r\n```typescript\r\nagent\r\n  .removeSignatureVerification({ callbackName: 'example_key' })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Verify domain linkage:\r\n\r\nVerifies the relationship between the controller of an origin and a given DID.\r\nOption available to only verify the service DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDomainLinkage({\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\r\n    signatureVerification: 'verified',\r\n    onlyVerifyServiceDids: false,\r\n  })\r\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\r\n```\r\n\r\n### Verify DID configuration resource:\r\n\r\nVerifies a DID configuration resource and domain linkage credentials it holds.\r\n\r\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\r\nOption available to only verify a given DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDidConfigurationResource({\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n    origin: 'https://example.com',\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\r\n  })\r\n  .then((result: IResourceValidation) => console.log(result.status))\r\n```\r\n\r\n## Installation\r\n\r\n```shell\r\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\r\n```\r\n\r\n## Build\r\n\r\n```shell\r\nyarn build\r\n```\r\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute -->\r <h1 align=\"center\">\r   <br>\r   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r   <br>Well-Known DID Verifier (Typescr","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-unstable.280","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-W9WRtZ/+wwZ4HxHi1JZLK0+75UP+9eJzDeKLvHXYyy96hGq87W1V2u86DQtb4jrKi+VaoV8z0voNU6o6pqN6YA==","shasum":"8e24c2abfcb81066cded9831058219e98a4fbd1d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-unstable.280.tgz","fileCount":19,"unpackedSize":37403,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAo+dpWZhded6nmwYv3F58FoxXahZTGwTppNyg9DzsBQAiBQ592kQfZoLsVu0x56ptGjuTlghrcfgKLWMEelRJ1rig=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCQgtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrxkw//UwnGe90m/uqS4GjxXFs/+baDDQ7bAusPQE4rWWGYm7B4Z0D9\r\nUtufSCzzhsTLc0I1kqzKKifsHmPZcv3Dl+hjdE+yHyi+mKHmKH/amdl4fbZV\r\nsJnxmD0JEFFG5t3/dJWfg3tNg8hJoP4IxMnJgwPb+nJvrd0Teq16IVs59d9q\r\n1fQAd0jX68ub6KNScwGaxk6IbiDgdOSwX1vP3CTBQcpIfG+qAUKCg9MytJo7\r\nu65Gp1JsdiXlK/HW1KgLcB3enzf70t+AmPilaXERiKIpkpdv6jWBymOEkUuk\r\n1mbMsGN9yRV+PwxOHX/zs4ccDw8plYaAI5kotpRBKvuqTheii13qyYCl6cXU\r\ncXId0eFAlVowdeVDzUgtpiUx9Bbc+kDX1XZgKYnf64e1TTHaAlRH97tdLgpW\r\nRhyUjUga8Iai76pDCoL51x8/1eRpPsf5cp8IlOkdy60y89uW8VxRbRqKiXSX\r\nIbh9I0lWjTy9Ii85+TiKcqywYucfQHh3/BqGY7E0wf8aiTgg0A5sVs+S1DAu\r\n3bTY0SJI4VdG6NeHgT+8uZ6V7YnerKxeBeR8IopxwwSK+AzkS8Eu1nuKt6uj\r\nFSfUeU7ukYoecRxodjA6tHiS9Y+qlwEZPShQhxO03x8plfEmem6RRUZ+T10t\r\nJ6u8ar8OD0jJ+JbXT4D4lZjH7qwPQfD8ufo=\r\n=U/KX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-unstable.280_1678313516821_0.4156731247746319"},"_hasShrinkwrap":false},"0.8.1-next.272":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.8.1-next.272","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"a34f653b26d26b6d980aa9196b814ad42cfa5e3f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.8.1-next.272","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-uWJFzbhvZlsFDoGilJcG4R4sWqmc27OYQePTOxH14vETaSGLUX8uJjNZURIwFGAZwZzl56QROorhfihOCnYnDA==","shasum":"5df25addb084d1271458d3ad2c27bd49057ab9e4","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.8.1-next.272.tgz","fileCount":19,"unpackedSize":36929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEFdahSWZrRIyQB5Zmi+0pmw4IN+FywJY+boYLVnd7UnAiEAo70dpXKeEtSkmeWjqBtihzy/BHjg9/mOxhqFNx752Uc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCSowACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvDA/+PbJUP/8Q1adzBMErkiKWJzndk/DC85MentfDNMhlrX2iQkaD\r\nKcUpUPiAcEPoEIIBMCsIv52wt8991x9sNuKTPAjTiL9KGuEgeQe9ZqpD+Bcz\r\nXweAnGdFL/GTdjKCBT90byAJUO4BBZErKHhFXrqPR8Q6HovZU9GMlN0PaVJx\r\n1u+NBQiU+rQaCVdl/rntFK5UKIIZU7oMKDqHT69dW9a4AsUbcncg80JQ0Pce\r\n78Xdmzvi0R1hMzNRU1mAPfbWo5NrrsWfQK/syTMSYdb3wSAkhzlIuyJKOxUV\r\nlFy3TdGDrPj4/pD3aoXJ4cyHSPUPS7HR0VBhOhM0aSp/A8kVL+4W9rcP59PV\r\n0ZKdhQm4sIrV9t7eOwdNPc9QYMqHus4IZw+pxEGnQdlX0jgveDmvJRFMeZAV\r\nAE7bZA9RItT+y0Cf2zB1iB05xyN4sB50zJFOu9GNI77EoViDTMUNfbWUIvz0\r\n37JUFjYob4YagQjmjUbcEBeBcUKc2k6mQ0Mx86wgGpINaBaIsE5KRTC9f8n0\r\nqLcSg2s3+vE++k+QsQrS8Xxco/Og5egkXyGtjE1g0VsQjGnquApFMk0EoHoG\r\nxL0ljY/Ci5fDHS0QkzDtoHnGkKSBPZ49xMIUhAcBWELOZTJ07ugKNx7P09QT\r\ngETBWnVHKts7jjP/vfUTCRDU+GMZdjpU+aI=\r\n=5BNu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.8.1-next.272_1678322224041_0.7206025945411709"},"_hasShrinkwrap":false},"0.9.0":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.0","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3-unstable.1","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9119280fec93d685824f0baa454163d703431025","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.0","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-vtWBX0NPwsyApI/9wadFRzx14ngjry2gFszlzqR2GmzOAhGLAtev8oo1IvwkPbsp594SGk1E+WLg6Qc+zNi6Fg==","shasum":"38f0605fd78cb3364554cac05ca31a20b6f2e979","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.0.tgz","fileCount":19,"unpackedSize":36912,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZXjy9QuPslP4pt3e4iF+4/m5pPOZHtzbZbPQQIwNs9AiAL8o6/DyS4OWaQxEC8oUxpiHTvJqO6eF/04dSyvZU1Yg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCSxBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/GQ//e1j3WPA5iHVSjMJZOKkpuCq2x7RrKpo5vX8gBMxmjEORcPK9\r\ngLIwI5tbY3Fq3TEcrlF0W/NQuvGpokPLeY02Akb/p6eIpre9Hefjaho3pXJi\r\nAr1c/3HsbpQTEIDN2AWr+cqV5Giv008EX38iMWPNSn/w+1d9XuN74bGLhEK4\r\nEpWWoKmVRAChKcgLmsx82nbtFBKeTeYL9p7cR2Pu/chiUTem+tPqnVcIQBV/\r\n081yaz4TYuaElgOr1R03V6NowhexAJ7fIniNLHV31x6Kde2gShsp+Dzq8DRJ\r\nHuskj3Q2pJw/jMqt6agWqwtA06lEb12mbI8btBmovwzD2cVI0ygR05B+Rcxo\r\n2i0jY5CUyl5TuIuyZgVichx7szAq3w+lncmEwKienFrki8v7yyvs5td9seRC\r\n6u3C9GuXOB2n0X7sy1F8ThOhjcMuOm3NpHQcRZT8aINntBMVUVnI9UzpJAn5\r\n0lReKb1d7VS5N/D8MENE2V6UzOKe31wIqH1kam1gwizGs75DkzvugkgY/L4b\r\n/MIgiSlidskoKGMIdv37LjPPxrVflTsEou5ycMRug14ARJGNZOGrUq05XOsR\r\nZ9z3t64fSV3Xlv9qjk5ikxuBs05UuVK7rJrM2sVz+9QM3yse6qU6ZPMN5oSm\r\ncajpW+ZTKnkjB5tKJt7BPio/UQfErDpiyyo=\r\n=HUrc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.0_1678322753773_0.24899493795277405"},"_hasShrinkwrap":false},"0.9.1-next.9":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.9","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"fc228a2e85d72e0e1118d71ed8ce6252f4bc273b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.9","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-+Fp/haOyBLxEzXgbiOYekCrt+2lJ3JkSLqJMWhqL4Ybe4dqe3v4ZKzxUT7tDkDy3goFHl0UzMeC8sedgnbB9GA==","shasum":"62ad88ae524c74f038b93acd09f260e5fc04e2c3","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.9.tgz","fileCount":19,"unpackedSize":36916,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGvcQAEU+L7r7fuRVnut0XSBvxo36gKv4fdSoMYB6QAiAiB7XcKSkOMaxHycui8liasSpRua9iKqRv40kcRpHUDfqw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCn6SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOMg/+L13xIzskTkB0lXM6BOBOlJKvxjw8+G/KOcNNEaK9kmnOSAoJ\r\nhDBPz5Iz31bIqIWtblYh3/6x92HKfEsGU+PKIPmM0pL2nS+Oc7HX9F5PrOOq\r\nB7V56LsCEmPaMOIX3S8lZvhpAmlE/1LZcpDPJDKRhKXoToig5FwKBtfDiOvB\r\nnprSxc1e+3OfVzz53GsDHL9MUAnAdYBbyDbMhZp5utC/vlbUoWySI9KqTM5D\r\nvAihM//UoxoS83Ond+cs4WzOgksWushivGqmwiB/uu8bxNubsS7RV+2qzHZ4\r\narGowFvWP6jvVPu/lbOPYMINx76Ck+afNaMyCEwxZtDMvm6Z+C/Y7hBf3X1e\r\nfUbZJq1p8olHvoukRvF3vvxFnhIbx7Ydu6siyNuJEKlN0uKLWcDJgZDn/lOG\r\ntoKd5cOln9WN3rN7570KXi0tskPbQXCwk1FrIVIIa/3+f9gV6KQXEdcpbpMZ\r\nHW8TOUn4koLofiF4Ymxu+YWWJCpfcHe2uUf5SJDUmurBqj622jLmT4mZBlrJ\r\n5P4rQS9f0WWFV7V6Z+hh6aG8IL1TbNAE+K68YmzNdszJRYz1u8QWgQluZ71O\r\nn7vILALtPQ0olJmTaq3jqvjxYHv4V/N+JJHEGL/AKvfUQFt3n1ImAnR7Ybvk\r\n3+IRbzlDGuAHQbcdiLem/G3w5HMCdsr9f4w=\r\n=/B8g\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.9_1678409362692_0.9291373557494038"},"_hasShrinkwrap":false},"0.9.1-unstable.17":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.17","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9f929cb88baf569a1b51d699d1cd2456c5d03255","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.17","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-GPevNcZ9s91rdu4+EAJvdhScbZlkDVV4K/jPPkorDE/mwzz1pg+KifWuO5EKN/ZkU53fbNGpt2iQjsB3MxjYEg==","shasum":"acea6091b96a4b3a3d54ca865100abb4b6f418bb","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.17.tgz","fileCount":19,"unpackedSize":36921,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMiQKYZTjUJtABmxMqPr0UU92VpXvsNKrJNPGcU8lFSAiEAw2Z0AgyWPFW4x5K8KEq4bIRo5snVDWs082QSx6Q0/JE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCwX/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+Zw/+NYz5R71wOo7zB+imZjQcLRjA7IkE/+7lIJAo/WRCK1U6JHmh\r\nkM+pCP8II9zleDvQbXdtACVM2yWIMFSsy9g+OYaJriKjeJ/8dKQ7zp0vy7/i\r\nlRPDTo+w6504Ai8nf9DZyVPCqgWIusKlcdMY0W/c8JzAaoH2hipb5HqxgkeK\r\nFmWVLTxl1Bjewhy5H8CZjDMUhz6MaydpjaJBXkaMW5kykRX8+dB/jQAqbZfk\r\nPVJ3NHnVMgs+quz/VRuS7SE4UqsHlsPbm29etN+ywyZi7ocEvPjziV2g2pCP\r\nUwHTg2ga2WUIZXxzlbvFJCgk2IWmDvWPFNOvpvhfUKfJA3j0MQobTeKWAT+9\r\ntrx/+god+zd4UxZQ9x1DWM5kcd+RW7MUIf8CwCFZgmG/7MWkthko/qcKgw8N\r\nOHx6DpUbkcUAUOlgewqRBsRdOlXZ0mDWYmUWZzGlOwLKzGePcgwE2d9np46M\r\ncq9tIrF3Y+RqxYTnQj19IMC2n/kW6/WDTJDfNGqCHgAn2TcbdUViBBjQdTXc\r\nOiSufinbH7xXweRG8qsdwQ1kkhvXCv3VCiDGOXHTqnJtj4rLxz8F0Xs1vZdw\r\nYQV4ZapR6K6qX6FZHfDdmAt8cMgTEcgsqpnnIlAZKuFVpU8dpO9s/0Fr0KM1\r\ncmp7es0nks3V7QOaWhWuSNNBiP5y6wEPisQ=\r\n=3qpX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.17_1678444031026_0.6626549842125442"},"_hasShrinkwrap":false},"0.9.1-next.10":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.10","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9","typescript":"4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"84c08f19f2d40ba7aef0c3b5642c99fe857a2d84","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.10","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-N0Go0RkSaBBIQk7ga1HcyeEQI2UGjKiCa5UM0gk1jwPPn7h10Uvz/nxtfQp7dKdKbs2lZ9Yj2UOaD4Jn22254w==","shasum":"08a547428fd18b6ba8959fdccbb9cb0252efb721","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.10.tgz","fileCount":19,"unpackedSize":36917,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr58KqrzfPkPM6CSXtNBN2CIGtqo3GBINYtJ3aHHDB4QIgMX7yPuqiXn+r/SV1yUOsRItiITXRqPYWHm8FFSr5Osc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC8WzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9Ng/9EKCuV+KxCuOi6RtdXzn+zMt8rQPK0yyNLW/oAmb1IGXXF2yw\r\nNN2zgKnm5TrPGxjAmGeeceY/eC7hJliUgIeFJ+ZqSJ8CFE694xkLUvJW9UaP\r\nIS4aEl9+I74X+18SFMn65HSKX94zJlDzwQT+EQYY4QolxjUvfXrRVxJOIzvw\r\n3uubjzByGmvQjySfObpj6XY6I8NySvR++HZ9QLRqcGKNM9KRrcn14KP4xIMg\r\nU9OwZ2SBPiw5mRgsGzgpsrJqbxP/5iIxIMC2ofLkcbWDRoOY+Fpq5n8++vyA\r\ngCvAvGuc4beIFx0lxtSAR1sJU7b7gLtZTd0VbWaWtI3a4VAgtQXOq72pSmXp\r\nob/wO2xQ9ra7qMPBkv+VfVqtYi9qB/d7MMZtDmAx8/XvutScqcPVfottkJvI\r\n+eouDzNEqj112M2JSi2u83t6d8Wq6qc0hj5Zv/uUWrj2iGFGOB5Ytg2gQ8VI\r\nYPSnVgu0lfJqV24LBhiD562jkJLcDlM+1PN00gUXn+P/snK2WknPAbctZ+i/\r\nn2CPxYy/10LqgoD1FXq7T48ec88R6LTThYYjYIWnqOX4vVgOjvQaKMSecaeg\r\nSQL2uw/yNUzaLsoAf6nTvXE3Au6Wjtgu8lnh/Paxuvn6N5B9OiUiLAOYPOwp\r\ntmIoh+4g5ToWhH43BGp61Mn/Ct+Ftl8i9Tg=\r\n=XHRh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.10_1678493107665_0.5831634507516075"},"_hasShrinkwrap":false},"0.9.1-next.11":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.11","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0cc08b6acc168b838bff48b42fdabbdea4cd0899","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.11","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-oNhdlAjwCpw2wWnWG81V9AfFoaN7zDJrNr5wR5E0ogdF0oVli7f9/vqEPuiALLgOupCfwXfJXR+98dKF24st9Q==","shasum":"fc06a12e240fb3ee469006bff7685c0a5ed57d4a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.11.tgz","fileCount":19,"unpackedSize":36886,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfnC2QiipLNtn+txq0uX6zMjN8r7XVwVlbKIM8j37a5AiEAgqYc2XTZNX3MGcHiEOBLCVVRQ5mdNsS+0qNFGvagAnw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC8xYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofwRAAize1+sr8owREdV553eqBOEe+oRZYxuv2G3x6XCaifWHSmbaD\r\nrXGu5yCZsE0HWvKhy7qjPlJFsbaPD9DOifuurkwtUXlK1rX3gPBe2wfci5/5\r\nYZGXfPOR5waagsii9+Ofgh3MToSwz/hZxR4yM2wzTvxbhHgI69SD9kfGPnBk\r\nxjiZXgAzL9s2CqDMKz2efJbyWCAqwVg20oXDwrXERGuFS6WQa4baI2Yw9b1v\r\n6XOh+4XOQ4Xq3wxd3oQ+z3dYVesOF00JZrzpchL2qPc5KGb/DeSqlerv1MrS\r\nfAKZfyCJrUSY679SerpTAtgZ9qvZR/maTLmb4SLew3zD3f0xdYvd/2+hjUHR\r\nvvFf8aZZWgmyz0KaWQIUMvESDi9Ey8BAVTBVasjpSpofE3H7ApZzetYbbOZZ\r\nDscxg2yPLK95AXZHxHBZb+frL/Px83C3Y8CAAj9L5Gw8anrXt+Q1YDYCdRrK\r\nJVbc+5l++EelfLuG6b1D3vsFxgMZ7Eow/mcEbhdylXvATGrpEAiZlzQD6ipx\r\nyWlUGRDklC9ZqgAj4UtI5rWaEf70+GRd6jP5ZN0DreIUbtNcSAHqmq+AFd3q\r\nfrhQ8a9ykJPXwzLG+AWzO2NaqJnLqEWdxyzztZqzCoH3pRXcyyDzObSUakzX\r\n9YCeTDNUyrfcQkoZxzLUqXHDSa1rZqtuKTA=\r\n=n6Jq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.11_1678494808388_0.9617496743662688"},"_hasShrinkwrap":false},"0.9.1-next.12":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.12","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"aca017b322fa302461d7a8482f4814c7fe1b0f9d","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.12","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-a4nkL7ZLl0Ol1d7gg+swigIRH+/50swObu2sJwNMecwsWO48E5J6/+9Xq9AdVqEpAEMWxiGavRdfHBI5By36Jg==","shasum":"e9a3d5fe17dc45a3394aa860f8d83584cff97313","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.12.tgz","fileCount":19,"unpackedSize":36886,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCn6MyT5HOn+J7NzkUAKgF+7kzQEiR8lxp2uy+mvqqFPQIhAMpeMtAaYFOAmaKmPBv/mJBRlTn7loWi/j2OJsauwwKR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC9UOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrmwg//TzL/ag121xpxghR3SzbpEHZQQIuNIG2ophAOIS7WrxI945iV\r\n52qQGJ2gK1vLfYOv3S74ZdhdxjOl3rFAiiPG23Sp8XIvIna2nYk++AUiFWvJ\r\ns1l+PVudRXTmLtt4PLouV+eEdH7bpSIOl0j79bRffbiNj6Oex0sdMqsWi/N5\r\nZCSxpWLV317H2JOzMXdtzfJm9mTtY2gcJCfaD80taYC3s1YC3mPCwDmXl95i\r\nZQeAc511WENVnnc/kmud7h/O2XEx5j0Shfu1dgO9503fkhi2QKgGNuvv9K28\r\nGkQqFJrDPOlueUgir9e6Wu+v+DYNDgiqaYVkrhLofbsvecuIRsaLW7IqKuX2\r\nbw838a3lPgII3D07BtPKN7MvV0Miz5Ug2h7WgVzVES1L1CoJsm4V2o+C2/tq\r\nBD4cr8Q0WoF6DcN3h0wmG/HfYtKISsyU9sP8F6YcQxU4xm5dFjaGdk1SHbL+\r\nfz0qyGCnWt/uLWKdEqUZFdDlnMmc5Ja99EvW7yBT5Wtgu1d5BFaPNTmZDwVp\r\nEvOkXPvhhvUujVlWWN96nn7VXekggeeNAEh2QTP389FrKHTvZOfCkKdGqBFh\r\nmmz+LgL3i1pHmZ87LBbYaEnCJn9ew64beiqSGKoSHseLte50h5Rgd9a9qcik\r\nq6c+wIofom8/JW5iJi6bdXwZC7pidngMEaw=\r\n=LJ1t\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.12_1678497038599_0.9507156320729595"},"_hasShrinkwrap":false},"0.9.1-next.13":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.13","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"e7dbf550b1cabadabb8f1617cec252ea6f692225","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.13","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-8msI+8qI1luENkm5+YmzfIwtSIOhK0B9zfPZWjKQJexfSKxvJ9Us2FU0rb7wRkpdSs5Yk8bCjt28fE/GhYhpoQ==","shasum":"5a945e02f6da20f1594a13fbf33a1d2becde5d13","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.13.tgz","fileCount":19,"unpackedSize":36886,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICh6ZqecAU5A6Um3SXyayuxUOa7e2mB2GyHL96E3efArAiEA1BmCqHa4v5j1e5qKOxc0D1oBtMcg1yqs5eD4S2X/C7s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC/r9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrf8hAAlb3Wu/qA8Glmg3Z8EQbXKIZ+LrpJd4WEm6LcXwQp002n0kKh\r\nifGSyT/zloAJSDG97YrbR0vTF0YbPtZjjnQGSvIWj1gYQYGQPnaoIU9j+crU\r\nNcWkz2Zc8AfL64FsPbqBISst1hblLAZEjESmNqisyB8LDpZQZVUjN2Vl5Vhn\r\nrFZlJvTmy6MG0zeqP/90Jm7NRKCIJgt4wi8A0ZTr3uvCkLdnBTH0pmUJSp+A\r\nmayG4oEMEYZ0OnaWC3/Om/hhzHtQX0pxBaEXy3LrJtF51Rcw2Wd/7KhfMD7I\r\nS0mMJSTf7y9F/3dnWgh2KSIoJ9il6m+OHAokuQgbPJmsOq+Vr8iWgacz+1RS\r\nibaAp+N7k7P7jWD3UiRuj7W4NcaRrpMkie0pq4WJAW2+83OGxNNtGyYumWhi\r\n3bVKanoBADuUH8cNl34pLuTN8LaFLpbVuMAITKZTacWrLkrH5HQPhWEvJ41Z\r\ntn3Jjd5HznEZtcEwW7xfd/neuBxuZNliCTDgTOCUR0jf9YPRvvKzqMBhgmfV\r\nL4s3qMgSDhgcZ5ODP8HzyAmKaBmTPy1bJ2Ygftc77U5/BQb/sXNrbAF6Sji9\r\nKUggMKqS/tb2v9HWkyeh0jo5y46n6iNTrOJjnY6n/NAfULsNPj0vknBdxuFj\r\neJqqTHM1t9s3YwqEEbXgRLXZI8ozIv13G5w=\r\n=igjK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.13_1678506749420_0.7314127922652238"},"_hasShrinkwrap":false},"0.9.1-next.15":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.15","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"d2b89c2bcec9187b81621dca670b0884031cccc8","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.15","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-IL2oF+2mmn2agWsWDYzUgpW9SmcYwxxHbJdt8ZoxbyLJpsrzzf9T01ZJi5TUHseOuvyESeOoIWmEwnDV7RT+HQ==","shasum":"a08effceb82dba1a9837dc52d4c5467d59f83649","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.15.tgz","fileCount":19,"unpackedSize":36886,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcTttXk+SjsRn41hv+J+XLGoFqxs5CB6z6DwqztaWjIQIgBHA/XRstc+oc+xCg2e0V5d+dfLRLp2rrmJXRAnNw+JI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDRLoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoz/g//Vh+VZHIST1DG7T8hRh54GjgWxLEBhImhz/hx4ZNRn/xjZti4\r\ndEmnlFZ324C1sj31nvzGvO64/inOPziftoHOV2OMbU6/Kip8YBkHPLUNFixH\r\nteB9E88wzoo5Y1fvWsnN2+TE4SFa9vGBPDGGdJ0L7jQkmnN7rrsWF0JtXEl0\r\nOfpBlo1w+ZfENxOUyU+3LNuvyh/to4nn+DXn1H9PY6g5ULKvFEZc5NLuu8NC\r\nvGHsKsnF5ZdwtsJR2LOiLoyf/Z7talIEdPKG0RfKKyE1WQPJ65LmH8IniH4j\r\neGcxNPt3Lw06+yGDR/RuJsjkhfJmXTzrBb8XYZi5cy4rxEnZiKkwfAnRWeIy\r\ncG40wwpzWyCIreaUw1T5Nau4Gf0GgUXZ1wBgayDor3hZp8mpuCyuZXchL3H+\r\n5mOtbbZ8Y+w6lAekZRcbOfif4NUUeIG+p9IBC1ExrcrD28uDutrHhRM/0CLE\r\nJLM9fuEK2+qtmM+vWGZWTdGy+7tIuIxykQr1eXBxU5EBjZ7Y3zI3lvre8hz9\r\neL9rRUFMmyW0LtZ8d8PX70smXRd6nUY5I+5oeBLXCMjKpVdKjj3uyQk/omAB\r\nFJBFCDpF+OmOFPAFzGaPARIhXHZTh6C7vt92P/aAtWkquIfKkEHwN5NrQCCg\r\n5ysvx13OiZUxEp/6xtxLKA6vH/2OYQ53zPk=\r\n=V7lS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.15_1678578408704_0.3705755160982127"},"_hasShrinkwrap":false},"0.9.1-next.16":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.16","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"1907345725090a90ae9b96104114f33bc4ed8250","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.16","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-jcYFxFB1lWLA7xn35ap0xYC6fPtwG2ufelVK0aWpreIN0EmaO22ddSSWLJfrMemQCQJL1Q+DXj0RcwJ7xKcqaQ==","shasum":"aeca87652818efe292a84c1e66c9fdcb4a075b58","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.16.tgz","fileCount":19,"unpackedSize":36886,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdXqJse+Zr5N0jMNBjoANo8I39gerdX5Tx2HBzMLct1wIhAMblb87t2/QLgy8xy/rUFvQabE28FvvWn3IASBxP7VGz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDWHPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3Hg//fXabeBC7jgaY9pNNaQksskIpWlhnRvpiOv5UvAl5iWN/GHO8\r\noFHdrAmgpi5yVQijFmdF4f/6s9pV7+NbAd/UqHldYqv4ueEeCW1PqkA6vCVq\r\nNTL/sNrKqMCKtvudqXIGiFebGzruaF8CqeSt5E84yX8Em/YxZWKD7f60yQn3\r\nj+7AFvkM9i1ugXdW7encdjLNJcN0MC+l8OSa50KeehI9eVx+4DLxA3jKYj8A\r\n5LzBoZsjsBUpSd+67VdoudqvtZn1NsurGmn0a3Y7FqOUXpTxfen3pYlSGzX8\r\nlULsinLeIsyKhpqZdmB0GPsfH1/HBh0UCJ40lsqdmbIJXrWrgN+FHcdHLSn0\r\nV8KG/zqzQfQ1COwmAmbqRv5q3/HC0t2fJsO2yzhLJKXz3jAr0IykiB4jWTBi\r\nKU5Vy+YKng1fdHi84/an1kriYlCNb68JLfQgvK+rW1/oyYdJahztpI4U2Rcc\r\nxrhnOgn6OgdWNAh6QBtxIq7hV+ceM5p+CAMLo5E/+fD1tuyIf9QOaZs5GRk+\r\nzlnYeCeRD3ix6MZABGE+hOYJneO5iuLBsAyOyMmOL4yRzlVGeCMuCIzXb8t3\r\naMFwET+wcQN+ztmAE5fh5AqF8Ujy4nwDUX0BerTaY90AVjQS4BjNMHtud8zw\r\nSDmW4ZoLSN9YaSHrjeJL29+sw4MWwcjmo8c=\r\n=Mvc4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.16_1678598606983_0.7505403932533983"},"_hasShrinkwrap":false},"0.9.1-next.17":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.17","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"63e059b0460ae40e6d31a5ed0f0707fbd99f75af","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.17","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-fNbiqyHJHE24XyQEx41jx2dVZ0FE2Xbe3GhMzH6WCqYONLyvhNBN8GbeM/ZNTW40PU/x/MBbHdFptWlmTYySrA==","shasum":"9f7d0be7627ad5347484c11f0df3767f81fe08a6","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.17.tgz","fileCount":19,"unpackedSize":36886,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv31iYKYcYiXpAdQpKNSqei7fVFo7mhVbGcIAslYKwwQIhAMn9p+I3TOHyIT6kiNZDhpiGqr+uTukc84jWJlT1utpK"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDWnfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8yg//eLkJtuB591RBw4dGbu6qFCAo4vlJdv31sYkTe6JLuB4QgaMG\r\ncHfLiAXrYjGLnwgFSbPYqnk05aygy0VxPS6Zlut804Pxr2VD4DAj4fg6HxbI\r\n/5oO15jx9YZyOsTxPgzZz9GoRZ73RmW0fhraHvAOuD7Pj8J/LsM4+9PXTczF\r\njZ6v/QBDv9yDRg6QGO0XPRQmlHEBg9qj3zyDgnT1y7pZjTgYv+da/dj+QROh\r\nT2H+CenVtA0SK5bXSoqj8UVwUHLFJLHK2PrrdS5Rp/OIsdHkBJp6m3rqtCeu\r\nt8uOIXeNwE0Vq7iqC25e3AO21S5zgGFCKDGp9/1bDf8nSHlTWB2D7Ue1h3nv\r\nHB37+DW19EoEnIywuEhrEbIINkaHh/z6uKHj754ZMfxPyQpENkEQEtL8Q3aC\r\nuAwBSHHYWPRK/SINNhQjO1TMAx6VgeA+yeX1ohWjMc7OKhQemqRyuNu+m3VB\r\nlidM936Y8evSAFdg4HiDOblP5p4zT/0RFVZ+CpJ26i7wHHGBlnBnIi5b/LeY\r\nnVxpfOX8WxsF17o8g/JOXsHGQbX8A33K5owUX8stRIkq4wQ8aLVdVV4LNI7U\r\nUJSV6dS52cDxOkVKJuqY2yfCjtU3bJxbSLbQfXht5baS1KwyhHz601IrK3yr\r\nhb24TZz2vUe//4/gmEViFpjeuoZUAQC372I=\r\n=B5AC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.17_1678600671088_0.4418136298951303"},"_hasShrinkwrap":false},"0.9.1-unstable.27":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.27","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"f588994f2aad4f6e7554a3449df78a0816ee063a","readme":"<!--suppress HtmlDeprecatedAttribute -->\r\n<h1 align=\"center\">\r\n  <br>\r\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r\n  <br>Well-Known DID Verifier (Typescript) \r\n  <br>\r\n</h1>\r\n\r\n---\r\n\r\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\r\n\r\n---\r\n\r\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\r\n\r\n## Available functions\r\n\r\n- registerSignatureValidation\r\n- removeSignatureValidation\r\n- verifyDomainLinkage\r\n- verifyDidConfigurationResource\r\n\r\n## Usage\r\n\r\n### Adding the plugin to an agent:\r\n\r\n```typescript\r\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\r\n\r\nconst agent = createAgent<IWellKnownDidVerifier>({\r\n  plugins: [\r\n    new WellKnownDidVerifier({\r\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\r\n      onlyVerifyServiceDids: true,\r\n    }),\r\n  ],\r\n})\r\n```\r\n\r\n### Register signature verification callback:\r\n\r\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\r\n\r\n```typescript\r\nagent\r\n  .registerSignatureVerification({\r\n    callbackName: 'example_key',\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n  })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Remove signature verification callback:\r\n\r\nRemoves a registered callback function.\r\n\r\n```typescript\r\nagent\r\n  .removeSignatureVerification({ callbackName: 'example_key' })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Verify domain linkage:\r\n\r\nVerifies the relationship between the controller of an origin and a given DID.\r\nOption available to only verify the service DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDomainLinkage({\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\r\n    signatureVerification: 'verified',\r\n    onlyVerifyServiceDids: false,\r\n  })\r\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\r\n```\r\n\r\n### Verify DID configuration resource:\r\n\r\nVerifies a DID configuration resource and domain linkage credentials it holds.\r\n\r\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\r\nOption available to only verify a given DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDidConfigurationResource({\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n    origin: 'https://example.com',\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\r\n  })\r\n  .then((result: IResourceValidation) => console.log(result.status))\r\n```\r\n\r\n## Installation\r\n\r\n```shell\r\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\r\n```\r\n\r\n## Build\r\n\r\n```shell\r\nyarn build\r\n```\r\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute -->\r <h1 align=\"center\">\r   <br>\r   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r   <br>Well-Known DID Verifier (Typescr","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.27","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-o5l4Aq4tji4g6PdM1nrCWu86Y+jlDHty6Z2tyE4eq8xNn8JRMWrKwxC4uoQiZbi5rcaE4aOgNwt79ZKG3HQmbg==","shasum":"696a6c35851a9b22c4bc7da8ea03b9f1093cb40c","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.27.tgz","fileCount":19,"unpackedSize":37337,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEZ1XdnMaxrdhSnoVvU06F6OmyGC8jGL8SV0tWAfwhLAiAZ3xbUEoHSgfQglZdk8JP5yeJJZ3SB2YD2M4ipcOIrng=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEc9rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoudRAAlBgk/1+kbeoYjD+Nw58N4wSwO71gijFxrlemzC51NvNoUh44\r\nGv14/vEK4imgBZjIXqjCIBrZo9ZPXXtMNsM36zx1OYeuiKhTs9Nd8as54JtC\r\nA3bkuYf+dVYUZfpt0JzNSFAl3krNMNzi7kcLBBRB/2DFnFRVvitx017Yi3nP\r\n0y4lGpcaxn5eG4jWzeh1Y4prVMPdSmEgtdpqAJzVGUnjh3gujyKOdsy3KtKk\r\norzNAA6F1l9JeCVwc/LhleADzlct8dK0Fs1Bx3qKC1If/A+zA5422yfNlgLY\r\noy5IvByf4FV28TFjNf+kFCfk+h4+KklZnNpx/6k6cld9RjXy7Il+6F7SJRyL\r\nwvLHuqDQwV6rENcSVGizGDfNFcrTJstrEN1RGhU8JXJx1iDsqmGD5aw8eGQr\r\nV8y1NfoyOvwIykDxRecu6kY9LhEqEjlqP/n7onPLJnArNGm5/pV0bNeTSMdZ\r\nMkPZSfQST5pvHHk0Zp+KE9HNk1URn4Bsuz4v/rlkuYt70qwP5S6PHYweP/TA\r\nh2kjY2wSMX3K0euzEG4vwNIa/AxeNrbnshRrVpVDzDX8257hNOvdw/V/LbxW\r\nr1T/EcTzruRpJEgCLYI+MhRR4fvc2ZVzN3OMquXDtKLI3SJXmb+K9jIYEJwt\r\n6qRuiLPTTNa+lMlLu4d3aqyaOK/av47q+Mo=\r\n=NH9j\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.27_1678888811562_0.8249477527256464"},"_hasShrinkwrap":false},"0.9.1-unstable.28":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.28","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9ec78ec4fba4ce80a35d1e9577aceb8adc10d726","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.28","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-2B6yHPjdeGlyE2sJZaxUNdkP/BMGohcZGnOILxHW2jgB3f01kRiwMqlgpHn9XM93d8XLOkdPKl2HR2VT1vd5Sw==","shasum":"e48477df5b26ad4df0a97ff0ff8732f51973fb6b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.28.tgz","fileCount":19,"unpackedSize":36890,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMz5vDJtrvAYO92vwSJ40FYqu0FPXeUlNeuqqnicTq9gIgA+JunBxnciul77cznCPy2NgIlFWkX4vz4+p9+cJHtBo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEdVhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUew/+Nca7pKvdDmSj8Y7INZy2TkNWtJQeurigqn863BXCrIpbvTL6\r\nbTpwCEvxmsijtFHYcVlAm3xwhAmIGIzeLzZIBpCdhvHqEAZILkOVzq+5CA+E\r\n1tu6fCxcgVwHT4TMNqLztx28LY16nINVBUPI0INgX4hBXFNqdkiB7I+vVLoq\r\nmzl3oMB2/1frjvsvYLLvt+5wv+3TBTNS7LwRpALweM8zhh69Z7FlvepoAUe7\r\nnJ+j6r8UKvIsZ5y4bv+O+YLAqJVkjd1dUeQJYcPaML46ZPOCI/zR1oKifkTf\r\nfMyEYmw3zyk1XbT4MzhZK4apwAUq1CxqJPAKy0nEedEh6BLjmWh3le16gqvq\r\nQ9iuHFKX8icfxq3Ms4ftsNFghNGnjeQJUUS4cLwVpRqy3IO//5j0FTK3/TpE\r\n33tURgOOjW+VCI9k7cVSlf+OgofMHHksfypRXjnfP7ZpwIXoLQeBeqtbPRHz\r\nBQxfhoIgtnGffiQQOLdKUpQrlvEykwqwdJHUTuyakBYfxlyAUItkW7fj6kUf\r\n09yjuhT+wmssnP88gRSANyyfSY8E5N8wyBe8ab/Xq0E13ZsuIT9jevRsRxi9\r\n6XM+KIlgQ4t8X9PTV29johFephMdy0GMzs2lCKoU6ewYt/pjTj9D4MiSoCTT\r\nq25WawgtNLCpQPIz49jdOajKchXBXZOIzcY=\r\n=Wvoi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.28_1678890337467_0.6861998672007368"},"_hasShrinkwrap":false},"0.9.1-unstable.30":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.30","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"f9e10f18b07a49ec535f88e87c93cd69f216d121","readme":"<!--suppress HtmlDeprecatedAttribute -->\r\n<h1 align=\"center\">\r\n  <br>\r\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r\n  <br>Well-Known DID Verifier (Typescript) \r\n  <br>\r\n</h1>\r\n\r\n---\r\n\r\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\r\n\r\n---\r\n\r\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\r\n\r\n## Available functions\r\n\r\n- registerSignatureValidation\r\n- removeSignatureValidation\r\n- verifyDomainLinkage\r\n- verifyDidConfigurationResource\r\n\r\n## Usage\r\n\r\n### Adding the plugin to an agent:\r\n\r\n```typescript\r\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\r\n\r\nconst agent = createAgent<IWellKnownDidVerifier>({\r\n  plugins: [\r\n    new WellKnownDidVerifier({\r\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\r\n      onlyVerifyServiceDids: true,\r\n    }),\r\n  ],\r\n})\r\n```\r\n\r\n### Register signature verification callback:\r\n\r\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\r\n\r\n```typescript\r\nagent\r\n  .registerSignatureVerification({\r\n    callbackName: 'example_key',\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n  })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Remove signature verification callback:\r\n\r\nRemoves a registered callback function.\r\n\r\n```typescript\r\nagent\r\n  .removeSignatureVerification({ callbackName: 'example_key' })\r\n  .then(() => console.log('success'))\r\n  .catch(() => console.log('failed'))\r\n```\r\n\r\n### Verify domain linkage:\r\n\r\nVerifies the relationship between the controller of an origin and a given DID.\r\nOption available to only verify the service DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDomainLinkage({\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\r\n    signatureVerification: 'verified',\r\n    onlyVerifyServiceDids: false,\r\n  })\r\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\r\n```\r\n\r\n### Verify DID configuration resource:\r\n\r\nVerifies a DID configuration resource and domain linkage credentials it holds.\r\n\r\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\r\nOption available to only verify a given DID.\r\n\r\n```typescript\r\nagent\r\n  .verifyDidConfigurationResource({\r\n    signatureVerification: () => Promise.resolve({ verified: true }),\r\n    origin: 'https://example.com',\r\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\r\n  })\r\n  .then((result: IResourceValidation) => console.log(result.status))\r\n```\r\n\r\n## Installation\r\n\r\n```shell\r\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\r\n```\r\n\r\n## Build\r\n\r\n```shell\r\nyarn build\r\n```\r\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute -->\r <h1 align=\"center\">\r   <br>\r   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\r   <br>Well-Known DID Verifier (Typescr","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.30","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-tkeeu5enGZ7m1YZiLuPwKoiPjmLLskgsn02uLzjRUolvnbb0d5qxdtk8xegcir/tyAR0EaP942UyOcuHAkripw==","shasum":"0e0faf70432ce3d588b4d35e57497873ae7bd550","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.30.tgz","fileCount":19,"unpackedSize":37360,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDU2PAk6dACtt+YNTbg/hCVUgCkbnJ2poBy8oMoiMtcAiAxz22wjaNG0fzODPmcm2xXVzaRIv35UWZi5R0EzBhKIA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEd2zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9Zw/+IINDZac5ZbqObDzfpFTVJKgKF/m9ucp9yNcCGpQP9mEIcCzY\r\nxu/qhjWU9378DKKyjypygXKdSx75JzS29TDlvX9VxGi/SCJ77ERAUvcDTzIp\r\nqIltpiH7tYMu7BAf2ogwH6f0mdnZ+yHqZEhxNDi2/QdhtItsOHNfe97TwbC4\r\nl+FbHBn5uJaDlkn0pDIdSVIDi4UxBB0L6mam0uxGujKWiSMg57iEMoWT7DdR\r\nmQhnbmlxZmqttDwmSQXMap+/x3JYPU76I1g0vbxQtiwGn4dE2ETbtkoNwEAp\r\nloGhrfnkzemj0Njc+UvcsIigGqquQwfnocQlHUDu8z9NqhaV0SJwXpkpR/JW\r\nOJPVWO61HtN9ftLO0Xtb7Pu1EHRD30cjyi0vBXPbk5wLMoBukBibhBlKYN3+\r\nADh78IzEZk05kTIH0Eb0FFkU4GshsjPcBL3/0Ak+vhOVFQ1EEuiDBhbONgLT\r\nRyA6ciz9wXL8mGuxONaIDaloEzqnXwbPa3iZaruSiCjxJQF4PHYvaVh5Fdgj\r\n4f4/TK9jfQH+xw2HBGMZYX98pO9XBRbS34OPTjzJYqVzP39GyScWJEDL9heZ\r\n6j17svZ/4bo25fodXGe8Q9brd3H+CsyQj4LWDAkGe6cGOimop9M/tUzolfow\r\nHLxzt87bwGo+gGFPjQJJs/XrTcMS/y+fTSE=\r\n=5e8i\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.30_1678892467481_0.13804835820438455"},"_hasShrinkwrap":false},"0.9.1-unstable.34":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.34","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0a44ee76d7df4f0a1bd0a7aa092ab1f417269f97","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.34","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-1JAPvR7k0xytCyaGqrvh3NdElhjyB2TM89ynTk4BNyRaK3pGcwbbMl2jC0n3YUij1Z0bEqMwtIkQl9Nl0AJOVw==","shasum":"da764a4a1d3ef3805634a9cc6368f92a12315056","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.34.tgz","fileCount":19,"unpackedSize":36913,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFNWp24/Jh6xkzBeBpT1TGwt6AKZoQhSz+Ubn5mEB6kQAiEAmKWolbFECAy9SOZJ/v5FqsxBESHLTOyaWdTv0iKJol0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEfMEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqctg//RzV9uf9Os+g19qVzo3IQwhPD69w5BAOLqSDjhEpWCx8U6OlM\r\ny8r0JvpVzSX4DvbJiLY4+4kpjgOqq23gdtcmAtVWET/qC2IdzQi4C+UEi+pb\r\nZ+FLtMv1zIG1UOB5rPd7vq/Z07/3syvp5Aev3OnjAJ8H+0/Aschg/15EJgQA\r\nEL171EUr7PksCYHFJTyI++aoRcJBRqwzcrIFf8wHNqU9PjVNkcy6Osf/6iwf\r\n01FdWABiWh9P4ce5HerF4Po6pYl2sDuR2lykpL0gxEFOpyjHVi/bBDQlmfS1\r\nT0Qgcu4KZzjMaHWGFeaxtx8xuEgvxmikHKfA7ouo8hIKxLMnIhoXQeO81ov1\r\nKzPIAX6kzewT6hSRx/Iw6qm7ZZX4qCmJkc7RxNAReb2hwEHcdYKLIlIecd6R\r\nX8Ja8hn3w6XX389lz55WVptRNcPSWzQ3BR9SmG7lfrBL1uamZwMel7tTdz4/\r\nZAsnOOjnqWOI40oPLpV2KUKnEFuMnG6nLvD5XlltJxNtpLsMdygZ0luprbq6\r\nYKpBRLFoTNV0WwgKRHOfvMBNhG4xhqn53d41Sf1zk4suylxGwUy8brSuXCz0\r\n3MWNuZ2z1wY1ku6boBBy1BdFw8Nyb5Ge5ZkramYQSz1nmsmSfDQTe1nf/3d1\r\nfN/MvfFcRXgDh+LVBbBDMX0Nqil7LHl4mdg=\r\n=mdEz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.34_1678897924068_0.8415413013166266"},"_hasShrinkwrap":false},"0.9.1-unstable.18":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.18","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"a4e11143915eb1638d999fffdcd92b8578227b2b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.18","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-tRUHS7ZlYxaR4YXjLvJM6TS8DBgFpKFcxuUNjVtHruBUbJk1EmCi8APks42iZdZvje6DQcvlZna4N9mAlDTXAw==","shasum":"b0269b2b6abfc73b3a727582c03a4d6024deb3df","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.18.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDifUPCNpSIexdlnfbiADtUflMs2DDGOqi6bFN00L7xBAIhAIu6eB84Fz5B73SiH+tyqwHhsiJNcekdM+IkYUUMZBi8"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEuu2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotohAAgN7GPM3FDBKbRfTp4KW2NzBEOj6ndUPQPzFwXlO1ecC3IODM\r\nF5wpzTPcdrMpuYLGysNj1WTTI1z9By6m3EsbKVTxZex/95t+gxGhlGGrmcva\r\njaQozxGGj+eSATd8vXDUOc31taYBv8gPt5AJ3hJmD81aJLGM22GgI/N+kK8d\r\nBSvsRoGSAUJWWfU4/7K1LngqG+qCMCAugYDxYO4sdLjk7vmpGMmAvzCueuzc\r\nhvHN/iNnIDi3kLSsDQY34DheH45ThChfdAJhdIUuM9eowy0XOWLRAfWuifu+\r\nvhCp92TXqqUGrkYnRkkO958OoymEjbCqed4WQb/QMJbQ/q8fHxdsV/0flwAm\r\npfuxEsgrIf21QM22aVzycXA6s+e/5iODpNLrdnlmJzOoB3y0a7Y1DcXRLfGo\r\ndtkFEXFirQkhofSdYAZZYi29k1EBET06fat8AAkcVjhaP/0H64h8j3kkcjSQ\r\nzqcmr/hpGNHogT+9QdbuqYdXsGaoQfHNOBilJxhgyBnH6Cg/e+FZVg4oQ3EY\r\nb1VgJ6pAJ0A9U3Nf1vCcVSY7HjI6D64TZqz1ulnRBaH2AVdmeNFOML15OZGT\r\nmQ8QLTK/Qes5PgbxyIa26blhb7cLtfSIJIaNZsrgOuZixL6fFpQX7zcDMcp0\r\npjmA/TCp9fnkrWsL4Ag6HdPhHagBxxhen5I=\r\n=QAlX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.18_1678961590154_0.9080230596405059"},"_hasShrinkwrap":false},"0.9.1-unstable.19":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.19","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"728fc1657d956e66ee8e0a65680b8f9dd6ee701e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.19","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-2t/Y1eOQeNYuKVzxDduKOVysypdhsswYRGFLfVn0+RpL8na4RKl+MpqHqScJ6jTDrroMgOF7FMxuLvammLtaKw==","shasum":"e8327823753e885f378c52ceda30ec2b2991acb0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.19.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgaBt+2xHQqddW1VECjBuFICdIELV5Qjrjf5SyUDpIkAiEA4HPmmlql2rg2rmjHIpP66vNIJILsOKFmSdBC6DOi4KI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEuz+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLaw/+NGHQl/RzwtKGZqS3mYkmqmSUBen9SWznFTQuzqLQ/SoeRRIw\r\n/dAuojjUDVTQwIVAE8nm+q2J95kxNBAY42gjseU8GS2/pwLto5r6dK6CBpkw\r\nEICRnsFnAf0VG7jUikDaQAXIuuWWA5zP8mnADeyG4p1MpBANGibeZSnysR07\r\nR4cEX9futptLrXghDNeJqNCIq9b6Xs41KHeGIl1kJpkTYo4iT9n0kyDXnlh0\r\nf/x2qysdeNoJUzmdGzYsYq3HH0kyOAj4lCinR3C7qx9u238Xlt19V5UfmUPF\r\nZUyqaCHxQ1RQ9jgSnBSoS3HKDbVrs0DD7li4fkOWJLOXwLHYtrz28JzeXlzS\r\nPXyXcqzpZSNq0D55lnyjPKeDJZaEkCnhyITXHlpTOMT4zXqfNsV96qC9px0d\r\nYHPzGccuYh5+N+kA4VN156RGavsBNt22SmGF+5ueJN/dGx9m4jgW997HEup2\r\n3VVoc8q2NRbzA8cBfuL0gasJknHI/rnnccjIjnPHYXbtryYw7TiOibQkHtxN\r\noJIUeUGtBjIjwfezuaSyPeGXpZp69MWuzug22/gtI1YlUPKUNEEigtLNmvcw\r\n3ltRUKU3kMvv5VrGi1xJabLuZzhkuGQd64WJnq64SyvCfxLgKNjkdhupkonY\r\nddm0PLE0FRGMXUmbbGeh5Ck0P4QZOL/3O0w=\r\n=t8DY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.19_1678961917925_0.782677872947136"},"_hasShrinkwrap":false},"0.9.1-unstable.20":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.20","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"a9192f4b8922f5ec3a82e588081adc49f564b9b4","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.20","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-aq5+JOT1+XUMZG8/YEH9coxAxkEVgUOkc55CvmH8k43V05P7pTPGFYY0dHbgsYgIU2SNlYMFvs2KaR68E2xbFA==","shasum":"5bb65d4d9c44300398d9d9192c482274751f1237","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.20.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2CAZZhFZCw49VSW9jBXwRexvjbQ+y8sc/aYZiYGF+WwIgHc4txzUkwa5Rxl1SlWml4CAJZpo4ag28RMiMNAk69A4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEu1zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmokzg//U1/IJtH4LzvFmPSwixtiYQRioexXe8OYionCiW9tKL1Oa1x9\r\n8DUt1K6VqXS//qF7qO2ixXp8LE5hG+xMVvCk6VK88OKaM/tY6kWEfvSJCrNi\r\nueN52u6jIKENV7wEPF9botOtJLMRHIjPaXuegtx4G2ZtcYmBzBmh2WHMlU2D\r\n2rNKSHKpl2A5R9a27JO76rE3HIJXCgal8WBe5G4ou3STtGc4fywkSNLVpmdp\r\nAEipuVJ5gE3KPf0CnOq7EIDTRIBsr2O3s8vlgMaXbYWXEkYSLjvWVyZOJc6L\r\n/W6/e1K32tHroscGq8ISdPbDdM9KI4Wb29Se5xLp/eA2t2PK/WFupTlt8TBY\r\nqePOZEu1d1AxIA/Jtf15xfWtCtfnTL8yAJ+2O8nQmctOWuLhW2ykfKV4mPeP\r\nDCnnrg1jnqOlaaMiwyU81D7HcTp5WOkkXSnAd+Jg/J3H/Ki0yW6I0RwSqCCD\r\nDZk9Gan45oNZa4Wsx323rQC7PV2S8R/G9ZK9bNHl3vZmBI1X3Is6JcXPpt8X\r\nKqs0ldFV3sjK3v54Gq/3yc19YqpCqc6FgrywIwO35AZCbbpWKT2L56U1xO8n\r\nPdlSbJI7II6Wi0xXYU9VIaWwy/Fjf7UyMlfjydS+ppWk7hb5MLXAkIlb/aWF\r\nJHlsJrRdAjiSte5sUCZJmRy3yQOMPxlaYzc=\r\n=fua0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.20_1678962034871_0.2867747700069645"},"_hasShrinkwrap":false},"0.9.1-next.21":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.21","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b824d21a986787d0989ecd164941a4d74996c9f5","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.21","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-LzTlpvOCcCNJVpdplaFw6yNwOgDkwzpQysp+a5bwSnvp7H+ZNdZh5YjNvTJIUQK+67LrarHQb4cxHWzMcCxAOg==","shasum":"acc5e7a6e07c1ef93fe689e743fc151778fd2e14","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.21.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICdQiHGnLntmh+NuiWdNIOtiKXvBBA6m7y62UzeQEMkOAiBmALvnwB1yTmndo9SFqrNlUweJzGRAoFU0agr5/NXkPQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFDBrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJew/6A9FNRyOsl++YQzyc9mpkB/N0DLtZsRwrdC4+kYwpjH5fQ983\r\n2WOR8Rijui2iyotGX9Lqfm4GagpGbthLqW+DhbNM9oofiAClouyBLMIuStSY\r\nKCTVpaPr5dsWwoZou3tZl56n9z52krRmxI6MY6ZrH7RTFsC728Tc0oBvjn2t\r\nxEx2rbenfcy+Sj89j0pU/7btpc/HGMVv4L04g8ud05ynIZEM34Suyh9DEWdI\r\nBWp6NIAXETtuiTaghhlWFAlWC57WcjC31ZGU9p7Z1MuAQtjyQcsrqtp2fjuF\r\nn9aF7v12ddxQI7SRFc4sP6rioJc6wtvsfeJuO5LczHCXtnqEntD8XEtGM3V9\r\ngcGymV++Nr79eULtx9ezrGz8Dy80kKJJBJeGEJYB9dydsGAGNcEL9mu3tGu6\r\nA1HSwhAPqOUGp29qkBeITYkaVnuTWOBjQ4KItLCgH9xj4aDkXseqkjwp6ISv\r\ntmuqvIyQTYWjPT76fQcghJ1zUc7J0WDRI4n/3haaUXdoDlUcC7DDewe77tNt\r\nwGonVM48LWbZrG7Zx7wsw1vcVwlLUteFaiNaiR+aP30p+RGLq6elFByn+j8c\r\nrGk+aVZKPN+oTnv14UZD6syVT4Ld0Qokrd4wCAmVbhugtsTD9mLsZmSpYKVt\r\nhuBU5xtL9gSadZ5jYl7qkn71OeDg3fw0O4U=\r\n=fgvg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.21_1679044715445_0.017331179175526845"},"_hasShrinkwrap":false},"0.9.1-next.42":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.42","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"13ad8825d5bc1148a429c7ff927021891b14b828","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.42","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-Ms8cqsjfBdRDkX85FdfSWfkhGTfw7vPqnsgVmMZcUTqvwonUdFCSeDuKGlmliZ9rZRjf/InGuDWJAUDa2F3wGw==","shasum":"56172daec2a4b47a06c1d10854b6f06d8cdcf085","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.42.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCtkVlVSiGpKtPbl6pzvEXaGqjWdNcrPLApjPk5gRxgwIgEeqzql7LUPA9uPEEToAaQ7gpAv9ebSm92VQCC+KoDP8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFDl1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVmA/+Ic8kPHUu7AHx6Z+/4X8Eq1M0SnpwdPiEjR+6hEYai0Z1BFwu\r\noTAlYAD43HWic4cfrcbsGlS1KbbO0dBvE9mfpJC07q0nb1yUnKmqy//jBcRt\r\n7rECAeb/1BuiEPwLz6eB+v8D43UnRayz0U5I1ywONDW1oJjea17nJ0dA7AKA\r\nU5/BXCnm8FEwPHKEhkW/AC9gL09oG9yERFknlK5rv73DpQNNQrEpbtQaI4UO\r\nk4aEbJBKs3hG4GMUoZiSJoK7XYwLshBHXCIZhow9KMOGf/tR1nFqogKBPISs\r\njG0MpohcD6bkxk52eYnsMJDI1tt44bV5VOsE87ykent+ZTjgvsvTh9uPdY6S\r\nSwr6dLRShvbyHdB9KNCk1++HXPQ4DIYluqLJIhXSlwTjN6165XDqPI+HJXGL\r\nEATrFWmo9zAU3GMLKTzHr9gd5ZcAoX1f+v3ThI/erOSSTRyUT+smh8WSWv5Z\r\n51q/jIDFhlphjBtuEL+M+UzuUCXHWxTcLpn8hXpBfToY5DGqj+fuwNd167oK\r\nayh7a2iKPct1lUzRjNli8C3aN3sppjYb46GvimSRIm1tL5Osr8EU7RbDOBXN\r\nZgUQjKJ395AsQ02UitPOY81UMpD4DqZdJWyIQLzapQvd+H1VRsp8YjK8bZlA\r\ntR5UBrRPyLo8VzzRsdeitZvlr6wr/CRablA=\r\n=gfCt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.42_1679047029051_0.10297341896738477"},"_hasShrinkwrap":false},"0.9.1-next.55":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.55","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"6a7ec2ee42281456394a8135cc973a33ba3ea82b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.55","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-KgMfACNCoRHnqvjQKAmqhAFHe76hDd5XADs6ATT9vzt/v5K251briHVloJ8G9WlMLGq2nH+SkZl5a4c76jrbYg==","shasum":"5e52e7c6e0aade51a81d2e6a374f5c78c2c3d114","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.55.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkZTW2Ld8ywse9hWo+RlrL3bHsQtgcA4Lyg3FH6U4MxAIhAOCZjQM7i3bQ0ZmFmpDNEpUzPym/9DI8k1M1arft7POy"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFFR5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgQg//eziWOu6i2cyy9/kRnNQVeFt0SRtYn84UXr/gkKQIe41PmpKM\r\nH7o3VdCA4yK/Dq9g19uZxZGgCwoLEVmcBEJESroNLEm+PXPIW0G5FVXsrO7c\r\nPdWdGhlh4QnGfRKAJfZU2XBw2rueK72S6AbHH8ulvvueCORdxkVo7z156STv\r\n15Swwo7dLDQCsD67NJoWrqJZcXMhFCNUO9WcqqnpZKXbTCRkRwjvRKBA3fyI\r\ng1d9vVtzOwfsWfHNLjA2vv26gLkirbis3EzyW9d0fMmiRgN23D2fyJHE6uJT\r\nhkDhuqjjd9JNehhGf4Gv6ljAVdZ5BDL866kBxXqOCTm14zpBs7inKBCeYqJT\r\nL2dzUCVF04ABLfHuSbP6bjaNt3ZXkgkRJaUZukTlfWe5X9fswrWDXWuMpSfj\r\nkHD6a6DtL2v67diRMi5zOdUOv6P3V8YQZlcNg9fr0wx827WMXch8MY6c7hP3\r\np+tCGgkL72RV2eLykpqcw4WlxgOoGLlu9gjMK5wz4JuDs/5WmTknVg287C+T\r\n0gZl7SmK6YwQIWABYVoYO4fur92iUC0BgW5mwSX5R9Yk4Hci5dQ0RsusxWHQ\r\nuPfylLFQsGer1euwWtw/AeMvoqyAJhSQR20iqKBtzcALLfhdJvFHdu3VKgc2\r\n+tOVoAxJr4WOHlcKHpD32t3x9kP3cLDhgrU=\r\n=KOGF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.55_1679053945206_0.03302094082605844"},"_hasShrinkwrap":false},"0.9.1-next.56":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.56","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"22d9f1a3c4e8b3cd58de013ca244898d7e3e91af","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.56","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-NKSQKOKwloju427AiG6TTsM82bKTpiTXY6r6m7J+fpTFAOkZFVsqz6XbDgplNjPXElCQeXwkE1Quy/O5TLFXBA==","shasum":"536f54eaf4d48301e61e0b2bb1455ae67669f79d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.56.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQVZJKmKwY7rEHh8KVXBExV90dKuBAF2TOU8kTFJ8ttAiEAzBBf8rgZl9LJH3KYeFaEN/ASwsGgqbSf3aEp/JRUKV4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFlGaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWtg//f+zf8fQQiV7kIKzbeQbs7ZHTf7qRXV6L/Af8wKxU1wLuZ/HG\r\n2oFivII0D20JZHqKrnzCbbF8ZDXJS5ZktWBlk4VCOcncZfb6Adm/RRZ+Il3L\r\n3wMo/kRJ0dLwG5rp1BTe7Xn9RFVN/2XvZleEKqx7T29FWAVnMpT5DlI9sGl2\r\nn8lltfyoloqKwNVn+FRrzCTy/vSYR6Cr3exSkcnzV6QLRMSjMk+mx9Eazr1/\r\nSUzoNebVwAYBeSu5hfIug1XaX+1s/3fPyuRcthrHhCblZcAcQd8pUuHJIrT0\r\nP5cH5qTdDOmFKwXvxOw2id+nkx61g+GJxpOMFwJykw7t8REzpCAqTsz2e8ta\r\n2rUb4WmjG5XHm4reMWGj2Pva1I/CgUdw9ljnjdQ8iUkDY7O3Siwu9Sr8VH1R\r\nJCrdq/3J3N7dd3gzuIEgvutiqIU5/XnZZRGGnUjDmJWCGPGFC3U6nBajgPgj\r\nGx01WyhSvZ92xu20J5rl4Z5nlI7BPrPH6WU/91/uGsk0IHsMh4WcX7sZps69\r\nO2zT8jasSbUFK1l0yZ5W3vwNIp2sALOTfhFx/wsQrDjAWWzoEDk6V8fSeJ43\r\nYMTDuLBsMRGpzFeWUwsK2odxtNpoXW6Taeo/ljGr39HtUVINjWlDsGPhyBbW\r\nehlqrKc3PLSVXAFMv6XFk+Rptav989B7w94=\r\n=q+rZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.56_1679184282007_0.30039514422570224"},"_hasShrinkwrap":false},"0.9.1-next.62":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.62","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"867d15c0b2f2f7647eea939e8344c69a462466fe","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.62","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-3qaB4DTZ+ccCCCek7IpJDP9J6X52QdlwXVakVvauAQ03/PbtdqSRvtdOqJVpPB3vPOpEXB7oiQ7nMA0CwI5HNA==","shasum":"b65635afd20e7e01e423c6f89022619fb56fe6d7","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.62.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETztww4gy1d08OnSVlrIA6SJraQB2M0yhMktnmQqL1RAiB0CEtjofpsmVmE4g2zusZEcQOvOylZEeeM1HIp1cwpBw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGk24ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOqA/9HVqTjaeUJCYIuUEnOldnUc6gX53bxuDqOw8qnN1qBQzQlVQ2\r\nPHgVlkuHFet2HD4bWCR6p2YvpUBHr3Xx8vxcJyC9jREHB6rs8+jzd2C3yfSz\r\nri23eRi44Zcoc52y3UqVnRJ6pSx+GDrWYYcd4wUWVQ9yUVqDsLOXH1aVMB/b\r\npwIgSWxV5LIi+9ajdb6WfnaXe/Zul2Pmq9X/Vrl/V/1doWq0AEKtyx9igyd6\r\niXcuMl690Ljpg3V6PkRGfe0pv9Rn80QcMcbdhb2nvuj+Shzb3NSW3ODZojE7\r\nD/0Xjvyg7yGktpTOShjKTH8UVrqv/ddGL7uqmxnf+ircYoK28zQde4JmHXtL\r\n4QBtHELt6J1vd8ABAOd8uCCMmsiNjafCw8AvxA59n2e3wQ8ZIyIxWeSGxfuo\r\nfUxDxxxoUwNXrYMdQDxxlUg2vSkDGDbTYw84mdyG9J97MrR+xQ5k+jRnbRCJ\r\n3xqVFeajPA3tb8kvX596kCnq6RvjeQ+buhnRwmAqaBK4ZT7i7qJxjtp7vNIA\r\ny/XE76pB74ZoqwFGrzzwmlFHNbwrJ6pef5hAlXAjB6B9a9gw9KLtgcAiVhhi\r\n9k/1FSPusaacm49jBisq/tjPV3oHOtSBesKUtfwdwhz3xuUCDmI+YlnPdbBB\r\n+qBiFTB94tkZsLAM8/CzZdsPT2O8NPXweE4=\r\n=R6pM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.62_1679445431830_0.5934278410574223"},"_hasShrinkwrap":false},"0.9.1-unstable.66":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.66","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"61cb806b4909d593791158fee36260b12301d2bc","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.66","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-/EHB5HmoextFUOqRGqH0By8rLEpjXr/WpJXHGydIi9ubUuLh+DVUaN9JbMeN4cbAxM8nhrWHLH0BkoSVPkXIvw==","shasum":"07fc9e80104a2b614bb0bfa3f30d715388da2874","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.66.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAXM8MmoPr+XcUfdfN1IlnJMF0pPYu4tSQdj5IhYhmYfAiBodnKZilGAFGRRD3BcLEOxsp5Fevct1ytsII1+LIzjRw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGu8UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFzA/8CJkDSAdOWlcEVP46ZpS6Osp7/5mEVKlLGq5TXh3Txmo0v2bL\r\nzE3AzTOzpXn9qTCTTuBt360nWi25GE9E1RbNPL9yfKWVu9En5vh5zakXvx8s\r\nU50IHjy4RPuHJYAS7Xn+khfQ/dYZdHazchPnEH18PsIlSMWGyRN8IDIPKo4O\r\nnKCr8na3qk0OryhhsyKaBDJK20b5p3tNgIPSQ2sYIRdBEN9hvWK9EEfaSHdg\r\neL/1MpRxniuc7UrN6G4xE2rv/atKIUl5s7NhXnVSmb9z5sAzpBT8jl2R9zOv\r\n08AUGS9MD+A2efs4UCxuWQtGBz5+cxFJ5N4pitl4vsynIYlocT5ZfN0qtEz/\r\neVBFiICfl2r86eM+V+ACKCg1mtkYrlSkhMHSBju2Wg5eatUm4XoGjFeFopXb\r\nx7oDL1TK8cFUlZ1m2Li2W7REMeX2yEZl93EBWh5gSwm+pjF2QdZ3yNeaMjG3\r\nHzC56hf36heMwNi3Z7x5+c+yEoochUcQo9yJtc2ZlxOx82J5V5Cc/AKR/GjJ\r\nYuhv5DzJtc80cN1z89ePbNTKpYVkG64Xd8QLFJk7FvsIE692JAzp53/kerkf\r\n0S/j1DxtpGkwtV0wkxfD9gng9g8/eu5GDhQdgvMPor9wTFgglozy6oZTXr+f\r\nE/F0JwfwYidkVDha8RpqG2T1Oh7xTuVDYY8=\r\n=g4wJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.66_1679486739840_0.8685747348924979"},"_hasShrinkwrap":false},"0.9.1-unstable.67":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.67","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"789c5070d6a1d4d0176243219ce4f2642e8d74cb","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.67","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-z96W+hl/ArUUmXHjmbW2/llNitrQbFbxa1hURC+lEI/53Lke5eltnk6pqsYQj6HbQF9K5x9zayB64pu0/GfqIQ==","shasum":"dd2bdf3d9e7fc3f0ea7583e3f7f797ee430ba804","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.67.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdpG6O6594aZi69TxLWsMsdaeepEokGDiXqco+UGVctAiEAwoEe+kTqkyoN6LJdjsYJZ/45tJ0GqnglswAHnGCmpN4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHBfmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNiQ/9Gky7wyzC7GATKVNIZb24VyrMijsXDsoL5+yNI02E0PHaliFO\r\n48gz0xkDvxQ/Dm64W6YGrSdao9Nb9NXi/E33PA0HRbVicneeZ9s8RZnULxJL\r\n5jIcy62YCY6Pvi9iMbo/qqd6maFLNuId2+/Pv5nzwfgiHrDHGwTySHTHRaJJ\r\n8HRnrXTMcE8DYwVS2ljJRPz6vJaQkzUrhGcfHs6y3SDkvaXq6cHA8+Wnhsbt\r\nkL8Vkp1ZHzJHZYbg8N9moGN2FhmoJlG8at6xVMGJJqThgn8jdeSC1ePCNHp7\r\nP3xJicKH0NUAqhyuRhnV+q8OpP41lrpgPFNy5hb4SyP8QvaoTvFWA8Qg5wJ7\r\n1y5kVFj6Wjrt1FYiwouhC4xWZS5uVQV5tnXxPExIkESjD8z9o+2AAkW/tvo1\r\nvMy/5V6wLrXMHoTDjaIpfLOkdUFYm4Fkz5lPQ8debZpUvf2oVdiqjzCm1G9o\r\nFiixANBpSieMVzPUbX5DXIKiQeQzayrzpsZSC8uwoJYXB9zmhlvhszOIWf0Z\r\nubKaXhazR98XQQFjcPmf5iSkyGLHbuWiAtex8+XCdtfNxaA4LqRE8wU7KgR6\r\nfa+AzB8/GMbtduDtECeIGH5vWS/sITsPo6hIF9Rug6hstBALjbbQ42e18g3Y\r\neimxf6UhnqsxqsQ8ApjHnA10jjMYoPDPhX0=\r\n=lX9i\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.67_1679562726076_0.510862604305494"},"_hasShrinkwrap":false},"0.9.1-unstable.65":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.65","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"9f05c76e0ad11f5d2229b3ebb612e921a1dfd590","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.65","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-iNZ7hrk3BGrxeX0Jw+HYzfOxSgdulhkz8KTfzaj38iNzRD1rvtK8PClc/+ocE+H3tkFy1Hr12TbbcTsP0UX1ig==","shasum":"86395f4e1947597b1cba774ca6a8079d949197fe","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.65.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMUskklm4MhYb3H4Z71mxx0rSVBQL/2bVQNQDq4VZJuAIgQL94PosgmloBGEwMURZ2ZudvoXs6KTXl1tg/xogCsUA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHD6nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpb8Q/9Gv8A+D1PsbwV4XaeEkql9Z4eqBP6HC6gGGLYd/JlBS8ggtrQ\r\nQ9VMAJD6Q06HBn0xOy4VYpmrsLU9ezoKjClCj189yXlMk58hUWU8izULcS2W\r\ndyCXe+aB0WYCQfs7HNS37qkCWjwn45ryhTqPwjmyhnZ6/X8LoYFHPwazFS0c\r\nIiuZh920PTak/Z0DPxMsm5gBObUTgtAzoPKl4rI/6s7E9lpAZy0kY0jzLqg/\r\ncYptsvrTcI/rh9nZUOfUbkpvuRLEVx/4Nq/xU5GuYXXRUjRcN7i9884PWait\r\n2I6S5ixmqqU3sQwk1seoNcToZfcpH0ziUxXQ2BQ3a7K/CwdsPmUMPGSQ8rXh\r\nAYqJZt/ojwLSHcNUZV3L36Bahu5x26/SetvRIQZOryduhFCrWeQJmZFSe43z\r\nQRXPm7P9C7oQR5U1wtSaceHLB68S3wwPLAVkgVwH2BA3kv+dRI46uY+7WeqS\r\n+wETPnNivjkyfeVvGyiRw+9Eo645TVlFzhTmNu9jSrbdWWvYcp7Od/SHCSwn\r\nb7Y6YOvEcLz5FhnoG2bdAX42YwiTqD6GkbzjyZc/N7EjBLLoiMOHhzwXXacK\r\n3jsvKnBOFKFJ/ChzJThDSEynAJQHhWev+uxOGL6L1w9L+fpkcKAuLE1fO8o/\r\nGIMGsVkNcLa+W/4HTklrZLbwz0ytynnBX/M=\r\n=+KqE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.65_1679572647381_0.5055911897805399"},"_hasShrinkwrap":false},"0.9.1-unstable.68":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.68","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"536366823b09bdb6aae23ff5d4f87098eac68ea1","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.68","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-sOafUTXz2ItwALoPAS5MBpiA2Mi8qGMl0xiSUMtKtIwoAk7ovi3tmWRVzg647VQ2w3/tcYDKRV4gGnmucjt6jg==","shasum":"1c44471acf6bc18b9c30004887722fa1029c5075","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.68.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPOuca/Xj/2J+vr49l6zODI/cOIjFlArcA+kpmzbealAIhAKI79c0ubMXGbfxI5AcsZb3Ynvl3D1mjNKquFnYRhWmV"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHGybACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4mQ/9E7g23R8303BXrkIC9jdiAi+GuHZxoCaLKZyYg39xIHolEXe4\r\n7qc6KrTO5QZ9b5y18GHA5ekPAmNZ8XGzUrSJm8tHC4QWlwTP5NVmfxyjl3jc\r\nAE2t+CO1h3sSF09JwHt4nwdmzgPyoXRlBjVGpGhO5/i9oPKDQFLax1qFYbCa\r\nlJyRAS6eYWw2QBH2BkgUsomKgEGM8jKnQ8J6koWZ/k10FqWAaE77wFr5tiib\r\nON28yCZgl5erlWEc5Jp3/kH4q4TNIp9QaQbO7k/1lyji44ojy6FVj5KLIF/H\r\nXTI1QEWExuQKGBguqjSDt3ojSxAusV6AMDuC9uwbT5lGMKGH6ocrBZUNlGck\r\nK6IIczjLCEaa9Y4ILQXlJXBpKSCDJgCxKGiwU0WpMK20EaYQGU9D0tJ40mz8\r\nciTGrySPbFpoZNNDa8Me5bbZA05PDLMyQMn4dJgxLVV6Q/GrR8MR5IwH4U1j\r\nrSwYkrfudu501kAsRc/Run7/pcziiMD3Kos08Y+QUY/C9BuoHc3K84F7HBPD\r\nypZFjY+AVFJ8NMCKhOuOsaYmOLzHo3ZPnD+Cf7t+AP/OTFxPDTN/MHIsA1Hj\r\nmShrneuL4Xp15v4KkiDTnp7Iq2Z0gaLkOGygS9qxUI+iz/ijgRQ5XC8fho/1\r\nivpXCuAhhiNmrJZeNybh9CObfxGEdxUr/sw=\r\n=f/LF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.68_1679584411141_0.8880291384193519"},"_hasShrinkwrap":false},"0.9.1-next.69":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.69","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"d229f07072144fc691a1e2dff575a7113373495c","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.69","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-gm+AU+onDxR/rJMM0VXVx0Jf5dpkvoqfufwTf/kzPbcSkNNlbaG7fqXh4IfGl8V+k94w4tIDFLsnP1goYJKMvA==","shasum":"48e0ffc152ab07fd70a8a31efcad69a298cd135d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.69.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC44XzAm+2RSX1KvzpKs9QOwyxuBPdywRC6WxKQOz1NygIgCj8B87IOlLKPLOeoeE8EWk0ZipAqCQF+5t6dKKWBys0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHZCOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3TA/9EwDwRopHf5dYgqaNikFYaYbeBneEXIkk6ntxqgs4G8j6CvbG\r\nPE3qQiyGpGD5u2pevHWvao0m2X07SByortzjbanKQXKRtIrQBEN67dLXBMZS\r\n/9C/qgWtti8NpxeKjxW2U76ETQhtwhRJfQnR9QOEyBwpRlXR6sEGplUg8/Ts\r\nmX+Ttzu9zdryG0xMj5VFuYbYYSQTLhvF/taPaKJTxIEKDtpa8fFD5h2V3RtY\r\nthJ6zOVJRIrA05YlxEWIYf4K9iRMoepHST0rAZOsHNV8aMRMXWgswwn8Qq9w\r\nzFdHV0gnGSQzV+2aqTU36WBlnCOWLYIRacNkWyptV7Lw97hNHtYD8oAYvRIS\r\no9bxnPNkYFF7PiyCk4igw4ICmE0OxT/ncdrq5RySYgcgyBX1V15fTOeXohM/\r\nNlecZvpsn5LV8H5PCkrZ8NLiLy355hlFjJfgA1NjRi6ITyKp/U1lByxVTyWZ\r\n4LarT0G5UenXFLm4jsoulXKR8z38nd5FhB7jY75185US+fcMvvMzzNNASN3y\r\nFHshG1W1rSYUNxXugA3EU4/ERzI1yqLR2tqEBeBGJ4V0TsuzxbuGIooO+Byg\r\nGJtE82sEXi+v1rOJm/Z+ka5yKlHHpkBsSAFUJCZPso/TOp/AlR6/2w+5L1S8\r\nXc7Bn+qgE7M+5DhqRCHSExAnkOhUltvLbXw=\r\n=+AwK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.69_1679659150030_0.31397928707788725"},"_hasShrinkwrap":false},"0.9.1-unstable.85":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.85","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"2a31791523e2053c51f99bd5f3bf66304d8e7268","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.85","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-8vi2YNEGfH0ozm46SKmnvsyNYdUVPy4XSSJSNgvVIyrOupOLJkZTzqoHJzma22BGtcY2KUO5oWVrfcKMSLK6ug==","shasum":"2855e0a588d47f44f20beef956f7c32c0bb28979","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.85.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDImMYl8WhPEmRT6rVgG5LmCLapx68d0/0EiWwziOGC1AiBgfYJEDUAbXEbNBzGFtOl2RTrybAU58SFdXDUj2v0YzA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIXTDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHfw/8C4wYT568edS6u6rbcYvJYnW69mrokpMZWQC6Yt2g2lL8J+0Y\r\nXxoMuzsvI8vxQRttVSpTctsmhoTB8DkEJWoYpaiQGCimpepn7t6O/Y11fFZn\r\nB43swWLcdWX/F5Ehoi0PpEeIPYoLP/OV+Yj/qlyX1IMpa1o79YNQGkG3V0no\r\nzg8xKRS9tY4KyDfwAWSV0p0zBmhR3h7yg9Etccwq3vHBO/F/75hKPaF7iPgW\r\nS0BokqpnuLWkQw4uKEhh4eplE6uWPLVzwY/Y+2hcHeJustSC1swhjuXQSL/l\r\nXX1HtvYDFiOwjsdcrX3zigRPUtRlMb4eh5oiHyA671KGAvmTC7M+xtptKTWY\r\n2g7x6r1ivQb4mabYCeZUfM4p2mL8n1UAc1lF98Vzqz9ZS/+Ssm9Io8sWnm8n\r\nA8r3QqNZV+AKCT2dWu2lLR0NeuVy50/NwLvEKWcr2VNzqtlr5IQ2aOd3KZuX\r\n7Su+tWGSwzOqHDMAIgQUDQrj/eaXNn4bbZt9I6IHjZSz0WD6vnmawtEgM5x0\r\nOhiI06ZYblQhvILF70h4GXv8pFab1q0DygRoeACjgE5b5xAzjjol6vUQ1FuC\r\nleHkxNhtPErHf8LjZplpVNiBFupqmEmLoEHvQRJ6bs+3Vdi9O065UHl31I2a\r\nEiUmWQpoQYEoVBWxL6UEXsno4qYM1arfI4Y=\r\n=mWlU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.85_1679914179594_0.8701298029738025"},"_hasShrinkwrap":false},"0.9.1-unstable.87":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.87","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"fcacce8a15dc0d1555c57afa143c25116bda8224","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.87","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-0HYp/ciFtm313lKyhmvLYm4euLmay8dyxITfJ5ayOCUZfyye2S1yKKHVJ+BOqae2OlT5qp7Xj/gxKNNtN7FQDQ==","shasum":"810b838d8aedaab5a8262036ef96543101d0f8a0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.87.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcXocqEE6sHobEzcrLhDT0qpY0WbL1jgYcMN88GHrN4AiEAiZO+S5UQ52gCQY4qNZ3n2NzIuluc/Mn8wLFaud3Jf70="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIYd4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIZQ/+KwIA3Lcxc3NtyMpooyRvKgsOJNM/IQ5omQgaevoMrXYQmq1e\r\nmfEnDo6JVkYw5FrZ43LZCnZJp+NcfGxGnD5V7cowfr8acpko7IzC9YBC79YG\r\nmAVp9uTYzgekPHLltekEvvvEqq+ghnekv/z0VFRh5I5VGVZY6z232LmqxuhI\r\ndKgnDTkxadZE1xo+eyvSosd+tFK9v2HWqyYUebXpRn7+o7Nh3wJiUHsjC6FK\r\nSJbMosXAGy8ctBWWlI4C8DYMETXGHRybkpY5Zzis0jIg9zVB+sR534I3q1iY\r\npeRBz7KrlEpK87P+SB38oQjL6byunkheaSq3zWGqIkt+yli3Qx3bpYgvaIWP\r\nl/7kNMs6u8JkVodpObzGzIwpsK3jY7GfaTLHDBUvRfvSj1B0O7bnM8oReWUb\r\nErE21/eDqQNfI1zxrXUPLACgpoFO+mNI6jhx1AD5xe0fAITvpcoQXuZhAeoY\r\nNOlXTIOo5lyGsSmAjYzQNPu548ob1DwfaDQufSzIocM0CzTHUKjhi+OTJDTU\r\n9ySJ4b04vDC5waMF09P9bNqUg3/xFEVZ8jSUy2c+ojxMuPj7HubpWzTpjixG\r\nRg9DEAAiAr+zO5tZDm6TN5ax7v1SZX+nCmGY+VJi4KuSz2qAY7ZXL+KSoWuM\r\nZKP7ASWtQpX3FyKXMZwnoTyGrp+GsZGEl1s=\r\n=S4ag\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.87_1679918968145_0.13280682866545446"},"_hasShrinkwrap":false},"0.9.1-unstable.88":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.88","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"bc20d25d9b58688fa745e6e1020979ad936025c0","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.88","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-YPLWN3QJKZ1tYERex4baio9zgKl/CvAY5F2JAWkNzMhKiphRsRhXxaOpbCTl3IcvRJKLGSzlklgYdxbzSbW7ow==","shasum":"06e034feed104df328f59cf743bc00cb2af2388b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.88.tgz","fileCount":19,"unpackedSize":36947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9rvtffI1rfFCNQuL2fOUsr0ibuqunUiq2dlCq94n93wIhAOGAOXXVmdJA9F6UAr9MHwtDCTMqKgVYAVwxcxzieW7k"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIYgSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLPg//Zy7xZIHbQY2R0inKNxUwZh3Z6E2s3NPJrWmCiSM3hCeEK+Mw\r\nHWYK//hEq3BvGuhI4XYA55qEMxTt0KVJ8Ld6XEYs6FSJBgchOuhx65wzwfBO\r\no+iJbhcmeQHOsC55MLYewXKSeZ8vZjvi5BB5/yjUJaxPyterUGHOqX1aVuze\r\n6Gze96T9IrKF81DG92kKkGeGkeD2w7W016DDP/dHX4OtOe0haMy2IGsuSeZm\r\n+pQSR8FEgszePfmsUEPNXz2Zy6fa1k4H9ZbYtsZbHr7NnGqti5aL7hfWMQwS\r\nmyKg+6mqacvfFl2VzQj9fbKcirRlZtJdRDPIFGlcYWibPKNiv84ebi5Nrpgk\r\nDhGb/FxVdJNxW2Ojh9y9y55Ja/Z0M2JUL+jyxtW84oeclBKLc0aQQkexB9GD\r\nrMXEGbAMZQI/AQ+/op0azdkkCzjpESYjXYUQixzlBeZKsYmn/MUbWlKcZBcY\r\nZYPcMu9RlM18PkasOKEVSmfBkODOaN4S2L03DWXePIyL1WXzx2sxGUWHnDcP\r\nhJuW92pZH3vXcBsw9N+9o1PGZiJ51MSsl577ND+ZKlOdiP/m9ngcbpZln6fT\r\nxInhhuuViFhwcuvGNOv1jk0G6T0FsQkhT0ryxkP+DRjJPMMHc2efoK9vGxnz\r\nb2NeVtz7Y+0xWlOnDgS5o4zpFw1bM4pR0fM=\r\n=5Izq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.88_1679919122098_0.9607809668135501"},"_hasShrinkwrap":false},"0.9.1-next.89":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.89","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"163fa09b8b1dab08dd59e07ddd28d4d0802fda5d","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.89","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-lnnR9pg3ZVtLWn/9ZK6ifuiT3cVSocw4LcydBP1WfImd2ROA/ibqd7lWDt5ZP5ITruwQCa4WCLBN2PpxW/xMCQ==","shasum":"fdee8524ce4f35ff2213c09910ea3577feb070a8","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.89.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPOeZ6k5ufwSJ7Ckkv3ynJ00/x9eLxf8Gsk1HVhefh6wIhAMyR03d+ZwkLUknTpMW4vvUMK0llUPIjQSbnF7yikHFO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIgvXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpETQ//feVdZHB6a2ApxKArZomFk328DrlbxbKB8peOLwhIxX/FXNdk\r\nW5WdCcJBUV5K58/DKTM5ekR1LuAZs8+JPrHOJz5elhI0FNzm9sUk1KmLOexv\r\nO35bhzwr4Cut8kfrlB8leyouT+PSkolECewJxjPRoreLUFJevbuDI1QZnetY\r\nlSVKPSw/MbIh21P0/rDs7hI9C66lownKfWzW8Vw9zJqBw4bP48vGTo8eolRB\r\nB9z3kQmavgY3C+G4QRtx7DIUb6KFoqV9DyIaZpYqDcgOvjIRUaWorcvSdq/Q\r\npd8/VQu34eZCH0fdDTazUoxqCc7aHcU01VcJF7N0h4D/NudHWpEvWF+68dTN\r\nOihuNfYkE21GMC7caCfsGYAEQH08nvfNPnkIR90ZiJGEsfzvEak2InPvWDec\r\n8pdM8HzjTbaV9AabOBg6Zkbs/sEoZJDzqWFNLlmmQ6Cjthmcms1ZfKZ4WGw/\r\nMhIC+wD+PV1NV9I4kIL+Oz6erJyTR2yUe2iv8bUhAmMxFcH2keoDSXspXjli\r\n3fqUmd4gJ/qUuAxMU9PVYgsvDCDKAfdMuC/pYwVShG1Y+1a4y1v7tNgoSVti\r\nuS1RBsVWvXjK/+L9j2fApVP4w5C09YtXMARYT7Ay8nP7WEZ4kH8fyngPRcAp\r\n5ZBIH3kjnFy1deVYhHG2wHHNV4DoCJ1b5HM=\r\n=BHx/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.89_1679952855693_0.3542235414420283"},"_hasShrinkwrap":false},"0.9.1-next.96":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.96","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"2aadaaac883e78141d67ebb8e8a9dc3574a0da78","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.96","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-Ovo1tZTu2mJTr4t+tnRSU8oIak/PvUnWtGGR//niWC4GZuS3gHf6GlTkfc8Q7fg6ti40X86kdR/fxuoA8tsp/g==","shasum":"cf2cc143dfd6984a494f5588124de7fbb5437ea3","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.96.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdlOtxckZTF84GHBz2GVC7VDT+eKS2lebjpqXa28Tw5AIhAJ3iiPpqBnPZLhTUWJEyGRmQl4k46lHdWm/Iv5oH9eT/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkI/+zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpx/Q//aeBq+jeHD+3kvW3gCjgOt/RFNTsMXfLb2s1qzaaJ8vnSxwic\r\n2Wiz7XiCb8XG9UVTTBiS5FbExD6afVGkKGE6mS3vmlRRmiv+kzMgQqVaYYeq\r\n6CHSiHC/3h6Q3IJ9h26wZyzkg/Wjf3sGNYhCKFO08vP+a3s0q/iEIhjwxFOL\r\nzBuZEuh48ExC8mpXnqZGlarbIDBSO7kQklwAo+KzuCrL1D4ESvW9q1DSPAaT\r\nqi+CLAgEZcbK+8+GpZZPa/DNftCggY3O92Lww2X8JUWbQj0SSzYOQHSH+fKY\r\nSVOCXZ9Y3iHYQ9QZ5fnLr+w38unCPk4E0r7ObbCjEzhnj5QBG1msQodjIRcp\r\nALltmXbjKLQ1puLyplbhc5wdySELG5oZwqcngpeGH4lqrpH6JbnPHl4qISTU\r\nGIR5l7rqbVJ/HcslSZ7B8K6EWhS92zpQ2Jp8geUi3bL3f+GaXuHFQqYXN+mH\r\na6IRYSN1D3FUuEfSjaLJ9IxB5PAvcaefHFI0+JJRzjMlVBG7O4PAF788OdE8\r\nCh4ao3PNJJBFxk/sNYyCnXwdojyWpaCcqrhALqLdm/53fGSvhYAYy1SAkCKv\r\n633ib+k7PK6JAtWw4DkVduV+7u9Q1qOqEDoJYqUFnQFvNUr5MFyloUSWIJco\r\njzAgbYzRN8jISgLnCl3V1cI/BEqSveLlcWg=\r\n=bY7M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.96_1680080818988_0.5663870871908796"},"_hasShrinkwrap":false},"0.9.1-next.97":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.97","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"c75ff124dd85cd4e19e536324fb5a8c8dae4910e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.97","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-hARWo/G+U8YI/p9a38ZAiGFgH7BKarMvjJnLgacGvXeedQLmDctkIskzoWWbZFENXKcGoIx3GCtjpJEQYnb7Og==","shasum":"7e3b61c661f84802da95e69c1d00d2010f1cab5a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.97.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICBR1wmjuEEWZbOxVkuiLdgBNzWBVxYkjRC1BPesML8mAiEA+Za2SEfSHd82VmdFns2aW3s55Fy/sFwpdlkiabJDWGM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJJAuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpE1RAAn9ARvTKJkt7V4k/oV/9/NVBe9DV1UDfjHi64cI1s85o8Tapo\r\nlQMOSuOT7juGDygzyxx3s353hL7KLFGbllMcYKKtwd9fhROwo/K9qy4QdHxh\r\n6XCNE9eRc5ysd9DQJe1IWKesQjsLiAgzVEHxq6yD2LzfTLT+DF7qRe5orj1c\r\neT2Sle1iM0/fDOFjTL3c8Iyfnr7WmSvWgw49OA3mey/ldp8ZNOeUAmEwc0ii\r\nH0bRsIBz5Y4O8IwTV3tx9w/+RyHr60G5Cx3EGaPNkqXJnv+IyMXr+Eo4ABVC\r\nspqH7HirdRNC6HiEQvZj84jUqsUUQJ15vQGlnM/gLh6gZMAEGGLkH3xy8FZG\r\n6bIPz6OEUqGdk+pDy+/maWWqcmtC5q0Ot94rphHgX7EITWxQsbjTubEJjMST\r\nUaV6IxXiD7gouCPQJTt/WI1bMUOOn6HYFuS10ZLR+vSi0wohwqG9sgoatQP5\r\n8t8Damqd2KNCw4FZ94YO3f9GubmHuPRyPKyDGuyZQz/yJMsc46Ygf6W7bI98\r\nCKNHn3YDQejukVncoQrv8WqlmsXGxLz82zFLD7jMlzzttuafR0T1ZmwaYv05\r\n/oPFqGWEKt8XOlKNkC8cD7y2eb20xDdyRgvk1w48EEYK5Wd4PLiaKFZv6/cB\r\n0g9oEp5OWx3rQgEbj1Bmvh5JAkflz4kla1s=\r\n=T4V7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.97_1680117806340_0.3844014025223641"},"_hasShrinkwrap":false},"0.9.1-next.99":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.99","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"7c555dccaa9c361efc4516f7cd5e8583ca07a146","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.99","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-GmwPkhDNvrP6zXnquf9VxpD5Fm52W+1Vci8n6F89ZRXYtiqIujVzJjD5nZTwAI/iRYByTyuAM+R6lFJBbwkb/A==","shasum":"71deb1f18182e3a8a9e267edebb2683a3a1bfae4","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.99.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDOWt5wyOtmkrI7llgPyOlA5jxcg6zStykIAIXMsalUnAiEAxbXYILR+ONvQqdXYZs0teTnXuHWjCAIjSgIY1Y7Kjk0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJJDUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoAjA/+IWhRGttB0fSPhVAi4P/AGWE7x1KnRh71SVTafzNGR3UnSbL/\r\njDhYWTtlrXJu1YI3qJWaUpjNJXwd4/pno+0dQD1j+2jFnghe97Y/tpKGO91W\r\nIKgAEywNDPe/+r9HRMbsGrpxeWi+hB2r/pLZHsEkOlhLSWy3D9SChraIzX76\r\nUfvoDIUsnGs2fZ5BSMISyWWwEL4GjsRuxkQEWw/BAiq0+YTKLE8SHHnneFWy\r\n5mAKtYyT9eSmyptBxEc3k3Tm372I6egYrlCHgXgt2QycjUfHWTsdaxFOtXPL\r\n1IxwwfStFQWSOhH8ayxjepAYqfCA9xWoIRd+hsrdkwvcYKLUSkvlEUT1WLBJ\r\nmbW1alltxW6LRjmTFbAZUpyzYbuiZUzDbEaJ4I//RlgQUJ/xZ1xJ3C5jRqA8\r\nRKIBhdr9TiqiezxeYjf98tlFuBWfY9z37mhK9V9D17TseaughtHvCWuMF6I4\r\nEOryTeXSHxg9hash2Jp8YFXRG2bZoYlNlZOQXGPy0wTAz3zHTTtgTykNi1cV\r\nCgY2kRv9LeU6Igp00HnSVmjd8vnCT8Wx6mVpI9wqhXp/bHv/KxpLOrNoMnqW\r\n9KHFy893Pq3FE43Y8tJXhFPcUKtORL/CYaEzY+dpwlwXpXRsZuYHeTU+B0iA\r\nYIRzM5xDHQXM40cWvoxc84EWd8R1D4WgB88=\r\n=3WeX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.99_1680117972734_0.25130002013057573"},"_hasShrinkwrap":false},"0.9.1-next.100":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.100","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"d77ff412cb9da4de9e5932c82e1eae142a083172","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.100","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-lCHPhdvIFbXijmBeEtzx+SQ1bNfa50obV0PF2J/soA+IN75hxcDWy6b2IP2DYFdIU9GHiXbOAksCVppKdz1aUw==","shasum":"c359e794f181d39880b1c8f102f50cc2ff09e25e","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.100.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFeEbBFd2gAsl4cpXILIuOxd9gB9u6E1X5Hor4i7VktxAiAu/r+JSvjDYCZCr4vj3eyl8o2l0JT+fbTPhzoCZDrJ4w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJJMBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo27A/+NmDRod8+vebzDdh9zfmrY6qD1+wZT4vw9nkXFEeTUGzXue1Z\r\nNpiQsK+88ztvs6PfqtLqKna2ekvrjfOge8Lh1p1QvCvwUzm2affJNBOQFuhc\r\nCtFLwqXtwZFDvn46g/rVzL46j68K4ZTS1tN/2CUfdt96Dv8qKiwL8pGf1hfe\r\n2Gg3YmanNHXeJHs1w0wHeCTi2k35zSJ+ydSH3SCRhPvXHBz5FRLlY6Ybpxgi\r\n+q4bh9XrHn+DupCtYlU3pWVak4qM4ppFZHYDqSxb7qVkjIcZgMITyDBWAyf9\r\nIDNeQ33889hQ7HPom/CreQxnxXpWVMd1e+IgFozsjK5RqKUw89Dot7/oaLCI\r\n43FPUH01duQaqPXmI/z7kPA4BEbYoEr5of18Uz+qIz11YNYjh6lGKhZw6ZbL\r\nK229iuWmpdPiZLStBZZHa9ntvnX/6IjRAjwMnu8+1Q+q2WlstSgRkM7djZhN\r\nr+WWepI8a2jzFZtZJs38gb03UuaVsvC14LB5KDshpG0Wlu7aZaVSdv+h0+MQ\r\nwUUkyVOlY/MGV2n+UPGl/QCDjcxvTb4UB2yH3w/+oBxco98GBPiEjqEsAYFq\r\n16R9z7Lyg7IHEZB/e7LeVuQPuB+gemAXTfGMguosgHDShqyKGoNkxNSA34br\r\n3F1uwCWP84IfqmSIflh5dh8Z/+PghS8MrNk=\r\n=LHfR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.100_1680118529194_0.7048517370194987"},"_hasShrinkwrap":false},"0.9.1-unstable.109":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.109","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"db2213ec08f5d44a9e39c619ef0b5456155f2e0c","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.109","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-PD4rgvsSF2F3XEY7t90O0X0wKMGMfjmRZDksQGSU6kkqkD2f4s0nN+lVDujo/prf88kTflmVKG9JBdMo60EaQQ==","shasum":"02fdb8c4f9fa29c01f1d8bd0e511ca386196afa2","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.109.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwJxmdUEste3gN1x4oBK6veLHu+Y1zjEwIdDQOJUmfcgIhAMqRwAU4GNtrwxrnqyx5OaFh+54ZJub9eaW/4BnOlFm0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkN0HqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphNxAAoEQAcwECcUi7Fuoz+On6YFguHW+7gJazW1JxElUUpi0kBQLU\r\nY/hcgD4v+emkmbMebPPA0Ct/MVclizWfEm9azwgeDbufaNwU+sqXIcvTAZOi\r\nXwPRji8c/T7z8aacN1pFax3L/fbW8ibD3dcrkuNLoGdgnifK7OykIqKFsWM8\r\nf5SE0002/GDRxmQrq1gWoJLXZ12EtuFsqqhNNbtd0rSloapkh2VXtg9WLzLr\r\nIlHAA5Vw0NTOsN+Do9FIY/CZPsTwxwcf1V2UxQX0/KpzRHFtNOln6ckwYqLA\r\n9vBwl/KeAYWmD7M3K6pKI+8JMxDcZy27yOkjvol1IquVWB1danx2HjGJBJ20\r\nNmlmFlYNOxV/t3+g5hzfxV9vknh57AwtC/MwudwzJCtv3Xm/OUTUzvmeBZu6\r\nGy5XNjPcm/7ajahw3TNHCqQV124YHHsaZmNGCpSCeo8+pGSEJpmQiSluGSIQ\r\nPs+N877aOG9QUIFXHYffV/rBTumWDLPp9HKHYiGPdAIy4OSfEcwmvkqSL+u7\r\noTy6YJkNthtwCs4glj1PogaiNtXocYXT+tXgXdRaKCrRgvZd6BmuVarKeDRK\r\ndfyuuBaOmQRRXFVTUbSNGyO0SBCDGst8X2w0IG5X0Mvrp47njSiDHa90XnwG\r\n628Ip411AnI6snWTkAnSNw5bOMtigwkG7DM=\r\n=8b2u\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.109_1681342954573_0.5175515530136758"},"_hasShrinkwrap":false},"0.9.1-unstable.101":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.101","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"fafa982bef719986aacce61ac59d2cba1685744c","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.101","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-yxxZDgEAXipB0crFAKXum2DuFhFo9udLe9VgwYHZAFXQN2tha19Dps3K9nJfVBM69khTDtKHWnPQOvIb/r1mdg==","shasum":"957afe62cab14bb0763f2b8248185b4559126cfe","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.101.tgz","fileCount":19,"unpackedSize":36948,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeL9Ry/hSXlxGSIaNoWadvI0FEb5XNMzyY1UDGetMkaAIgTNmf5EnKMhUgWWgBMyS2qbyhWTLf+qPdKxXQ6Db7aTQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkN89wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrW+w//XN+SzAdrjUhW6iB7X1UcIcMnIm8+G4GK0UyfEvYYeYoLH04X\r\noL8Fz7TfAAb6aHwvsyOKzeg0IQsDT3I0mLDytU/Oi6Ydd4897F1jvJR5aIZa\r\nCFmSaEXaFbEbddjt14hwYozjPvXU3SDY9PDPxmj4pvzkCny84SCF0SEqbosb\r\n4DJ6Mh9YW2CZ0QU6YaJN6noOS7DB0wIlajFLOjSYMttiS01BEypZDynM0ZMj\r\nrq7EDYROu2IS7q2XE2jsj4NmS9vqML5xsFhe8swWfquNncM74rrikfjGFmed\r\noo0J8Uc7vJGHk2aq3YLhkifhMfzvTk5TLBkPXdOMpQvhPnydJde05m7fD7W1\r\nZYmniWhZASbBR8SgCQ4/NZIb1BOS1u+ETZ7cinf5noVd0GPgL+PIXM7EM6mx\r\nSPSb1oyJN19+StCR8neZFFpUK+8+qUg5WtaQpRTRcYp5ZvNcT+SS4DCrmFAd\r\nSlKYmTtTo2FGaKydMQ5b3sBA+XBjxLJLKYuc07XInuNOZE/Zx8D1DGPmaC/2\r\ni0vqUDCWrrZrGAgw7s5dlN4r7uORJaM2SUoL9eBuYgrXxqUZHWkMZ2DK6UyA\r\nkd6XSL6An3Qpn62cEdJrKm41k4VTnLCj9fkUlia90E/pIKGHDbspHuESLO59\r\nClqROAn8u015jbFNOxUBBsHYsJsuMh4IXvc=\r\n=s/74\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.101_1681379184511_0.003823957605167516"},"_hasShrinkwrap":false},"0.9.1-unstable.112":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.112","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"b48f38d804083f4278f146e286ef05bb557baa7a","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.112","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-S3PiWXt6dovSl1WVu5DVyNCpPk069RjOYExvU8BwuBK+KIq/8fdQ4iAiGIeLsEoOeSQ/G7ksImLSynrW8VLCeA==","shasum":"f033599870d8a710d5526ae4ffd4dbe36f31e00a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.112.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJ0XDxXgUwWdrvFDcZPk24rKEUBJdfTTRMx9OWOR99rAIgGyG75mW1NFL+89qqIUluLQjmwDbq899DqQL4XLCX7FE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOB48ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqL3RAAmdDb2Ig1SQmyFlWHA07Uv2efWORW/Km5BT20zEkMXZOA7y1M\r\nX7orvI8H2svetT6lT9ccS0OArkXybWW1Xj13zetv1U2peri2YAU26FsvCJQY\r\n8fYWLz1UWRsv3/3gLqjV3T+vZ7OesSYaP/p/SadAIQU4y2z49+F63uKeJHM3\r\nb3sp2Cm9Jgk+QDHWRfVbJpkKIuQrN644kDRMrvXbxSuohfW6b9Xb6nFAAuUW\r\n7k/9ILMIFbFteCESJXwZ8EaiQ0M+NrDvM7gsN12Qr7aVkZp0/Y/Cu/AQFB1i\r\ndK/SyeaSjjj0D6RsbC0+JtaoeWZTJXKwDCfoN9Lz5RxpVlPHQXFJ9ABg2BAW\r\nEGQ+KYDqN/RapP52L0DmF5aC4flREHbispZyBxXQQ9T22mEkTKXHewoD1tvu\r\novj8wlxieyX2ZIyM4J+K22d79lEvo/YV/siZwxUm6/mUq1n3x8k1iaLC+C/D\r\nlMXOc7S7uzQ8Z/PExjMch6tNu0Sa4mAPXdbgrEmGVR2SwNB+pDWSQtrUPmke\r\nv4Tpd2JTEhNZeLFLZNyuHiGC8oDDh0K5oCB8lHR/Lxy5snoOCPqOscTJBpZC\r\nHbkNft6/DRVLmBkPnDbNMZ0AypX3WoZZBuazmvOfws+QeCLGU2Ioy6GWEXHU\r\nXKOa3f+a0a94lFQOaZxMATCe0XzOoajgv9w=\r\n=GaFq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.112_1681399356573_0.6525569107494633"},"_hasShrinkwrap":false},"0.9.1-unstable.113":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.113","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"1a534cd5eab80a1bd697856e4a240fd2f30fa86b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.113","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-BVWRgHLBq3TXK8GSEMjSiB2TYNrL5EkSr4VyAXqfGYeIXQjlTgskFOLq/gwVkbYeHa39gbCa/UHPdzgVLD93kw==","shasum":"9d09917c6f24bd70bdeabf76de4ec1ac62523802","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.113.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAtHAA2DdygoOYIrh+Lt+6AAR1n78xhJXwSuH4KHb/OgIgbiS9PY7icxfkU6teAkUNTuQdPgWQiJN1RskNsDtwUa8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOCJgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqT4w/7B8rJVP75LtGlVCWVydpuX4SwFz+ueD783/2g65YlzfMnOeiB\r\nxlVxz99bze4ksZ3g7HtKL0/l+uZu/bL4tQ+WHhVlwrf6D+Sw9NHAT11kEysQ\r\nftR1NkKcj+To4KVZiV0xwOfdRE2GFYKB7ORbu3jsRxwvuTs3EZxF/LRUZdQz\r\nPE/1xftKtheZ3n0su3anxa5PsJGoZjsnELbNPvrq8Z2j9SMcjkbi87KefPcX\r\nktXlvjmthUtes+dMG8L46ULeAcIMLoo6boJa07IMEU0KHClp2dbr3AEoFOTj\r\nbpWgadDRvVWRpZICDw66JI/lhiqYLTZCnthcjJtyZTFUWIeMgkT8FNS7ALa2\r\nEQZo1SiFI9tf9jcFRe6TP5hUHbJZb4ZfNU0DbcF2odJ7ljLOCl3PKJAoeU1X\r\nm0Unb3JxS7gE7Sl1sVWeULw2Yw/9BlQXkgcjxRTTwGJHro6Fz5Pjgqx5udiD\r\nMTv3lnE6pe/20ZVC4gbuGdCd4tsmLhKJIkhR6wQgjvjDrgqKye3p/CRUvhC0\r\ntv76DsLHBZrfHnSORvTRRYTs8gfh48rC2sEN6Fh+h0KcHDulF19myQIlyTDc\r\njSL4vvzoquRZNsf9ebUFYUg1LLPkljiYhMe4t8H6vFQ1/jsi7ILqZ3F6nmlx\r\n9VNhH8fKmtP+P2sD2+SKA3JlsKcfzoHmKxk=\r\n=VUYm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.113_1681400416752_0.47826235010365004"},"_hasShrinkwrap":false},"0.9.1-unstable.114":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.114","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"0fd92c10ff980915bd64d10fee08dfae8b0e179d","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.114","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-Xs+wJdm0eU0NeYDVU7nEq5oVsN4ei/MC4vqQGyAd0eqftnL4xiWwHVVx01fy/oVPyCymkYI1F/l/M1mLRZigbw==","shasum":"da0876e7f6f641f4c01577ba0458013978479496","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.114.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvn2TFcRnUfNp2ku8z611xmKGEjibEg8whu9IpIBDK1AIhAOuBLi6RtD4gD6YBsSx1U3EetP8nhq6d9FrTiK0mW6uD"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOGk8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPaxAAnZeJFHbEQAgewMceOqFajOFnAgYis1Jx8WP3PVZU2sxdFv6W\r\niawLVOOVFSZGsH7Rndo+exRkfkYeuyyFDdChKU4IPzu5vizUkNupXMkiqbgV\r\nnKtrvPt5cp7CJybWVleaBw/t17XrnOFn6hMo+TXIOlygdqkzgCJma7mJZAoe\r\nSe9Pl8Ggr+khQBnlnaok8mw9weHL7QZ3HhuDn3Ija5Sa7QpcNhbuebMC+ksr\r\nZSh0oYVAs0/QpsMdOoWyjvfWfDfYWBWVydjlP+45Odnm3aOgzoSkU7qQLGTc\r\nbSaRk7VIJSyxior80VQ2PS6yHkzWTPY5A6MJY4Ek5NzIplJ55JIU3ci6ojoB\r\ntqdvqRl6WkfLHUa4qY55A/wtIGx4lv9GpQAm+UtwRBttdSo1QBDfJssppJ4u\r\n+qc738e4xpdSHg8BM0BlQPAlcnhT8so/GrjJL3ISmvgGc4ZPvGPLi5q27hEv\r\n4ScHHKvsMPnWF/q0oSCU4TaFw1a9+svpWPZSQB/vgiS3SLAC65epiyuE2FHl\r\nNhUMwDoUH/sOCkdUcE+3a1KzdU8ko0F4hTncnqZ7sfZYsorHVWf36hHPQmq5\r\nxvaeXr3uWQ0GvMLFOaAmwI25tOQcLLLKprufIuuAs1QYW22Shu9dd4jUsu3V\r\n+v2dzDjQhnqqGh+6hjmwR6/y9J6ZlhfuetI=\r\n=Acsf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.114_1681418556269_0.8099218471944258"},"_hasShrinkwrap":false},"0.9.1-unstable.116":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.116","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"31f99e9f3d13f979adaafc8fe46a6bd6adf8615f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.116","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-ZUGZmZUfZCN6fm8gE6NdxHD8u/qJ3PJZlqaaLrHWZYoVFA9s87g1MfJBKLxd4qOXkP0TnIIVMGoHSOKzW3I9QQ==","shasum":"26432ce0c9aa544ab8f07c147f45954fc261bc13","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.116.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcNu3iF1r4ln22ssPT9evRZ7MbiTvwR50HrYX4+axT7AIgM1M2fR6hWOrWeTadVZsOkl401PTNurqTRqNZyjI5Wlc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOIrpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooOw//RHTsb9HNRMOa/ikUKcDAJWmJ9+7Qchr2OKkBQxbc623epHJl\r\n6g4hSP5rBFhq+f4e0svge45r+LqyCNPTnY31IHh5bpLHLYJWMsyZ+DQVWoZN\r\neX9roryDtnU0RfhazhIln92n/m9CaGyxpE652Ztyz+X0woUt327fN3InXMQe\r\nzMaInY9KdWVOGB9nEdfNBLp/8BfRm/BDKTFcXvkzfrxFkGk1ZlgCrVhnbMPn\r\n//Vun9NDQr8ZyaQA6NFeNf1wgmSIbSKq5yKYtqWTrCeHKAVLACAFdCc/wMDS\r\n/B1Npn9oOyVqeExSSxSb+JFMeUHRcX/kdqrdXQ9yVWvNnv0tlfenLzFWHffo\r\nLO8aGGz2S3iZZq5ZI3Qbimpw3X1Aj3xIRE8c1nCKk2KncVVncv7Ye4BSu8tB\r\nD3j5cP8Q33ndrJb3Q0hhcIycv9RlHjGkftEoOWhi7aOvEql9v1xAbhoj0+FO\r\n+7PwsiwQtUbz3rtXU1rC+0xp+2S/+lPVe5GEmRjQjQN61vKxn1wPq+r25phV\r\nt/aaiZbHHNSzlRxxtL5RZpPZs/4eh5M2WAK0BR6qfcN5GNpEaQBeUXHz8jJf\r\nCOubMGEqIsw0S1LgrOvub2WSvSiA49qFcHDQKq18WuPMcuYGjP9JL2mj5iUX\r\nbIDjnAVATVh22xMKEneCRBlpOiCEt01YXF4=\r\n=DqoQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.116_1681427177110_0.47550005798623296"},"_hasShrinkwrap":false},"0.9.1-unstable.117":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.117","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"6425e4f9912043dcc6a104722e184a91d47e8048","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.117","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-QqdXFuHt8riV2RgBs1w8VgXwCx/Zr8sdqxEmSbHjyjFwsRscOAARg/agcp7dYZ7oTN0EgPcpeK3uWjQQffOhNQ==","shasum":"7dde00e86dc38d9867b7fe2aa1eafca447586d8b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.117.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEeNJlBhqT0wmenlCyHAYRHwLFmOW1LFPnj7PfcEBYGAiBuUg4A8OF/kl7GhVKRnDjXEfgCvNoOJaFXPpBsALXJxA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOJ63ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrrtA/+KqIHdlzTgCtoJ9+UftsmINooYZY+sY57JRg/jF9TGzQqdX5h\r\nE4mv2tg9sJbNnSLmHmlT8YfqlOtpTXAFRps2lpSUduCMC3b1jjchOBF9oFui\r\naUOmFfrMH5lmh19fF4asUMjUx/sOlsPGe0gn0spJXGyHLpBjIiDmmdLfQ2U5\r\neJNytxrOTK9UvJn5MHG+H2tWf+WGa5+8JCW9UjrkdUTBZLNKMgcaYqHotP3l\r\n7IzUAVugLVn0lz0MLtBAyJMqYCgYqczZ/nJjPav9NCN5rtutRjLQ71BhOKgM\r\nWKVxVBtT6n7nwIIPeL+jHKD1YiRM8Ph7jqkaTIr06We0FaXxl+1SlN44DN9X\r\n7VIiSybgHb9VTbWQiDA40CnnWbNr88DSwJpr4Z7mxKqungLzJTnj3ffiiw1c\r\np64t2vDUNxMEfzyAbaIzTzDJTfj7KpBB7T6vPWrz/AoERbVLB4/z3VdhyRB/\r\nNGvBHlxzevjOQOkRXd6mdQ6SY4ctkBjO93YNCt/ODuvrakKk9e6u7AOv7iNx\r\n0eBVAvmR8e00Rf/T1kansbOvoC02AW+jYD56AsTMEXV9MwhIzxKNAjQUA1OC\r\nQWVxpm93lSZ/AUb4trvEi2v291IZIHgkRorUmLjmVp960loQDWYAB4MYd/9G\r\nxq1TNiGV0MiLloDtb39UTT9oTHNn0Tkq5Xs=\r\n=FYv1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.117_1681432247669_0.06422799276697333"},"_hasShrinkwrap":false},"0.9.1-unstable.102":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.102","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"21fe47b972573ef0d1bd27ba112bde191716895d","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.102","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-hgQcWu/mKoB04GuoTbc/UyUKNzIb/DbxfcXgjkgufkf0mraafDWK3EDvoxXQHHjWsOxwVTHjHqTfT/jo7AbBjQ==","shasum":"7d29643f83a449b7ea6c1b03521feb334f81f205","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.102.tgz","fileCount":19,"unpackedSize":36948,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF7sEwV5GA2CEHwY/mvpg0okbzBVgPoM984W1yygaNuPAiEAjg/QuO9CDRh3BBX/LyxyAGZOQSAeMr0E6R72cz9S9xg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOVH6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+GQ/+Nfyhpb/Zb53wTq9eZX2x8iLOUKsgKT7ZnpfwMgJ4kcp6h7UM\r\ns9qYfMXESf/em8U9782KWK+wPKcKH70+AcNe4K9pRQeCWhdv5re7CExnfPzC\r\n4hsFpD2kKxHVuNEeTx2lKNxCBkQ+rKPf5RetPnSIrqibxHvygl8Tpy8eqOFj\r\nCJ/llQvtRKi4eXjtvwc6SL3GViLXefVHWh4xe3GV0JcM5jZiHvbGPZH+5JtJ\r\nHgLyufH9QmdyvZS5Ck84e6yas3I7Kgjf5WHtK2z1T1dxriiO4Ynb0x76c9b3\r\nWLEoAShA0N+/wvC7bNpbfWEq8FcuV5JmQabhXOgV2/UU3aKKpjtNHxyq/aO2\r\nbuHYZvsZNbz6MjQUYSlJRfQQ8xNXovcmHEEwgIKwT98JmiE4whDdEEW5ndnn\r\nPzlUCJDxOjRvC8zB5/tzLTRQ/SAIIVxqVurgj1qQuqHrd1Lrzwo4vyXGmKLA\r\nk1uQCrGPzhuBesHdER+EzbrCWv69IRrh9CGQnAg75JUJlQUlnqCh36LtSYrg\r\nV9KCNyzu4GE/n9gw/vvddgbzmgdrlY7JOQ38hSach2hRaWaeSniH81Q9AhFp\r\nO/DrRqNhi4yCWGpjyiCXPAW3c7MvEQVjjqII/Jn77cuzlY3JSzvEb//N9rMk\r\nT4r9cEvn9fQcGBGrL4yFcYUvtttvepqFl/E=\r\n=Iudz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.102_1681478138609_0.4122367641153184"},"_hasShrinkwrap":false},"0.9.1-unstable.130":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.130","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"975801e1e6c8270fd470acd7e2ce67ae4971a16f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.130","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-VZveFVhbNMrBYgkuXV+/Uxivs9Q+TBetBT69Fh2anQYkl3HZX7GRELGXm5XBEzf3PYayBcTSEor9S5B/WncdjQ==","shasum":"99928a39df51bc11d48e1638beacbcd35318e729","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.130.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBH7foevOH8YqEa6fNXWXUyDiZsEotFXKuuPw7Y27XXuAiEAuUy7Ylz2B4rYLErqURdtDPBXSnXZXVE3usOW79OTI7Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOWTmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8dxAAkOdoJcUBdGscvwa6jX8X0yL1KEZcjaNs2/VgZ6WGgcaYLsub\r\nI5dlPEKvLrVuzIhLxgFktQh6LglpeBrol1paQkL+gAp1hL1V0c2wqWCALi4+\r\n33gt/LeM0GxzawIxF+fagnTHt0LmFk/5z+UhnB6Ktq0EeLUIiRdebuc1+xIK\r\nwvQy7GbFr6j8xhczQE2X/SuRoGvwiw47X+D8e+is6xo3JWLpLFS+lzCefxuA\r\nnNijbtsyPC9ObVA2i5+3TG+SrSen4VI3rtIPGEMOob9souQzlUu5ODtxukBy\r\nO8jUDWCELad4mc58WoeuR59dRLu9mb5EDALYIpy0SXn8uyRrBljSIev9e0+U\r\n/nnUQnSAxsJhnWcFoEFqsC/bwHomQJfBBf7lWzqsv3a/lFohRQfymh1RQNva\r\n84Dq5/2im5xKSVpgbf/ufR9g4frJIkzx2kiUiEflLdAEqfLS9VDaef+Rl9uV\r\nizS96xheATqEBpcxmLHIr7apmIz1A0cJyWwhccp8vVhVhZ1TCiKYUV1HHNd1\r\nsspN0ERJqi9vf8X/pWtAlzV0Ljbb1Fs/3SEYy0d3H9mpVTFUKBfXBYJZPbqH\r\nZnWei/rSfpi81VO6NRQ/wafNaM56VevjE+bT3ar+cfI0PvegwnMITHKr6Qzk\r\npPGAcWoVFn7jFS68BXrxvtfzgiEwMZjDy1o=\r\n=PdTq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.130_1681482981736_0.9389379925963897"},"_hasShrinkwrap":false},"0.9.1-next.103":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.103","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"61d5c12378a1c8214bb321a2c87050e61739f242","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.103","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-hEosKTo//bQ8pMlqeCUPpQgDbvpj+iajmheZqeIFX8LlKE/Vh2aup/R6i2RWvcmfO6Op0mCsv0xmVHenbnwT5w==","shasum":"6c62feb3698a28e3ed5d8f504f5c4b635b19cf61","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.103.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSZKyJXgq9OzbFE7UiLoSq0zQlo2v1qCY+aMVo20TpGAiA36De7y50gSCgsYCpOLPa2sGKX/pCUVIuTxJ6cJLVPrQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPQ1LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5Nw//ZZPFZwDKm6WS3AnKwSmuFOwR9XNeHqjuHbJe8BOizHBsUugw\r\nUYlwrnDo3MmeEqhi21ZPpPXYsx0zkJo1tBl3wZa3ktHDoQYErs+xb4sEJH55\r\nI9tnW3MHmQrdAnMxluO/jva9Grp2rEUvA5SLb0sPaRYd2ThFfEruqdHXneOT\r\nWbFru9gG3J4zozEQRKmc/nn9aPEDnB86bXf3pqLyyeejMGwwa5P43CnDPz7G\r\nH12mKvFIJBBEJkal0KRhZMxTW12UeVZTzr/h7bQh+tC/LPc3Ci7hAHZZv/c8\r\n90zzUxB8gR0+vP09gX0UucTCjS69Aj96RNiIoTEyxpR1AY0+gQO7/IOBIwBi\r\nPHE/j4dUaQmgbjx6G8QcYbXAHpDVRLANBTWRUghAy0GfcNINXw8XzUfGvXw6\r\nAzmhhueGIMGdholOq7ZXP1Q2AE1FiUVYhJzoYvTPvcrHnoFov8p0Db8UKitM\r\nAapddCp9PiOUSQPXJFlA6gNNXhxL4gP0jnLl/JYQRB2mS9GOUDhCfK5d9YPK\r\nuo4Uy1O4vw2mxdww0uxbFeRl09F6ryvOkj3bPLpRqYT1/Drki7v11d8VBx94\r\n0msAMxqWSW+wa78Hrbw6u5zOCNUBp46xJwDxZbjWUm7GBdUHIUBKrHim4tYl\r\nbSU3n9XjqsU1Cw1BSnikDxu7xKxqXDMNqb8=\r\n=3CAd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.103_1681722699708_0.9378305450053144"},"_hasShrinkwrap":false},"0.9.1-unstable.136":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.136","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"e9f30f1acf0fba4df29924d5a3ab9c1bf7e83340","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.136","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-9RyqVXRbjOxyktszD3cn6yagCCwU1mnCkBaJ3vDA8oYmqfbQS0eLxDifWe2b/+HBaTHd+EqjS+6snGjRCE+nlg==","shasum":"98b8dea596e31e2f51475ce77f3ccd1aa2909d27","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.136.tgz","fileCount":19,"unpackedSize":36817,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFVd44ER39h41cMrdOs2lz3MlIzAz1LFK6Dcq7/2+KJgIhAPEk5Ve6vC9p4xRpnPA3Lid9EeJ37wfuHWG3pN1t9Aim"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPVdQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNhg/8DVfYTyM9EWrnj3z1muBpe4HHbyTI7BmIeHJnHmN9RkmlwTAU\r\nncpURqdPTCPZTLT++KreQbD4GFx7FcH6pmRlUkMqdi5HRW3Shu3A3XqOJpTB\r\nUs3MvsBVxpMKMA1yzWADE05m1uYgBttPw78ytrTVkB8DYvcOt7D7OabZjRO1\r\n94kkkYUueq5T4v6a06Nz/Dpy2VKJM5STNfbpbmjzN0VReK5Ee1k9QsAWC3Hp\r\nmHG0OLDwnZLfbuCFu5yzq/zS2yC/sQqtIAXaOM7HR53vWVSflRfzueTweeNE\r\n8ZoZMn/8WVe7vUHOB2bV62RtxlUXbxzgDB58Jl4EyCFpzGmG0arKYJm1VFDG\r\n/vkpndaun51gG5spYQmsKHmgZjfJSuKj8a+Tv5AEnRK4+tYVr9qKRTlORQhx\r\n2sCCVgo27YWKSzRKGkt4HegFJArVXBhn79M0xz9P6JiyfFT8MxD8+DDbRxn0\r\n7jhiUjeaWR/wJpNKOzN3NphvrepZlLfpHt0D78jtgQxqFSGrqqHHTpvipSZQ\r\n6KyZuGWbZhOi6YNG0VIZ0JpUoBB02gEoZfAWYDGv1tIzOrTUUJ5m0FG0fADl\r\nBapGyNWZBfjSCPjeMEaMBrUwU8blS4y3vygnoabHusMEg1/4lTtJ0yGa066Z\r\nfAldXXo/Ne1UNiW8VihjS67/26fRMp5niYU=\r\n=urxq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.136_1681741648658_0.674885412681957"},"_hasShrinkwrap":false},"0.9.1-unstable.104":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-unstable.104","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"728c8e10be5ca3f5491c3f31870bbf57975c597b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-unstable.104","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-Mfzsz+Bt1EAiXsoVgIbCS2ktTeaMoLq+WIV6HCSeSRcHY6ezMd4sne0Sn1ON8uTHRi3O02sWV3sT2Y3f1aRl/w==","shasum":"872c1f7157da9988588e760a66b3b72094439885","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-unstable.104.tgz","fileCount":19,"unpackedSize":36948,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXLJLNWGX7iTIUCwwvvtc6f4R11dkg59LftQJebXgp+AiAXEcZTiAP5M/Su7SZEPBLDtKRcq8TyRFK3/Vu4kphw6w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRpztACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4ng//Ylv+NpqYmMuR9tGZdHmi6eLCpaVpT06rhprqO7oLsLTKvJZj\r\nuUbQiDJEwiPdiUoZc/Re9OI21lwwrQY8goFwie218nnL9MNKrDKomctRnbxE\r\nem2EWSyke5adoJgQHLblcj/331DBz2+SL2tJfx/0dXGvJCf8mJQIaSzgbjV6\r\ns6oWLEOIRHXY9q9CabL9UVWpWFPnMCEcWy9FixxNzvbCCGrG4ZscwVPFaxJJ\r\nKPyshJrpwR2tAkYhgw8YxO3jvDqpGgJt2cwcTeUIVop+LMdebJ5MBakriJii\r\nbb0EULtyH3NZPKFIHZr+YsbQXlRTAUWv/JyEecwXS7BwgD7y2VJm6X1BQqNt\r\nomqA9aFy6pVUblmYb+sqTh0lBdkigdlJohQGWHmi1ozPsb/4H7+TXoXNBaIv\r\ncvFZbGLahe595kDRLQMpfM8WRNjqsMrg+ljVkuBtxEpXz7po/rC9Ty9qPyyy\r\nAwRI1VQ7BAbT3GkhNrhgpDf8dI2O5rxpJiRfYDIt0GL8ceVnVf82iz4jOsEB\r\nbp1Vfho1dAweJ2jFGMY7OfuZ8oEe9Ze8JPqCJhcq3vGkTdp/b94FFF5aiaDS\r\nkoAojX7AsK7U0p6H8xSCIWWPnJKA1Udt6wE7ZE0QyiofB6akqBSH2suBgT27\r\nmEoEbWzSq24vy8PCBeI62Yqbxl8Tg0RLilw=\r\n=pM7E\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-unstable.104_1682349293360_0.6449361766660007"},"_hasShrinkwrap":false},"0.9.1-next.105":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.105","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"cbcf678b279648f358aa9f9e56745b5745161e1f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.105","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-uHipeFiRT7YmZnAm3aHYwsJyKESbk4IHxNy1DfDKqV5RxAcv2D6/xMx4ooOqwY4ZQCDvS5ohUh1Nod/PHQeAng==","shasum":"1040a400e245fa1c5c8536a621b5c79068aed385","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.105.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU6vnx+kjmmby0tixiULbqSpdnnFjZJ0djicv1Ao/EewIhAK8tifDbpiUYMFxQqi0XwRVeRHGyarnx1lyywIiiDmPm"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRumRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozZQ/+KGSY3XpGGfjTbkAGnawVQR24cMWjtp24ds1fvRTaiJ3Wtedd\r\na+XdfWbGjYv+iBbU+qlBTiFHzRVVgav8ELN7nZURfW01OHIKBGZw8c+KEETG\r\njdR0sW3uJ0Lk5wdC/bQHH0CYENmXDTC2dPZwVhAcTFJhBABH7xRjhCYnLp8w\r\nYfjUyOqu/ZU5r996mB563olnWie24xd3XEo1SDTnSGyRNq+G9T7kYdteXzRO\r\nHqNVvjH0AE6/T1yvs8lPE418kCZrMNau4HKINqGXjQtQ8ZvFucqujEz1vXLC\r\nW2QmUX+HinC+/7hKJLKZNwBNWLHwq37xczMKCSJGeoLRuJs5fWJ4v6Kk1TzJ\r\nXT3gc6jQEKhoEvNUxOSTnHYuXmhRtFM4622R4UU2OxGyzkrNo5kRn5KvD6KE\r\nWeZ46yUHNB8sHHoOTmc1oZQflDVP8yTKlbQi0XKxdbss3cLyTKUQkxOJx7EK\r\nTAdtFUBB817e0u7smBu8PZ6Hb4khgM7F0GZqiTeAZlNHP79Ts1lTBpt1U3D8\r\nUjV4OpYZAUHvunFUQpoaF0ntlUaPhzXRg/aR4Bfn0l8CQPnp+CfyfNRHJ8hf\r\nDjC7LBoSXdK6Diu+qstrjqYXGH56S+DJhykmzKtbZ964Ft37X14BNbvM4t/M\r\n/Fsr6T6FE8ALz8hsWRYuD0GB2Xz4qTDeZPk=\r\n=rTE3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.105_1682368913299_0.7858595742061292"},"_hasShrinkwrap":false},"0.9.1-next.107":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.107","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"41161a405425e30dff40e39d6123368c58c3f655","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.107","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-nVtFNX8Qfj/k81D7TUF3xGnsUwtJUm5PBONAhIiFn0kNtfx5d5Gm29wAkV6vrkiGHxqRvpyVJvfkN8c1m5gSeg==","shasum":"1f33524e181668f4b108990d27cab647479b18d6","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.107.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVYcnjQLm/sw0+V9WbD34kbmOcfBE7s0Xekwo3BUv9NAiATsRVBeJmx3TbPYMdN1Lox5l5W4JEfdlEg/VJukpFU1A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkR6RwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJ8BAAh+k8AFQVRj6sRwOIh44wsPgnJFjmQetEzfTr0Q4xMjBGubVF\r\n6jPYTuU1t+jiFkzxB2W8c3eJ3MrtcBmkLvYZPXLnwk56NDb54Yre+ZG8itn4\r\n/BS86KDA1yjRJqWVYpRvg9UQVAmEMLjOB6HLUY7cvnX04q81c7NS85txFz4E\r\ngMdkbfDMn2TLbZH2TeZVkLUCsxiiPiFI9rY5Igu0i9z7bSOF0oINVwWVzzv9\r\n3gcQwugq3Iygeh95C3h7EOmsR0TTsAoa99sHwM5dqkephdwOwtJw0Y8Z+UI7\r\nBgHnCaycm7QzyZVNcfjH4p+u3UKS7/JkXOzl1UWT7+QOcuoGlq2Ht2KKhm4d\r\nk6Z/VZRDvGmYczVqaxXK1w/wUoLUodWPIyg13M0567MlOwIydlCgKe610UZw\r\nKLm5IXzWLdHxu0ZgWTZNAxI+nyrR5Wv4hSG2+5BnSZzCXRpVovDzkeRJWSwa\r\nF68QdqBlQ31+ZBYcKFoqbL1jb2W6PyTS5CFZSh0oi2B+M0a6STNa13rQcwnK\r\nmJyo8Om6463Pf2vnXlAIJOcTkzqR62UgftGUye4R2etzIHaNMQvH+oEbcrEN\r\nubhE/94/y16eQNwuluqF5psowB72kMtkON3Kb7YXTPH+/lmbcFFy7ujjWjXx\r\ng1a9whEy8DHOI7NXsHnz8LYfWiqIYv5t3TU=\r\n=kr1d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.107_1682416752670_0.03282649866069898"},"_hasShrinkwrap":false},"0.9.1-next.109":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.109","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"bd82063fc3f98bde5d171420266993642c530cfd","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.109","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-FrAdmZZ/reodCp+AjRIRVnoKFxPDiRg734NJ4qaMPuXGB/kkv2o34vHiViByy0d72zb3VXF7U1QM/3vUHLZyqw==","shasum":"dbbd8a6a08dc5ad5fba2816b5544226fbf4d7130","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.109.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgzAobLfdGWk9YJloDjXf22GVvMs43fszxkJP5cWKnLgIhALxG+c/tKb2sWNSSHgtnEq3eR+0sW1e/eCxOKtVQV/nZ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSQwLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxEA//aukGZJNGjxhz3rSphXzP9BAtSaDIR/gh6HKMrWQbUfRVwOW1\r\n3whpfymHD39MIBxanlLW8u6rKGcPUcJY5afsEG6CP7ZtDEznUPwSIojtMIv5\r\nHK4GshdxKoAIhyhSD8BoajAMXHouG5G1D1ojlfW9fLOOK054GKUL9w/F2A7V\r\nT0wwfF3n+RRxm9hw8+9wlqnXss/oKZZJ+KxrsYjS/Myk2XsFwwWxtgCbscTb\r\nsTC2VimLyoOt+QvTNJbEqagRWwKQnoMs45L16xpdB02VuaHZ5YdLphsh9JWy\r\nKwXGrFdwFutDQOsDePYrTPI7u4zMDBC9MzmXQrMRWGkVBJimIpP7hF2yxgaW\r\nNoGJSY3AVV8dxvJHATS7zOkfXlhmZrH6MuU6fwMd7IeCQCjKNz5Fthy11fG0\r\n0j9THW1bwOjN/sUBDJWJCzXWKqfUSqxGiLmcl2Fxg4cnCCLLKWd3gq1RnvJR\r\nC73t2Nmj7BWMO1uMDJWBL3RZa99S7ePFmAuqHSL9nHCnCSS3qOZmaMMmcb+S\r\nVKSa7M74LxAILC0bfHpC/RSe+mM+2W12KFdhxPTmo3gMPht10ABmrHisZhF7\r\nllv3KUE1OzdQIHf1AQKNbprBxbOwzqziONUMKuXQbkJ6NxV6MjeRtTpnHizl\r\nlX+EYeszvmVItvcLNqCLClpCtzNCq7FpqoM=\r\n=MPi1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.109_1682508811346_0.7729035684077283"},"_hasShrinkwrap":false},"0.9.1-next.113":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.113","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"cc806d4e2d4da20a32fabcc806a560155e123487","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.113","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-k+LviYdCmGx9tsTx5VaHabcos4TiKb5qQlJb+R+jO0/YKgan06fWsChdOWkaA+/wy1qlzHvUEVlsk5Fz5E3/nA==","shasum":"42f55345533c8716c67ead32b73fc314b41d7177","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.113.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFWjhqSUbQbvmjhxF4YP5LFNoFoQIZ5rFSD4aJp+XyDwAiEAzNzBeYa4+Clav/TsKMNGbfNLWVbuccaVsDb2cZPiawQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSTuqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTIg//dZAdUqOumqdohOihtI0ItLdRarUbN0qcEadbdMxJd6A7+U9D\r\n+vKvhtdLZv2I8+/iT2wbiepEd0IxHA7FXChnVKRHQWGV8nNaKnQmz5ybzQzR\r\nxNKXhCuDPKgmIF0/Av6mmBqhQx1p2Xvat0v9UZI1iLroDTAnXmPiGc6gZX4Z\r\nCYjYnmsNm4sn95w9CKR04fbPR3J947D42zttaT3Dut8nxQEruAgHlGfrsk1L\r\nksygEP725I/tqJ6F6NKzY2x1rsDLV10EcW4Y8Ospa6K8A+FGmLewc2aiy01a\r\nyV3EN1QTX2//tts5lO2Quwk3ZVyoppd2Yuc32rMtIYa+8x1m34MRy6pZ+NcK\r\nx7FKTx14tyF6f5+Ejz2jQuFbaJ3QdMg7vWQXGYvFtv+hYncCUWF8uI16BO7q\r\nWD03trb/21+uShgK2NaukxbNxUvPy+OLrSVrUleRSwRyIpPih61pVcolhre+\r\nsmuJMKBuoInnqa/Qm7ET2iKjz9K+Uj2T0KZwvgzx0nlx1O/QpaxjtM0KsPFQ\r\n15+k5RfrdSRgOSLuQQzZ78a4sFgYh93Jz26IToQE+SxbQGiyLlvK+jDd3kwd\r\nJ9sUhltTQPaJt5yQ+SliCAcrem0PkP67hTNj7cdt/Dke9B4GodPrJJgtD2YN\r\n0XTqeRGlrH3N/9Uf9WNqP/1b8fjE+1hlzj8=\r\n=rFku\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.113_1682521002610_0.7169242881561311"},"_hasShrinkwrap":false},"0.9.1-next.114":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.114","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"08ec06ee2c9b883f7f497e960068458a51113b55","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.114","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-PQTBZtYjzssttTD6Mmbhf6lTUV8wlU+e2IFu5mJf1xmbOFprnHjaK/fhRh1JznJrgrI0vbrw8C6+YRbwAsxy4w==","shasum":"94f6a42d939dfbc56d4adbe1d9dc3860f6d24df2","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.114.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB7GrxwtE0G3wY3l/oTdhqmu02R4+0A6Tx1Eah5WGuZhAiEApTrv4BtZbf4pX0kz/QxX/8BASq8879LdXpC8s2mYwlA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSsoLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcQQ//XTU8wHQ7UQT2hq1U32OvCnPLuLE+/k7A+q81L0s+ZZL5HKgO\r\nJaVNQ+Mrfe2u1lQsfVQ3PbJPffpKqZeBkXemzi49HK91KUEeZPJ3MgiNrJXd\r\njI4Jxmegs7z5FxYULxdhdl+QwFJD1zCNeZyCi6OOgSDpjUpr3gNh8zjy3Ite\r\ny7NOMPBsStFhUoFNX80F9lVXK1reDbdDzHf3VjHo4NpcbiVTJwpJzjC5/Fov\r\noy+U0jdW3DMx1W+jKONXp64rZqjBwJ9ale4a5pqkRKqKDlJZ+eL0n8JaFxRS\r\nMBqp6OAnq0zjlZsoovoAHO9GHDPdjKpJTvg2v5wr2fGeG0R3gemRlNP0GOTE\r\n30FVCo6pq0HUjTIwykwWbF7dZZEEus7Vy8YZeWxjxR/2zZ06aqLTrqEokGGj\r\neiXerFKq3XeJTe51eBCVH+UcXHKprG1Tv5ShGsjFHil4Py2u0wJFe4CHcf01\r\n6RgXjSG1xjaAHP3hFy90zm6ST1Gfa6gZUhlhqfQ/VRc8YSQt4vWbI/5G1/ZO\r\nDB2PgEjmw/1tp3OsqJlboSnQTjLPON69cIciI9Qx9IAm0E0Jl8aW3XpGTTNh\r\nBaXPnXWYdl1y4yICGJowrUXFXBgHbozGL0g+2llmmF9lFmZjmAo4MNH8kBYU\r\n/Zvv79tnULp3zriYo2rNQnC41WTRLnJox8Q=\r\n=6ptz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.114_1682622987213_0.2060013638783924"},"_hasShrinkwrap":false},"0.9.1-next.116":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.116","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"01593a4452e25fed16ec878e17d70c280f28e4ca","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.116","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-o5qLrpa3TO6MEUmd4fli/TyEETnkSVwTYG+9S3SxpBzJxkkPPnqDf0lWqO/iy9O/Sf0KO6nHfm/kG7SzgsW2/A==","shasum":"9adb453b3d4eec749c7131015d9403127624f647","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.116.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4hO6Cb9PhZWLMUAbMCBNy30VkdN6HdioQVO6zfx90LwIgQKMA1XdLnrPOhQAa1rb44IKZWeIST7kn+zUFHviX7B4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSvLoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQ0A//fZTX2iBi0rc5tlyXrFobT8mKE4BkU6s9FPMcjoyN9M+3ZDXx\r\nqEldcLzK1gDdVaQtrVdrAF/QEBVv8q3eJw8/Ps9qXHssQMBMbqZRyn5LUJVT\r\nWX75il/eve0OFq9vwNveoPRRuhMsj1lEkJKFUte6PSgRk+qh/fj4jmqQ3Wbb\r\n1t0KGoYGEKWYWAUaoc2kS0SU72aJQD13R+OY66IRZmm8kqLSr0Yk2Y2L9GSO\r\n251uUnNsmnPPkWsWAWNbpnTEGpfZC21t2n/HUk85mUtCvYAAElXjbXyx/pTC\r\nRkVQHc1nu2MJWLFRV38xaaW0rTV4ma5p9OLh+ae50xyav5mD7LcilSTGDO8u\r\nR427hwGeQl0bDzXdQcu8cxVCzRGaKChdUr8xDm6TKByK7l2Hkf14S6McK7aL\r\n5dgXWZr/Cd1DDliCHE9C9IevI6G8zgc6BCSUVZVaVxL3uYqJ0JIYneqiOPj+\r\nUDpoK1tT+RjIhASxk4fRhVTZnOF8ak+qvF0e+6cNIMEO+CmYZ+xZSpfjPF2R\r\nz6VLMZXVMcZ5oPhy1qiBlkAKoSdlKy/q4h5lL1YWKuqs+Yk3/axyc0oQ4z94\r\nq2DVOFX6G3bERcb6hXUfQLnR4Zq18HLN+9Zu8cs9TYI575b6qEq0CTMLcINK\r\nkPRo79tOaj0pfT8tAXj6Asr/Yo70fUF6QzE=\r\n=Y0Ct\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.116_1682633447957_0.5053146610275789"},"_hasShrinkwrap":false},"0.9.1-next.118":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.118","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"612b082d754eb90402160f423d939f3a6f9ec181","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.118","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-OJz77NlQkIipwsI597E19W5JKpXFK2RYIjgmEy8AiwIwyA/Wct4ppxgoazMuEE8o4hNDTwgrhYv9GdGvWI1/Og==","shasum":"071bf971b176c99b2c67989d9e77999341d8f64d","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.118.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEr/gmnNXnOgz7OgdjMu5XVe3lgGAwgTzDxJp+ucqmhAiAlGzlrk5t8dce+wTvSaSDzONWy1Y7l8xQOXIKck51YCg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTYHhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpljw//V+r29pCvaHzkQzVdHOtyQZJcveyprM8GT0YTTBun3H+wcABh\r\n3vztv/8154F7+YJynwQ3vdNovbvkOdD8MERYNzJAxOqnhVUD7uxl7jE9tg+m\r\n0jrs+tsk4DyVPNQDIJvFISRH2XhlbIW0Hv4QWMUPJXiOHTGdzgeOuUz3beis\r\nRVzwpUQkVNCg8JWK4LWc7+q9es5qft0mBMvKzE+HchGyhEsTsqT9bMrU1uNE\r\nXAvEXv3zqu+C/I8+uctNpqu42Lwrl9sazB1yblyg/Veznt7mR6ZeMtCS4dDm\r\nVa8SngN4uwp4uA1n7JNkMoLHR+CvevUWIBn901BovCi5xNUm6WleAysxtl6X\r\nrbpUTJSxugB6cbOPc4c5wXCIE8sx+4bbbNF2yBasEhkaSy46hGw48FU059yx\r\nu+kzrP2uAQWBY6TM2e2Dnx5FMCoJxuO7i/wI9QrvRfMXGQkJ5GaqeZoG8Kjv\r\nsgRW1ZPjJwFppBRWipn3cx0vuy4LqICCT3eGnYfGjzPzhKhPhFykU9Ihgqs2\r\nKw2G5Un5fwjWI3UbRXH4clltaRYrAG/l2eteAhW3WwYmoOUafhIYRc40TdNz\r\nt+k1XZM4Barm470+ecPMBopcoQAGBPr0hyzYaSz4eFuNZLUEkuXFOurfKmGH\r\nmIl8226cO8f6lOxuH4oEVUgDmMiR7pVDdVQ=\r\n=eREi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.118_1682801120959_0.3434718498875642"},"_hasShrinkwrap":false},"0.9.1-next.120":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.120","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"198701dd4319c030608df1fc33ce25d62870dc43","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.120","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-ADf9UxfMYwBnAbHJPQDG6ruUn7KgfTv/QxeAK5exNWX3x9Ltl48SpiGBnZ0IMXNwMgFqLysu3hAcevzYr6N4BQ==","shasum":"486dc3c6340c1c56b1e51600ebc4acbc6c64f00b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.120.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXitZHchNTmtuw1KZa/Nbn31l+2fsEk69rJhMeXBJY8gIhALO2xfV43kFPPpI6RuMiNSp09o1nN9H3/aShUrGqTl3a"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTkiKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhHA/+OF1e8KAIt5/vTwc4tAg1aoJbZT7cFs8fhdK3AWB/jsEbD0ju\r\nijEEFI69B27uF9ITmO9y1T+baS/aRUqGR4ySULgv8gNVgbursZDijr3Nt4cS\r\nAuMnb935S4/ptz3G1c7u6HhIDam9H4bIgv1ukQGyEFuahZVfAkHBB17/tQfZ\r\n5Mvy7At3yMBHybVVPfr974zQF5Ly+wioAVJZY5d1cp7Qozqc+SZFhoV55RQj\r\nqrx70bwXb51yvunnv6AMfsTGsygtplnEBFv0n/cidAcH900mwW8/eo1tHE5i\r\nLcOGfXPdG+/9QNk7RRvRm+v/fNYOhllgwW2NJWrQ6qlUCbeVjGRtWbbASUpC\r\nbgN+JVjjQ901WtAn9dUpVhdaC4Y+PMInIJ7LxFVNNntC9BvFsO+E+ioYJMVt\r\nBC1GnJCFaoyB/ISNstPt4bcaTpceBLlE3dE+cVPBSG1PZrxF8JKrjHvvMkMI\r\nvLgILDzV5jClFGLK+bxv5BPrSwlCs7GjSfRCQ//2ht50vLQAHLaEiKm9RGsl\r\nK+2HGx22OyaGpe5zyKkkMtXUZmM4biYJ32nq7Smy5jAP630dhOs3otFAEn/i\r\nMpENgieJRcVX1gr02xbCinW0apDUtCaw/MhCnm0xtOMKVNs9FS8Hi82jtcZB\r\n+EQcmUlMoT2htdSEI21B/xuvDhcwi70f0L8=\r\n=j4lV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.120_1682851977842_0.34212085124166935"},"_hasShrinkwrap":false},"0.9.1-next.121":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.9.1-next.121","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"60cb6d63087feae065bd4cb5d43fb6665725d694","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.9.1-next.121","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-aXZN1HCa/fhx+bVQpAuGF3OLrhAlUuUdty3KYvq09f47s4Xp8ZU/qHyy7e0B+Ytfrma8hDM51AyBO8DtZYG4+Q==","shasum":"75615b1e1ead01bbb7fd9ba89d76c529132c7cfa","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.9.1-next.121.tgz","fileCount":19,"unpackedSize":36944,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6L5Em25Fv1666hwgSLtG1Xweav+4mGDmqmwCCXhpPDwIhAKuf7hCn2Q22lLyjM3bK8MrqoeD0AYAK4mQgn66uPNKZ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTtIFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUARAAhqTzEaNvlz3ccr/bBXlFLHs7vR17Zgg1Ezn9rqUjGe4360hD\r\nLwdVCSo3W7lLmgBZt2HyenEYnG9NZ3AHAUMzXg4WSloTElTyZlXM9i7BP0w5\r\njgkAPCFJuwHs7bPlBpnr8IBbcyfiDwyhdIrK5GFcj/kGa9qperQuZEcO5FUr\r\n394Ru+i5/t24e4GQrsVrWtzCGvP9zl+oaspu+vZUVB3S+zDLQvUuZnNcACyF\r\neyIMO7NehJcvCZa3KdCZ/4rbOTwyrOXqcFf3ZaQdBfrEydcLxoPXaziIEJMJ\r\nIbKUfSQwruRHlSJt3y3K4DwUyMAe6E0ltFG6rsNjiO8BJRxQKrYRHPYzNqs+\r\nZR+kKviFL/OolRKvXOHDkv4DzdsnAzWmP3/77yEeC8U+NKOV+BEnkZXk/nE+\r\nfppIMoUboTNuXKOx1JvG6Br1Gswupho6e+JDkwzRFMgWCg8yKRvSzj5lQjUf\r\nhXD8mqCmJtMawa5kET3MirvBEdg9CUnTYrN20370xpuFexDHOCb5z9EhK143\r\nxJFBS+BV7/2GLiUwhVXDPnGa5Vm5sgSqcUFPH8uWkbkN0othBEH0IDABL3EL\r\nwXwPx7EHXy+F2Dcl2+8VenSkbAmFU51w+WK1kS3cMLwHWD+XVAGReMGtchfs\r\niNUQTWoThhxJxK9l8P3Zu+WeuiPn6W5M51Q=\r\n=iYwR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.9.1-next.121_1682887173404_0.21023774905608938"},"_hasShrinkwrap":false},"0.10.0":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.0","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"134e3ba941e7f9574c2e11c6d5088ab5e8581955","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.0","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-eyVUQNaHvMMW08e3XshaCcnLG0Woz+XZ6Iy0fG8hSuqulAGPGenY72pCueYOvBQ2roxXdzfBKuHuxdvZWKTq7Q==","shasum":"6c51bfb5714743a5469aa206f76d09b3a0433a43","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.0.tgz","fileCount":19,"unpackedSize":36928,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAkGSDAb6++dF8Da4zljfbLgWCGW/yEu6Re2jml5JdVvAiEA+MdBiq20+OSNMKZxjW+VrsghYqXngWMEZxwtQinYWpU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTudlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoElQ//fmwvK72X9EyCLvjMW5NDpeG5KoArf9wUFUzrTNjlSHymUn7w\r\nCiXazkNeWGiEDV7Bwpc4qtzAvPzlnnoaLl/IsyD/jbW0T94CBY16pBIy6owt\r\neN0hHOSEUWXl70UGu+CMh4aXfkZmRIl6ZI8OYvrK9pL9AoI2N230RwlBcGVQ\r\nbYWhzeJ5CDtJ+G+cX9K/T6R1XyrK8sP/iRKCnffaXq8Kvp798Ur5IT+pnwe7\r\n7hU5HJwRijAKox6Yprp3o7F5ZZ9bmOO20z3SMSY5ANfXbMFtkndpSy3cqauA\r\neYszrkuEk0TSVVe1f0dDKLeC0I4YgItKoE7fjua/6DZkhQvH4b3Ur746PKBl\r\ntcY6WymVDN2phdFnh/ob5FZxoGnjlQ7+dUioLCNG9uRNsp4hzBwU4h5kFM1w\r\ngJ+hUGt69zGwd/TDozIeFCPBFXyud291Qanqr1KFpb9nTa92UxXzHWnEVBCc\r\nE33/vAb4E66Ui1Fh9udjrGLKSx/oHQmJkcoFVgSCNN/KeVHRa25rob3sBbl6\r\nev6wypjMs8id0ayHIGy8hcVg+pa9av2ucfflQi27DVtCGnA3klDQsW6hPyzO\r\nmuHTv0aOlChEKlf7Y7Zo/+CE39Aa7ePKXoIji0oaDVjJyG8duFaRaIfIZAOD\r\nX2NEzymxQY90ZnHdzXaEuFj2+/P39eQyJ2s=\r\n=ENbi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.0_1682892645111_0.5812232509234383"},"_hasShrinkwrap":false},"0.10.1-next.2":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-next.2","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"488111f22ed6a844f0db4738994647e02e0cf23d","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-next.2","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-mXyi6Z3X9n3m23dU6dUohfSQ56VX6KFrcwE1dmy3ZPo/rySWCIYXhQ7lWuWh8OMeMNaeb2giSD7Ibi+s+yODpw==","shasum":"c83ddb3bc8bd6bba487050ede9c0e9ba2b710507","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-next.2.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgNutFy4HQYbsmJ5gYKTduc9yW65QBkTvWQ8736cNVfAIhAI/uPPRgwqxbv2AwpKnDmWc1sWBWyelxNmoEn+en2zh+"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTxY0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmeA//bC4xqwDPnTRZh+1fXZ268aEjmP//qBzvT2j8rtqI2vWClYdm\r\n2WkcGRUirovl1bsnhH72Y58x1sbK7FIoZXL1t2aY83J2qLG7MacXwGzwDBFo\r\ntunJPuuQmZuR03ANCBF1tx7E/ZGKEtAF1yejrteznnMu89qNLlPwZor9QUXa\r\n6drIryeYvuETXcKEageBeE09qsV6sWtBUSh1RhI7Bp8+uXHTQtA/kuETZ14f\r\nUowiVaEbNUhejLULjhTx5Umo4jWtNvK/XrdCl2TGY+bqeJA+TwgLDLeRRKO9\r\nQjY70ue+1dQXSA4RrC+jnwfS7Z+AV8fMFr0hFJo3Z3BQo3fe/T7pI2EQgcM8\r\ngbzB9dnMjTPitaXVe1c/27wRdH27YJspFYfoBiSE/ing/dwCsKiGhKq5rM33\r\nm2/IRActrUahydgRNOQ8R7vAl2GgS6Giib16ZVWwtJb3vTG7yPSRd045CHuF\r\nGjp7MFTbBlQVd7qfb6jTnKO2dcczFpAlUA4ynTnGNI3Re5nlKCkvy3YzCt33\r\nLsxScj9gRY53WdSMzcUL92pDb1rrmi4Teh2fRdFU0PihqcbDabGOnbPqd2Tn\r\nc4wNaU9Uaos0vrNUCbK0VyBO+zdMrupKSJgn1oWpTyy/kKzKeSQifKZ02OGR\r\nUCHrVOdLW1FudznT5vuyNBTeJCOFQ9bmrRg=\r\n=ohKN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-next.2_1682904628508_0.8667289029210967"},"_hasShrinkwrap":false},"0.10.1-unstable.49":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-unstable.49","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"79bca14b2561576176b0ed87bffb87f7f16a2c97","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-unstable.49","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-vqPaDZ47Zv/CmEtI9E+Ts65+rL7AYmdY6N/zSaJJKbF/PCtRwkPtFUalg+n1spSjiE1FD9OrHdk72c59EjUlvw==","shasum":"402274b9b78c6c37c78355f9bd35dafd1f2a9259","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-unstable.49.tgz","fileCount":19,"unpackedSize":36817,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUjqmjiO44ewribhf/PoB91Ly9icdpn/ZKCoaVF0dw7gIhANl9Ka9kdvEGMDJYzGmm9W6Qo+vkvJUwMIoRMgH6k47h"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUmslACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqtQ//aBVWlWsXwCRfHWWx26zk+F6PRi0Zn8fgHyL7ABOcfbUKR7a3\r\naWIBSMn++RCEIyN5V+9zJQ/ik62TVscI7m7E/HKhq2eTTxMr1qgwQF1myn5y\r\ni2muwervspDPX7gh40iN/C3IAGgqcnuY36GGltMOei1bmETjWeo7NHJ37LS4\r\nY2/PriNyrJah2e6osj0bzkKNtPSJBNoFGnq2fN1clSiCzwKhN7Rn90moRK5+\r\nDWbd7MTouJhcpSOBuhEWI/6RWMhrGCw0JL+wAIbbkNJNXyxXZKGX4nh/pQzF\r\n7wtDyNO4FFSP9eZYyDgF/koWItoACmsoxmuZurNdNcZZt7s/nNz94PVqBkUk\r\nZvYrE6utmZElUZER+wJrBx3UK6gQduE0nCOk79AjglTjWBuUk3IgUSDydkS5\r\nOQhsRjDSqtJbVcGX52n6fnXiF6xLtK3eaqZIEi/Osjxw/bMarLkz3kb8mbAO\r\n7LmB7MpitbVkmuF0f/mHNQrJX2HumTzFBxK6rJqLINQ0d+Lb4c74LJ15LLDl\r\nQ3kZ8ByXbrFaDV+5P3MztcPdw8ZymlYywdI4ZkYVKP7BvZG/q4knmyg5Y5ls\r\nL7H+kldirTvkre1pg9FksEyTSMfNtvnu5fLwjryoSXJe5pd2fMdyKJZll5zm\r\nQAW+yCwrtfFrKGTWcnhmQM+DDpj+gxU0eug=\r\n=ZK2I\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-unstable.49_1683122981829_0.5814902255565115"},"_hasShrinkwrap":false},"0.10.1-unstable.50":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-unstable.50","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"6f3a76c592a31dbf0c4d352bb55933372932ae33","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-unstable.50","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-Uvaag2ZXXIFp7EdwCf3eENX2rD9PvgTqwtCOwszwT7p56crq8ux81sxh8Q8yA45G6CC31FUZev51vH6f0204GA==","shasum":"f8ac84ce61dfa0f28138bb8dca05414d737e79c9","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-unstable.50.tgz","fileCount":19,"unpackedSize":36817,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6RTFAFZpghBIGUKs4FR3nz1DPJLSUFx5KKJlxc481KAiBRXqPTCAYIYHgMILInzeHaTTP80jcjEbW8W3vopMKfTA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUnKiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/XhAAoWuCh6rVnCcnQBJ+Ac2+BtrkwbqP9SiPUrRvw++apeU0jHH1\r\nU/Yl9VvVLSh+IRCnd85cu19sQiDf3BHvo+Qv1BNvLdTFIIj554t2BYDd30fN\r\nHhV2kq/gfubenw+7O6mp9S5cBNDVR1wmDwCvk68KwVNhvaoGOIhBtE8Tygd/\r\n52EgP4S6Fn9ODqY+KnZfgy4DqToFHxVJ3NbhZFKGhQExYhrx5DU7P7iJxfdq\r\nuPBHOU7qxbPt6aJ305zsjxWQ/i7uzB3HYwI+xVQvItyf0DVv3tXBd7rGQZE+\r\nSOZ1S9rqQkdW6zYRcZFsy4HkkvHqlCNZzpVoproM9uYp6pjzdYnGUZLEdxZZ\r\ng3pfT1iCZtaUF8ZBARyIybhV7GVstGbl855ZLfh7pFG625ZzDFiMS6oLDr5W\r\nZ7vph+dnL+uve8Pwqo5PYVFuCuJ8pxuI9i2CtilHlnkBW5KS3tuvWjaaONQ2\r\nFO6hZInPlqUVm5+QORWIjImFb5npKGJbMStPC8Llrfh78ACxmZSAazv6vDwI\r\nm+OX/qF2mPPrCuVtGggcU9qfztHtD/XIwjpED1JqOcQJ6toS3fvY+awHFj+f\r\nnV3wKJt8JGMirOlkOQnafMo6uWjgbKL+AxGBYejqujVdpUNb7i8cUxxJLjoj\r\nZX1BE4zLx5dh4dxZ5qOkTULfTsZkSyd0FBc=\r\n=Uu29\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-unstable.50_1683124898338_0.9248805713110901"},"_hasShrinkwrap":false},"0.10.1-unstable.52":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-unstable.52","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"84637764cbeb97af4d4f300ccfef01fb77c280d5","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-unstable.52","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.6.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-oby+duHo63s6XLdrH8VDWmkbpT7kgFlY0qUaX/s8gPZu6qXOw+jjLp3dmS4SYU70RGBEcly1ZEJ7uHzqNo9kRA==","shasum":"52c4e0394e8b39b58af3cc109d444e4842e7e9f0","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-unstable.52.tgz","fileCount":19,"unpackedSize":36817,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCioUBEwxcNidZSE+TGuRY3dUHE8nsle2gsV3OoyesS+wIgRQa/6b7fhdnF9b19soKAOIOunqAoWpzyZ7L/lbhwTks="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUo6BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHOw//dontSB66Sud9swgbnScZZ53kY9e213DPEbmVJacf/K1yQl7m\r\nC46+GnS32FV9Lx9QaM5fSzrDSvaLiLzVG3ynsaMjk0aMrVOUeVbhBAUlBmeX\r\n/KsSyK5njh3VNLtSb0b6xlWFffQVADscHi5zoSQr8qfHJqUcaGxJbUm5ri/t\r\nCXD8N8+nz0HxEF9j7gU5z+6ZHB2gWzrQBItWUNSr0HBQOAbL7WdePExseUm8\r\nHhLwydTDa9loMW0d28IM3oi7M75a7QJ/bDXdHcpDvGgax86l5eW3IU8oqXR1\r\nMbaC3yJ2J9GT1ffnuFYv+3Lq6tZsp/ukHsUY6dWD0XZRjuV8UqU+Auh/7AvY\r\nIUaL0ampukc4K2Cp/qe2lBTsM8/sB3RVlzX1TFIrrQkJzTmjh4s05CXnt9t4\r\nFeGzSREfNKE9qfmoK3k+uNe1oziE0xu4Usatn5pzODtN1gqNKhfCYPYNqDps\r\npYABy5Y0LDYi2RhoF2JLhhFFSgwPt4PB4usUlUE7lw2jrMSuOdR/3PCEbIlV\r\nyyMhjqRsiuxVgIy3gpfxqphXjqSGN9lRiCNReBDl58xDWD6zgmVCuWQYk5jw\r\n5kacGF97rturJwItMAQT6o+3iN34G3GLj0CJbTshdTni9YHpvN/Tti1s/0Ao\r\n4/YZH29IZvQLd1n1p3fJLOHt18S8N4lMZB8=\r\n=DAtD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-unstable.52_1683132033361_0.07395707728297318"},"_hasShrinkwrap":false},"0.10.1-next.6":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-next.6","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"ce5b487d4b5831aa033615fec9e4a45c19c1f3f7","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-next.6","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-oWB8Bj6VlpkErbtyNPCmfTMttgKgfFDBYZJzg4/OoJynOTliHwAT81gFkvIz+UMav426tv5m2iwDBkCiVQIRuA==","shasum":"aaefd71cfa2b98d1d0c2118c743e94377211422b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-next.6.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJxyeHMVoWdlRheA11UCI03Jf/3w/RxiGawSzGKIT7UQIgYbwoEhR1zpNjvnb7gkLsA5ExmB0xGr4XzX3C/JHdskg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkVD1KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmralA/+JBp0XttLKPRPO4zz+clr51tImXJIWpCNyPYOw5evd7IyGh2J\r\n7I7CodWX9CnyXPIKgn8YgctxXJjlWRPTugVqlmANBs0hvNTz5gq3J7ZqUNJg\r\nZg50n+qL7pOKzrbT3dPaklgS36Xq1XNmbZKz4ohjDSG1HHD3JW959wD5XHe6\r\npk226ZdCWQnTrsWfxV9wcZXIrvzXPtAtUQI5iOQNtsXYYcVIc/ZmkOC1Vuoz\r\nIcqLTn85brqznE7osBtoChpzoQPTK/I32oan94mtcsl3+tZEmZos/4GH49Q2\r\nMlN8Nsw9bougqbfZxLWilLD5zo7T2JArM5yFBI9mrzcfmu9Pcp0v4Yn0UWlX\r\nwqLcWSqC138IFp14XjMjNcO8AT70z2/cPWvV14yU9Wy9ljrZwnA1QwnrNsjK\r\nflXBbFZDQ9Li6BOZ3pCI0yu9caPB8S7uZcLjWru+ziT6o878Re5zRdm5bqWo\r\nY76Y3ZZdSrMtbyXNeOxX3idFSCdxHMoPreBMgFSRvLbLUavbO5s3YWH0VXKG\r\n4bN2lvv2m9St7fVau7Jh2bTPTL9bu5TE5K55dMxD0lKpQA6ehf0GO0hRyoqL\r\nzlUFQUtvsxGSTkd1R5/1B6eCMuFpBnKg23t0k65+8g3Lmel4bTLXfSFDgz+4\r\nwHQykwHpuazKl849ExW/4H6rVt9kdrmywDY=\r\n=w6/T\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-next.6_1683242314706_0.3946071697801672"},"_hasShrinkwrap":false},"0.10.1-next.8":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-next.8","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"7df0e64ad6553e8153cf96d62156867fde8e4cef","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-next.8","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-ZBL6Mk3QGJEzkwi0yBPgv9riKlF9QceHv/Ku5AcveV4XEv6CeKGDrlVQpC2hRD+B6LVoWF10aYoxPlgD4YR93g==","shasum":"4ebe5ff09916f5dcecd5afac8b98f4249a89de4b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-next.8.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDW6CvzfGua3wMp5X7RQWe8R434kHqmzxTfcK4mAayiaAiEA28R5Cr71zrelhABIIoPgViSbIAUMFwLYALcWU27k6XE="}]},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-next.8_1683307207676_0.23898922055600136"},"_hasShrinkwrap":false},"0.10.1-next.9":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-next.9","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@veramo/cli":"4.2.0","nock":"^13.2.9"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"1b2d26bee8ef80eedbdb3389a36c960f30d9fa9d","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-next.9","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.5.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-L6S3NqphlmZ5jvPKBUnE1V5KRaoP6w6hU+zSNt67PBwZGMeCBPoYd+oIyjD3OXxLpAq9m9SdQBLbgSRedZGyuw==","shasum":"5c8b8d8e1877cc772f478c41873c7535cc0161b7","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-next.9.tgz","fileCount":19,"unpackedSize":36943,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6Pii4txuwu0btgc+YpyA84r2BZbsKzpc+kg8eurt26AiEA7E5MYIeirsnEyUBRg8ArazP2R6G6+peFdNz3XIxCsLI="}]},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-next.9_1683309625971_0.8731754750498073"},"_hasShrinkwrap":false},"0.10.1-next.13":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-next.13","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@sphereon/ssi-sdk-agent-config":"^0.10.1-next.13+8f56f22","@veramo/remote-client":"4.2.0","@veramo/remote-server":"4.2.0","nock":"^13.2.9","web-did-resolver":"^2.0.23"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"8f56f226b2845ec49488734fabb9fde6ae707017","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-next.13","_nodeVersion":"18.16.0","_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","dist":{"integrity":"sha512-8WWVDU4venLrJzgXKhs96+szHH1l9rfVytYu/7ttddsduz0A97j6U0+BV3y/50tZdZZOAGsXoik8Wst4BC0bfg==","shasum":"2c875338280a36fc2fed7dfbbe84d095ef7f5e53","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-next.13.tgz","fileCount":19,"unpackedSize":37092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWVqF+5MXmHKwV0JEYJ5/xuNnAJF5Pbjaaf4MDGUl5lQIgALsANx1pPzzYapa/3mEELU5+dGOk5j4O2BlKGP/SU98="}]},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-next.13_1683332799225_0.9295173296073744"},"_hasShrinkwrap":false},"0.10.1-next.14":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-next.14","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@sphereon/ssi-sdk-agent-config":"^0.10.1-next.14+344ae1c","@veramo/remote-client":"4.2.0","@veramo/remote-server":"4.2.0","nock":"^13.2.9","web-did-resolver":"^2.0.23"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"344ae1c41b4c30ceab399df3ee531635ae789835","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-next.14","_nodeVersion":"18.16.0","_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","dist":{"integrity":"sha512-l9Fe6/83IHAVbTvfSUC6SiLGvPqyKZAfG93Rc7sxMfivzdifP0AHpvNYPt0kiW5l8u3RhHtXbw+SNFfrZjxqwQ==","shasum":"60414856043afd7730b77840080e7747ed9ccb1b","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-next.14.tgz","fileCount":19,"unpackedSize":37092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBk30FzC1GcbtMkOcFo8joZZRQ+hvHXHNMwXW63oPbkIAiAbX16Ab8z/UUlAIZYinYYnenZUe0kZ/cGxT6epxo1jWw=="}]},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-next.14_1683357312439_0.3052502994669115"},"_hasShrinkwrap":false},"0.10.1-unstable.73":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.1-unstable.73","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@sphereon/ssi-sdk-agent-config":"0.10.1-unstable.73+ad39a5c","@veramo/remote-client":"4.2.0","@veramo/remote-server":"4.2.0","nock":"^13.2.9","web-did-resolver":"^2.0.23"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"ad39a5c4eb0893c4699ee119214d638f954486d4","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.1-unstable.73","_nodeVersion":"18.16.0","_npmVersion":"lerna/6.6.1/node@v18.16.0+x64 (linux)","dist":{"integrity":"sha512-unJqRzWqz1HVkKFhaM17csTMZy+Fp/JrSO/yjuQFGTTEHwHnb2ucaFMuiwcTsSsG3teE+LGjL0zls06Uccb3AQ==","shasum":"d70ea00b26a264021f90c0dab6c90ad144d286e6","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.1-unstable.73.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUfVI8VxMHLt9HphHh1dLFfwLTKJf2m/BYvL6O6NpijAiEAuqKKzNF8UC+Y0OsGWwzQeHveNwcrLGwrEOSmJrNLCAI="}]},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.1-unstable.73_1683495196032_0.7387162999650565"},"_hasShrinkwrap":false},"0.10.2-next.11":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.2-next.11","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@sphereon/ssi-sdk-agent-config":"^0.10.2-next.11+6e6b83f","@veramo/remote-client":"4.2.0","@veramo/remote-server":"4.2.0","nock":"^13.2.9","web-did-resolver":"^2.0.23"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"6e6b83fe7e6887cd2faad5846b8b1c7ad24aee7b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.2-next.11","_nodeVersion":"18.16.0","_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","dist":{"integrity":"sha512-6VCiZuVZFB26GwGusPcYnPmIgoVfViR33/25IzLZ3ARLwl7Mt2AOe4Fy2mZJJr9qdLqQVoCEbOQGa+BU4KvZnw==","shasum":"8db3a2079301de91e21252fa5ad6679ff43caede","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.2-next.11.tgz","fileCount":19,"unpackedSize":37092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7OmB0rQiDtOCnpwWM4Ozr7pjCzdKCJJZFuxCW5FeGOwIhAIG3Tw5Acgpzv/rlkoO+EoBlAquy4vS6xPEHsOOvEHA1"}]},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.2-next.11_1683495866738_0.3068291602029858"},"_hasShrinkwrap":false},"0.10.2-unstable.72":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.10.2-unstable.72","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@sphereon/ssi-sdk-agent-config":"0.10.2-unstable.72+34aa2c9","@veramo/remote-client":"4.2.0","@veramo/remote-server":"4.2.0","nock":"^13.2.9","web-did-resolver":"^2.0.23"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"34aa2c9e407ad98fdacf62c68fb85425a31c9856","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.10.2-unstable.72","_nodeVersion":"18.16.0","_npmVersion":"lerna/6.6.1/node@v18.16.0+x64 (linux)","dist":{"integrity":"sha512-AX+Jo8ZEmJ+hwmlDOWrzWHdfIMi7zKDidBcXCP83Nh2suTjksMPB5imRq6wGfqEkmtb5EwJUDduiGNBMDJ9gsQ==","shasum":"c844d261be2a2b6cd0bfef7efc675f7d6f5799e9","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.10.2-unstable.72.tgz","fileCount":19,"unpackedSize":36968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH12rxV5z7EPGc/t/xxVbWrR12NqO+LoqlmOrSGep/iqAiEA58imRNoytDPv75au3Vrl0PJIb+S3wWkbQWw1rKhQKE4="}]},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.10.2-unstable.72_1683495894510_0.6703095139824058"},"_hasShrinkwrap":false},"0.11.0":{"name":"@sphereon/ssi-sdk-wellknown-did-verifier","version":"0.11.0","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"IWellknownDidVerifier":"./src/types/IWellKnownDidVerifier.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@sphereon/wellknown-dids-client":"^0.1.3","@veramo/core":"4.2.0"},"devDependencies":{"@sphereon/ssi-sdk-agent-config":"^0.11.0","@veramo/remote-client":"4.2.0","@veramo/remote-server":"4.2.0","nock":"^13.2.9","web-did-resolver":"^2.0.23"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"gitHead":"c0b30e037a02bb4bedbf1165feb73184ca8ef571","description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-wellknown-did-verifier@0.11.0","_nodeVersion":"18.16.0","_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","dist":{"integrity":"sha512-Ptjt9Xo2m3jpfxPbe5u3gHFc007z6TT44RWb1tLAYocW7lQbAJKwu/kBACEsht+TgA/vr21CXuoDuAQ+1JKdOA==","shasum":"8e0811a0cc9ee5a272022bc0a65a3a407e41ebac","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-wellknown-did-verifier/-/ssi-sdk-wellknown-did-verifier-0.11.0.tgz","fileCount":19,"unpackedSize":37060,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3esA3rgoVt6ATqsLamA3PMmG9N4sn8U0BbILMx4eibAiBedzdI2mKCrzhvRpjm/vqAUvdITlhwg8i+IOYxZcLyEw=="}]},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-wellknown-did-verifier_0.11.0_1683497035780_0.37402922629104185"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-12T08:37:40.520Z","0.7.1-next.18":"2022-08-12T08:37:40.782Z","modified":"2023-05-07T22:03:56.086Z","0.7.1-unstable.67":"2022-08-12T16:51:49.056Z","0.7.1-unstable.39":"2022-08-12T17:20:48.978Z","0.7.1-next.38":"2022-08-12T17:23:13.060Z","0.7.1-unstable.40":"2022-08-15T15:52:23.581Z","0.7.1-next.39":"2022-08-15T16:01:08.212Z","0.7.1-next.40":"2022-08-18T01:03:09.255Z","0.7.1-next.43":"2022-08-21T00:15:53.237Z","0.7.1-unstable.43":"2022-08-22T17:32:10.907Z","0.7.1-unstable.44":"2022-08-23T15:39:06.236Z","0.7.1-unstable.45":"2022-08-23T16:58:56.600Z","0.7.1-next.54":"2022-08-25T11:56:46.798Z","0.7.1-next.66":"2022-09-02T22:38:14.637Z","0.7.1-next.68":"2022-09-02T23:52:56.003Z","0.8.0":"2022-09-03T00:09:13.104Z","0.8.1-next.2":"2022-09-03T00:56:52.827Z","0.8.1-next.3":"2022-09-03T01:09:47.799Z","0.8.1-unstable.4":"2022-09-15T09:00:35.640Z","0.8.1-unstable.5":"2022-09-15T09:17:27.139Z","0.8.1-next.6":"2022-09-15T09:31:57.438Z","0.8.1-unstable.9":"2022-09-17T23:57:02.007Z","0.8.1-unstable.11":"2022-09-19T14:02:08.880Z","0.8.1-next.12":"2022-09-19T15:11:30.521Z","0.8.1-next.18":"2022-09-22T15:12:26.207Z","0.8.1-unstable.24":"2022-09-29T21:06:47.012Z","0.8.1-unstable.25":"2022-10-04T20:18:16.299Z","0.8.1-next.26":"2022-10-04T20:50:05.583Z","0.8.1-unstable.27":"2022-10-12T10:50:57.397Z","0.8.1-unstable.29":"2022-10-13T07:11:55.047Z","0.8.1-unstable.28":"2022-10-13T07:13:14.870Z","0.8.1-unstable.30":"2022-10-13T07:17:42.043Z","0.8.1-next.31":"2022-10-13T07:51:30.037Z","0.8.1-next.42":"2022-10-18T11:11:41.037Z","0.8.1-next.50":"2022-10-18T11:13:01.688Z","0.8.1-unstable.50":"2022-10-26T00:44:32.070Z","0.8.1-unstable.53":"2022-10-26T23:14:39.012Z","0.8.1-unstable.54":"2022-10-26T23:18:54.761Z","0.8.1-next.55":"2022-10-26T23:31:13.173Z","0.8.1-unstable.55":"2022-10-27T20:32:40.021Z","0.8.1-next.57":"2022-10-27T20:37:42.119Z","0.8.1-unstable.61":"2022-10-27T20:43:41.573Z","0.8.1-unstable.63":"2022-10-28T00:02:53.604Z","0.8.1-unstable.65":"2022-10-28T08:49:58.283Z","0.8.1-next.66":"2022-10-28T11:23:18.405Z","0.8.1-unstable.73":"2022-11-03T22:51:05.404Z","0.8.1-unstable.74":"2022-11-04T00:24:10.000Z","0.8.1-next.77":"2022-11-08T15:20:48.037Z","0.8.1-next.84":"2022-11-08T15:29:50.086Z","0.8.1-unstable.85":"2022-11-14T13:39:37.571Z","0.8.1-unstable.86":"2022-11-14T13:53:40.152Z","0.8.1-next.114":"2022-12-17T02:01:13.742Z","0.8.1-next.117":"2022-12-17T02:19:06.084Z","0.8.1-next.119":"2022-12-27T23:57:11.129Z","0.8.1-unstable.135":"2023-01-03T15:31:45.596Z","0.8.1-next.120":"2023-01-10T01:20:18.685Z","0.8.1-next.121":"2023-01-11T19:11:03.089Z","0.8.1-next.122":"2023-01-11T20:34:19.678Z","0.8.1-next.123":"2023-01-11T21:40:25.746Z","0.8.1-unstable.145":"2023-01-12T01:13:18.553Z","0.8.1-next.146":"2023-01-12T01:23:44.685Z","0.8.1-next.154":"2023-01-12T13:11:13.321Z","0.8.1-next.156":"2023-01-13T00:43:44.695Z","0.8.1-next.157":"2023-01-13T01:42:06.998Z","0.8.1-next.158":"2023-01-13T02:03:12.693Z","0.8.1-next.159":"2023-01-13T02:21:04.468Z","0.8.1-next.161":"2023-01-13T03:10:22.390Z","0.8.1-next.162":"2023-01-13T03:52:02.479Z","0.8.1-next.163":"2023-01-13T04:07:42.129Z","0.8.1-next.164":"2023-01-14T05:43:54.582Z","0.8.1-next.165":"2023-01-14T06:18:15.013Z","0.8.1-next.166":"2023-01-14T06:37:56.409Z","0.8.1-next.167":"2023-01-14T06:56:39.344Z","0.8.1-next.168":"2023-01-14T07:31:03.661Z","0.8.1-next.169":"2023-01-15T02:09:11.748Z","0.8.1-unstable.170":"2023-01-15T03:25:54.640Z","0.8.1-unstable.171":"2023-01-15T03:36:00.869Z","0.8.1-unstable.172":"2023-01-15T03:59:27.502Z","0.8.1-unstable.173":"2023-01-15T05:05:34.334Z","0.8.1-unstable.174":"2023-01-15T05:47:54.806Z","0.8.1-unstable.175":"2023-01-15T08:06:49.196Z","0.8.1-unstable.176":"2023-01-16T02:09:14.216Z","0.8.1-unstable.177":"2023-01-16T04:45:05.819Z","0.8.1-unstable.178":"2023-01-16T05:00:28.957Z","0.8.1-unstable.179":"2023-01-20T01:15:01.416Z","0.8.1-next.179":"2023-01-25T21:34:49.432Z","0.8.1-next.190":"2023-02-16T10:03:42.969Z","0.8.1-next.192":"2023-02-17T16:00:56.215Z","0.8.1-next.194":"2023-02-17T22:04:22.703Z","0.8.1-unstable.195":"2023-02-18T00:42:15.606Z","0.8.1-unstable.198":"2023-02-18T03:01:00.618Z","0.8.1-unstable.200":"2023-02-18T13:16:29.919Z","0.8.1-unstable.201":"2023-02-18T14:04:57.896Z","0.8.1-unstable.203":"2023-02-18T22:50:31.123Z","0.8.1-unstable.206":"2023-02-21T01:47:32.619Z","0.8.1-unstable.207":"2023-02-21T02:07:48.375Z","0.8.1-unstable.208":"2023-02-22T03:26:35.874Z","0.8.1-unstable.209":"2023-02-22T19:38:01.287Z","0.8.1-unstable.210":"2023-02-22T23:42:20.801Z","0.8.1-unstable.211":"2023-02-23T00:15:33.713Z","0.8.1-unstable.212":"2023-02-23T01:44:47.492Z","0.8.1-unstable.213":"2023-02-23T02:13:32.534Z","0.8.1-unstable.215":"2023-02-23T19:33:05.258Z","0.8.1-unstable.217":"2023-02-23T20:31:22.386Z","0.8.1-unstable.218":"2023-02-23T22:11:57.797Z","0.8.1-unstable.219":"2023-02-23T22:51:39.408Z","0.8.1-unstable.220":"2023-02-23T23:25:59.808Z","0.8.1-unstable.221":"2023-02-24T00:31:07.305Z","0.8.1-unstable.222":"2023-02-24T01:25:13.408Z","0.8.1-unstable.225":"2023-02-24T04:09:28.439Z","0.8.1-unstable.227":"2023-02-25T01:02:58.989Z","0.8.1-unstable.228":"2023-02-26T03:24:40.745Z","0.8.1-unstable.229":"2023-02-26T07:06:36.746Z","0.8.1-unstable.230":"2023-02-26T07:36:03.336Z","0.8.1-unstable.238":"2023-02-26T09:50:18.548Z","0.8.1-unstable.239":"2023-02-26T16:50:16.794Z","0.8.1-unstable.240":"2023-02-26T23:35:27.448Z","0.8.1-unstable.242":"2023-02-27T01:59:57.816Z","0.8.1-unstable.264":"2023-03-03T08:34:43.256Z","0.8.1-unstable.263":"2023-03-03T16:16:58.477Z","0.8.1-unstable.271":"2023-03-06T14:35:19.829Z","0.8.1-unstable.272":"2023-03-06T15:10:11.834Z","0.8.1-unstable.277":"2023-03-07T12:01:02.413Z","0.8.1-unstable.266":"2023-03-07T22:21:05.216Z","0.8.1-unstable.267":"2023-03-07T23:30:40.133Z","0.8.1-unstable.268":"2023-03-07T23:41:31.119Z","0.8.1-unstable.269":"2023-03-08T00:08:47.568Z","0.8.1-unstable.270":"2023-03-08T01:01:29.189Z","0.8.1-unstable.278":"2023-03-08T16:28:27.402Z","0.8.1-unstable.279":"2023-03-08T19:45:45.895Z","0.8.1-unstable.280":"2023-03-08T22:11:56.974Z","0.8.1-next.272":"2023-03-09T00:37:04.209Z","0.9.0":"2023-03-09T00:45:53.940Z","0.9.1-next.9":"2023-03-10T00:49:22.838Z","0.9.1-unstable.17":"2023-03-10T10:27:11.252Z","0.9.1-next.10":"2023-03-11T00:05:07.896Z","0.9.1-next.11":"2023-03-11T00:33:28.531Z","0.9.1-next.12":"2023-03-11T01:10:38.807Z","0.9.1-next.13":"2023-03-11T03:52:29.657Z","0.9.1-next.15":"2023-03-11T23:46:48.851Z","0.9.1-next.16":"2023-03-12T05:23:27.142Z","0.9.1-next.17":"2023-03-12T05:57:51.314Z","0.9.1-unstable.27":"2023-03-15T14:00:11.779Z","0.9.1-unstable.28":"2023-03-15T14:25:37.699Z","0.9.1-unstable.30":"2023-03-15T15:01:07.667Z","0.9.1-unstable.34":"2023-03-15T16:32:04.209Z","0.9.1-unstable.18":"2023-03-16T10:13:10.318Z","0.9.1-unstable.19":"2023-03-16T10:18:38.107Z","0.9.1-unstable.20":"2023-03-16T10:20:35.067Z","0.9.1-next.21":"2023-03-17T09:18:35.623Z","0.9.1-next.42":"2023-03-17T09:57:09.291Z","0.9.1-next.55":"2023-03-17T11:52:25.391Z","0.9.1-next.56":"2023-03-19T00:04:42.202Z","0.9.1-next.62":"2023-03-22T00:37:12.034Z","0.9.1-unstable.66":"2023-03-22T12:05:40.013Z","0.9.1-unstable.67":"2023-03-23T09:12:06.293Z","0.9.1-unstable.65":"2023-03-23T11:57:27.530Z","0.9.1-unstable.68":"2023-03-23T15:13:31.299Z","0.9.1-next.69":"2023-03-24T11:59:10.170Z","0.9.1-unstable.85":"2023-03-27T10:49:39.777Z","0.9.1-unstable.87":"2023-03-27T12:09:28.287Z","0.9.1-unstable.88":"2023-03-27T12:12:02.286Z","0.9.1-next.89":"2023-03-27T21:34:15.862Z","0.9.1-next.96":"2023-03-29T09:06:59.131Z","0.9.1-next.97":"2023-03-29T19:23:26.423Z","0.9.1-next.99":"2023-03-29T19:26:12.919Z","0.9.1-next.100":"2023-03-29T19:35:29.383Z","0.9.1-unstable.109":"2023-04-12T23:42:34.731Z","0.9.1-unstable.101":"2023-04-13T09:46:24.703Z","0.9.1-unstable.112":"2023-04-13T15:22:36.791Z","0.9.1-unstable.113":"2023-04-13T15:40:16.940Z","0.9.1-unstable.114":"2023-04-13T20:42:36.445Z","0.9.1-unstable.116":"2023-04-13T23:06:17.356Z","0.9.1-unstable.117":"2023-04-14T00:30:47.844Z","0.9.1-unstable.102":"2023-04-14T13:15:38.841Z","0.9.1-unstable.130":"2023-04-14T14:36:22.031Z","0.9.1-next.103":"2023-04-17T09:11:39.950Z","0.9.1-unstable.136":"2023-04-17T14:27:28.817Z","0.9.1-unstable.104":"2023-04-24T15:14:53.562Z","0.9.1-next.105":"2023-04-24T20:41:53.479Z","0.9.1-next.107":"2023-04-25T09:59:12.870Z","0.9.1-next.109":"2023-04-26T11:33:31.499Z","0.9.1-next.113":"2023-04-26T14:56:42.779Z","0.9.1-next.114":"2023-04-27T19:16:27.409Z","0.9.1-next.116":"2023-04-27T22:10:48.143Z","0.9.1-next.118":"2023-04-29T20:45:21.160Z","0.9.1-next.120":"2023-04-30T10:52:58.016Z","0.9.1-next.121":"2023-04-30T20:39:33.615Z","0.10.0":"2023-04-30T22:10:45.261Z","0.10.1-next.2":"2023-05-01T01:30:28.752Z","0.10.1-unstable.49":"2023-05-03T14:09:41.961Z","0.10.1-unstable.50":"2023-05-03T14:41:38.532Z","0.10.1-unstable.52":"2023-05-03T16:40:33.575Z","0.10.1-next.6":"2023-05-04T23:18:34.910Z","0.10.1-next.8":"2023-05-05T17:20:07.880Z","0.10.1-next.9":"2023-05-05T18:00:26.155Z","0.10.1-next.13":"2023-05-06T00:26:39.430Z","0.10.1-next.14":"2023-05-06T07:15:12.652Z","0.10.1-unstable.73":"2023-05-07T21:33:16.209Z","0.10.2-next.11":"2023-05-07T21:44:26.954Z","0.10.2-unstable.72":"2023-05-07T21:44:54.673Z","0.11.0":"2023-05-07T22:03:55.952Z"},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"description":"<!--suppress HtmlDeprecatedAttribute --> <h1 align=\"center\">   <br>   <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>   <br>Well-Known DID Verifier (Typescript)","homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","keywords":["DID","Domain Linkage","DID Configuration Resource","Verifier","Well-Known DIDs"],"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"license":"Apache-2.0","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>Well-Known DID Verifier (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\nA `Sphereon SSI-SDK` plugin to verify relationships between the controller of an origin and a DID conforming to the DIF [spec for well-known DID Configurations](https://identity.foundation/.well-known/resources/did-configuration/) It is written in Typescript and can be compiled to any target JavaScript version.\n\n## Available functions\n\n- registerSignatureValidation\n- removeSignatureValidation\n- verifyDomainLinkage\n- verifyDidConfigurationResource\n\n## Usage\n\n### Adding the plugin to an agent:\n\n```typescript\nimport { IWellKnownDidVerifier, WellKnownDidVerifier } from '@sphereon/ssi-sdk-wellknown-did-verifier'\n\nconst agent = createAgent<IWellKnownDidVerifier>({\n  plugins: [\n    new WellKnownDidVerifier({\n      signatureVerifications: { verified: () => Promise.resolve({ verified: true }) },\n      onlyVerifyServiceDids: true,\n    }),\n  ],\n})\n```\n\n### Register signature verification callback:\n\nRegisters a callback function to be called within the verification process, to verify the signature of the credentials within the DID configuration resource.\n\n```typescript\nagent\n  .registerSignatureVerification({\n    callbackName: 'example_key',\n    signatureVerification: () => Promise.resolve({ verified: true }),\n  })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Remove signature verification callback:\n\nRemoves a registered callback function.\n\n```typescript\nagent\n  .removeSignatureVerification({ callbackName: 'example_key' })\n  .then(() => console.log('success'))\n  .catch(() => console.log('failed'))\n```\n\n### Verify domain linkage:\n\nVerifies the relationship between the controller of an origin and a given DID.\nOption available to only verify the service DID.\n\n```typescript\nagent\n  .verifyDomainLinkage({\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM',\n    signatureVerification: 'verified',\n    onlyVerifyServiceDids: false,\n  })\n  .then((result: IDomainLinkageValidation) => console.log(result.status))\n```\n\n### Verify DID configuration resource:\n\nVerifies a DID configuration resource and domain linkage credentials it holds.\n\nYou can either pass in a DID configuration resource or fetch it remotely by setting a secure well-known location (origin).\nOption available to only verify a given DID.\n\n```typescript\nagent\n  .verifyDidConfigurationResource({\n    signatureVerification: () => Promise.resolve({ verified: true }),\n    origin: 'https://example.com',\n    did: 'did:key:z6MkoTHsgNNrby8JzCNQ1iRLyW5QQ6R8Xuu6AA8igGrMVPUM#foo',\n  })\n  .then((result: IResourceValidation) => console.log(result.status))\n```\n\n## Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-wellknown-did-verifier\n```\n\n## Build\n\n```shell\nyarn build\n```\n","readmeFilename":"README.md"}