{"_id":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite","_rev":"7-25ea8aec686e908ae24667350104cff5","name":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite","dist-tags":{"latest":"1.3.0"},"versions":{"0.0.0":{"name":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite","version":"0.0.0","license":"BSD-3-Clause","_id":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite@0.0.0","maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite","bugs":{"url":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/issues"},"c8":{"reporter":["lcov","text-summary","text"]},"dist":{"shasum":"8cf14148524728d6ae5e5c343dadae62d034ca0e","tarball":"https://registry.npmjs.org/@digitalbazaar/ecdsa-rdfc-2019-cryptosuite/-/ecdsa-rdfc-2019-cryptosuite-0.0.0.tgz","fileCount":8,"integrity":"sha512-mIPV2Y9eFqcg5deJ9Grvyx4fwnxoAC4vxulftmNYo/JZNyJiUPr4w3ZRt18dmJwBNVS75TYReRk00RW3x8dZbg==","signatures":[{"sig":"MEUCIQCNjAA2G3ErPGYpQirFxdEncNM/aMc83A874Q7HtS4y0QIgD4UDlNE0nT123exEvrBljXcVtqILLcp77j3n8cnLWM8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9937},"type":"module","engines":{"node":">=18"},"exports":"./lib/index.js","gitHead":"64a1f2f2311abf4391307db5e4e741dfa77e9285","scripts":{"lint":"eslint .","test":"npm run test-node","coverage":"cross-env NODE_ENV=test c8 npm run test-node","test-node":"cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require test/test-mocha.js test/*.spec.js","test-karma":"karma start karma.conf.cjs","coverage-ci":"cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node","coverage-report":"c8 report"},"_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"repository":{"url":"git+https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite.git","type":"git"},"_npmVersion":"10.2.0","description":"An ECDSA-RDFC-2019 Data Integrity cryptosuite for use with jsonld-signatures.","directories":{},"_nodeVersion":"20.8.0","dependencies":{"jsonld":"^8.3.1","@digitalbazaar/ecdsa-multikey":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.11.3","chai":"^4.3.6","karma":"^6.4.2","mocha":"^10.0.0","eslint":"^8.53.0","webpack":"^5.73.0","cross-env":"^7.0.3","karma-chai":"^0.1.0","karma-mocha":"^2.0.1","karma-webpack":"^5.0.0","jsonld-signatures":"^11.2.1","eslint-plugin-jsdoc":"^46.8.2","mocha-lcov-reporter":"^1.3.0","karma-mocha-reporter":"^2.2.5","eslint-plugin-unicorn":"^49.0.0","karma-chrome-launcher":"^3.1.1","karma-sourcemap-loader":"^0.3.8","eslint-config-digitalbazaar":"^5.0.1","@digitalbazaar/data-integrity":"^2.0.0","@digitalbazaar/multikey-context":"^1.0.0","@digitalbazaar/data-integrity-context":"^2.0.0","@digitalbazaar/security-document-loader":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ecdsa-rdfc-2019-cryptosuite_0.0.0_1699916412220_0.7096760168137792","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite","version":"1.0.1","license":"BSD-3-Clause","_id":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite@1.0.1","maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite","bugs":{"url":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/issues"},"c8":{"reporter":["lcov","text-summary","text"]},"dist":{"shasum":"d8476257dd519d8fe2afcbcacc046fe03bfb8e72","tarball":"https://registry.npmjs.org/@digitalbazaar/ecdsa-rdfc-2019-cryptosuite/-/ecdsa-rdfc-2019-cryptosuite-1.0.1.tgz","fileCount":8,"integrity":"sha512-szNTmmFGJX6kgUDan7T+W2w+co16jqpxxmSdruP/k2b1IagtEHTlI7FTYJQlKfnWtG93zM61T1ZGcqVvH+D7qQ==","signatures":[{"sig":"MEYCIQDfOALbN1ZogjHTv/CLBnyeXcrAljbf9snYGZIgLiHjpwIhAImdnCVUj42wPb2qBE6tUhzQ4RNOBOgVw725O5cv8R7H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9937},"type":"module","engines":{"node":">=18"},"exports":"./lib/index.js","gitHead":"b980e57da13117906636f6c7f0f0fbb0c9fb25e3","scripts":{"lint":"eslint .","test":"npm run test-node","coverage":"cross-env NODE_ENV=test c8 npm run test-node","test-node":"cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require test/test-mocha.js test/*.spec.js","test-karma":"karma start karma.conf.cjs","coverage-ci":"cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node","coverage-report":"c8 report"},"_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"repository":{"url":"git+https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite.git","type":"git"},"_npmVersion":"10.2.0","description":"An ECDSA-RDFC-2019 Data Integrity cryptosuite for use with jsonld-signatures.","directories":{},"_nodeVersion":"20.8.0","dependencies":{"jsonld":"^8.3.1","@digitalbazaar/ecdsa-multikey":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.11.3","chai":"^4.3.6","karma":"^6.4.2","mocha":"^10.0.0","eslint":"^8.53.0","webpack":"^5.73.0","cross-env":"^7.0.3","karma-chai":"^0.1.0","karma-mocha":"^2.0.1","karma-webpack":"^5.0.0","jsonld-signatures":"^11.2.1","eslint-plugin-jsdoc":"^46.8.2","mocha-lcov-reporter":"^1.3.0","karma-mocha-reporter":"^2.2.5","eslint-plugin-unicorn":"^49.0.0","karma-chrome-launcher":"^3.1.1","karma-sourcemap-loader":"^0.3.8","eslint-config-digitalbazaar":"^5.0.1","@digitalbazaar/data-integrity":"^2.0.0","@digitalbazaar/multikey-context":"^1.0.0","@digitalbazaar/data-integrity-context":"^2.0.0","@digitalbazaar/security-document-loader":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ecdsa-rdfc-2019-cryptosuite_1.0.1_1699917893889_0.5187556201929515","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite","version":"1.1.0","license":"BSD-3-Clause","_id":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite@1.1.0","maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite","bugs":{"url":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/issues"},"c8":{"reporter":["lcov","text-summary","text"]},"dist":{"shasum":"a1ee345a3dd9bc00ec81c6ce5c0735547a17aee8","tarball":"https://registry.npmjs.org/@digitalbazaar/ecdsa-rdfc-2019-cryptosuite/-/ecdsa-rdfc-2019-cryptosuite-1.1.0.tgz","fileCount":8,"integrity":"sha512-mpnenyxqVKowjnhpMzLQKB3sbYmE87u2Nk/RD/57Vng+j9XMaKemWUp4uBM6Y2UYnTz5/J9DWD0YtmKHnEktog==","signatures":[{"sig":"MEUCIAFIO5OFlMvZBIcnuZffaRr1llptGVyo1IpmD4qhE6a0AiEAzgSOLtBlwmqlyPFRlUwgLbPjmV/lFDJ3QmN9fYhDdEU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10298},"type":"module","engines":{"node":">=18"},"exports":"./lib/index.js","gitHead":"a25ae745379dcd5a35b6760c3f038b7e420a7b58","scripts":{"lint":"eslint .","test":"npm run test-node","coverage":"cross-env NODE_ENV=test c8 npm run test-node","test-node":"cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require test/test-mocha.js test/*.spec.js","test-karma":"karma start karma.conf.cjs","coverage-ci":"cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node","coverage-report":"c8 report"},"_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite.git","type":"git"},"_npmVersion":"10.5.0","description":"An ECDSA-RDFC-2019 Data Integrity cryptosuite for use with jsonld-signatures.","directories":{},"_nodeVersion":"20.12.1","dependencies":{"jsonld":"^8.3.1","rdf-canonize":"^4.0.1","@digitalbazaar/ecdsa-multikey":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.11.3","chai":"^4.3.6","karma":"^6.4.2","mocha":"^10.0.0","eslint":"^8.53.0","webpack":"^5.73.0","cross-env":"^7.0.3","karma-chai":"^0.1.0","karma-mocha":"^2.0.1","karma-webpack":"^5.0.0","jsonld-signatures":"^11.2.1","eslint-plugin-jsdoc":"^46.8.2","mocha-lcov-reporter":"^1.3.0","karma-mocha-reporter":"^2.2.5","eslint-plugin-unicorn":"^49.0.0","karma-chrome-launcher":"^3.1.1","karma-sourcemap-loader":"^0.3.8","eslint-config-digitalbazaar":"^5.0.1","@digitalbazaar/data-integrity":"^2.0.0","@digitalbazaar/multikey-context":"^2.0.1","@digitalbazaar/data-integrity-context":"^2.0.0","@digitalbazaar/security-document-loader":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ecdsa-rdfc-2019-cryptosuite_1.1.0_1722534536100_0.18994490886401283","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite","version":"1.1.1","license":"BSD-3-Clause","_id":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite@1.1.1","maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite","bugs":{"url":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/issues"},"c8":{"reporter":["lcov","text-summary","text"]},"dist":{"shasum":"3887f85bbf39b254793ba51cd1cde1c7cb5f82e9","tarball":"https://registry.npmjs.org/@digitalbazaar/ecdsa-rdfc-2019-cryptosuite/-/ecdsa-rdfc-2019-cryptosuite-1.1.1.tgz","fileCount":10,"integrity":"sha512-h85YqF1/ptMrrbTbU6pq+RsJsuoElOU8Wp/Vq9GBTqcl4V4aWpLR3/wi/ik1LbFL0nueVP21YzctZ58YKQf4bw==","signatures":[{"sig":"MEUCIQCixWYARF9fCACDweUqJLWQ3nlGLO77bdQkhJ9w/zwR6AIgXO58LXEWZadEZqQ9ZG7H19X2UGKyPoIzjPy5gTIWdDw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13802},"type":"module","browser":{"crypto":false,"./lib/sha.js":"./lib/sha-browser.js"},"engines":{"node":">=18"},"exports":"./lib/index.js","gitHead":"6ad92ca599828afc01fda1968006466a643228b7","scripts":{"lint":"eslint .","test":"npm run test-node","coverage":"cross-env NODE_ENV=test c8 npm run test-node","test-node":"cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require test/test-mocha.js test/*.spec.js","test-karma":"karma start karma.conf.cjs","coverage-ci":"cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node","coverage-report":"c8 report"},"_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite.git","type":"git"},"_npmVersion":"10.5.0","description":"An ECDSA-RDFC-2019 Data Integrity cryptosuite for use with jsonld-signatures.","directories":{},"_nodeVersion":"20.12.1","dependencies":{"jsonld":"^8.3.1","rdf-canonize":"^4.0.1","@digitalbazaar/ecdsa-multikey":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.11.3","chai":"^4.3.6","karma":"^6.4.2","mocha":"^10.0.0","did-io":"^0.8.3","eslint":"^8.53.0","webpack":"^5.73.0","cross-env":"^7.0.3","karma-chai":"^0.1.0","karma-mocha":"^2.0.1","karma-webpack":"^5.0.0","did-method-key":"^0.7.0","jsonld-signatures":"^11.2.1","eslint-plugin-jsdoc":"^50.2.2","mocha-lcov-reporter":"^1.3.0","karma-mocha-reporter":"^2.2.5","eslint-plugin-unicorn":"^55.0.0","karma-chrome-launcher":"^3.1.1","karma-sourcemap-loader":"^0.3.8","eslint-config-digitalbazaar":"^5.0.1","@digitalbazaar/data-integrity":"^2.3.0","@digitalbazaar/did-method-key":"^5.2.0","@digitalbazaar/multikey-context":"^2.0.1","@digitalbazaar/data-integrity-context":"^2.0.0","@digitalbazaar/security-document-loader":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ecdsa-rdfc-2019-cryptosuite_1.1.1_1724689041594_0.8263410174389603","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite","version":"1.2.0","license":"BSD-3-Clause","_id":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite@1.2.0","maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite","bugs":{"url":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/issues"},"c8":{"reporter":["lcov","text-summary","text"]},"dist":{"shasum":"7ceaee3df9ea0ed55d23531a78f1e4932c98aca4","tarball":"https://registry.npmjs.org/@digitalbazaar/ecdsa-rdfc-2019-cryptosuite/-/ecdsa-rdfc-2019-cryptosuite-1.2.0.tgz","fileCount":10,"integrity":"sha512-rNek+Zm45y0cfWzmQgYWgN7sMxO2bQjSlUTkXZXx/ouv0OfBnKp1xh1cw7x8vUUwa1xHuCCiGq+/PX6LmCmqjA==","signatures":[{"sig":"MEUCIQCzAB631mRXAdYpBRs4SZetoS3/PMN1XeV9N2yH90r9mAIgA7rodpGSJPclqaZl0pKsjiVgtUOkSWjRdxUtzF9wbTY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13804},"type":"module","browser":{"crypto":false,"./lib/sha.js":"./lib/sha-browser.js"},"engines":{"node":">=18"},"exports":"./lib/index.js","gitHead":"842f6b2852404ea950cd1fd433f1ecbe82669779","scripts":{"lint":"eslint .","test":"npm run test-node","coverage":"cross-env NODE_ENV=test c8 npm run test-node","test-node":"cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require test/test-mocha.js test/*.spec.js","test-karma":"karma start karma.conf.cjs","coverage-ci":"cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node","coverage-report":"c8 report"},"_npmUser":{"name":"gannan","email":"gannan@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite.git","type":"git"},"_npmVersion":"10.2.3","description":"An ECDSA-RDFC-2019 Data Integrity cryptosuite for use with jsonld-signatures.","directories":{},"_nodeVersion":"21.2.0","dependencies":{"jsonld":"^8.3.1","rdf-canonize":"^4.0.1","@digitalbazaar/ecdsa-multikey":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.11.3","chai":"^4.3.6","karma":"^6.4.2","mocha":"^10.0.0","did-io":"^0.8.3","eslint":"^8.53.0","webpack":"^5.73.0","cross-env":"^7.0.3","karma-chai":"^0.1.0","karma-mocha":"^2.0.1","karma-webpack":"^5.0.0","did-method-key":"^0.7.0","jsonld-signatures":"^11.2.1","eslint-plugin-jsdoc":"^50.2.2","mocha-lcov-reporter":"^1.3.0","karma-mocha-reporter":"^2.2.5","eslint-plugin-unicorn":"^55.0.0","karma-chrome-launcher":"^3.1.1","karma-sourcemap-loader":"^0.3.8","eslint-config-digitalbazaar":"^5.0.1","@digitalbazaar/data-integrity":"^2.3.0","@digitalbazaar/did-method-key":"^5.2.0","@digitalbazaar/multikey-context":"^2.0.1","@digitalbazaar/data-integrity-context":"^2.0.0","@digitalbazaar/security-document-loader":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ecdsa-rdfc-2019-cryptosuite_1.2.0_1732557121821_0.45039240809391856","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite","version":"1.3.0","description":"An ECDSA-RDFC-2019 Data Integrity cryptosuite for use with jsonld-signatures.","homepage":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite","repository":{"type":"git","url":"git+https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite.git"},"license":"BSD-3-Clause","type":"module","exports":"./lib/index.js","browser":{"crypto":false,"./lib/sha.js":"./lib/sha-browser.js"},"dependencies":{"@digitalbazaar/ecdsa-multikey":"^1.6.0","jsonld":"^9.0.0","rdf-canonize":"^5.0.0"},"devDependencies":{"@digitalbazaar/data-integrity":"^2.3.0","@digitalbazaar/data-integrity-context":"^2.0.0","@digitalbazaar/did-method-key":"^5.2.0","@digitalbazaar/multikey-context":"^2.0.1","@digitalbazaar/security-document-loader":"^3.0.0","c8":"^7.11.3","chai":"^4.3.6","cross-env":"^7.0.3","did-io":"^0.8.3","did-method-key":"^0.7.0","eslint":"^8.53.0","eslint-config-digitalbazaar":"^5.0.1","eslint-plugin-jsdoc":"^50.2.2","eslint-plugin-unicorn":"^55.0.0","jsonld-signatures":"^11.6.0","karma":"^6.4.2","karma-chai":"^0.1.0","karma-chrome-launcher":"^3.1.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^5.0.0","mocha":"^10.0.0","mocha-lcov-reporter":"^1.3.0","webpack":"^5.73.0"},"engines":{"node":">=18"},"scripts":{"test":"npm run test-node","test-karma":"karma start karma.conf.cjs","test-node":"cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require test/test-mocha.js test/*.spec.js","coverage":"cross-env NODE_ENV=test c8 npm run test-node","coverage-ci":"cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node","coverage-report":"c8 report","lint":"eslint ."},"c8":{"reporter":["lcov","text-summary","text"]},"gitHead":"cdd2f15ae8d23169cb4948da5edf4c9697234b4a","_id":"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite@1.3.0","bugs":{"url":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/issues"},"_nodeVersion":"22.22.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-Rhg++GnGWHJ29QyWTFW0tRqd/uGLADIsLVEq10zEIAY7D9ScoSLtyYzwZ/zBueBTXHXrtDUEL5SfrSvcKTLFyg==","shasum":"2df4a8e75ebb91e3e25c48e060b11ef99a094875","tarball":"https://registry.npmjs.org/@digitalbazaar/ecdsa-rdfc-2019-cryptosuite/-/ecdsa-rdfc-2019-cryptosuite-1.3.0.tgz","fileCount":10,"unpackedSize":13804,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGdrrIU5MRpjMaUxp5kcZqOBqobQgBcsmgd256FrfgzRAiBCV0nsFqsxU8ckxwMIO2unwpTDhGgfpWWPGw8HjJ2MiA=="}]},"_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"directories":{},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ecdsa-rdfc-2019-cryptosuite_1.3.0_1770318786605_0.4517385393810571"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-13T23:00:12.110Z","modified":"2026-02-05T19:13:06.914Z","0.0.0":"2023-11-13T23:00:12.459Z","1.0.1":"2023-11-13T23:24:54.116Z","1.1.0":"2024-08-01T17:48:56.284Z","1.1.1":"2024-08-26T16:17:21.766Z","1.2.0":"2024-11-25T17:52:01.977Z","1.3.0":"2026-02-05T19:13:06.749Z"},"bugs":{"url":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/issues"},"license":"BSD-3-Clause","homepage":"https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite","repository":{"type":"git","url":"git+https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite.git"},"description":"An ECDSA-RDFC-2019 Data Integrity cryptosuite for use with jsonld-signatures.","maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"readme":"# ECDSA RDFC 2019 Data Integrity Cryptosuite _(@digitalbazaar/ecdsa-rdfc-2019-cryptosuite)_\n\n[![Build status](https://img.shields.io/github/actions/workflow/status/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/main.yml)](https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite/actions?query=workflow%3A%22Node.js+CI%22)\n[![Coverage status](https://img.shields.io/codecov/c/github/digitalbazaar/ecdsa-rdfc-2019-cryptosuite)](https://codecov.io/gh/digitalbazaar/ecdsa-rdfc-2019-cryptosuite)\n[![NPM Version](https://img.shields.io/npm/v/@digitalbazaar/ecdsa-rdfc-2019-cryptosuite.svg)](https://npm.im/@digitalbazaar/ecdsa-rdfc-2019-cryptosuite)\n\n> ECDSA RDFC 2019 Data Integrity Cryptosuite for use with jsonld-signatures.\n\n## Table of Contents\n\n- [Background](#background)\n- [Security](#security)\n- [Install](#install)\n- [Usage](#usage)\n- [Contribute](#contribute)\n- [Commercial Support](#commercial-support)\n- [License](#license)\n\n## Background\n\nFor use with https://github.com/digitalbazaar/jsonld-signatures v11.0 and above.\n\nSee also related specs:\n\n* [Verifiable Credential Data Integrity](https://w3c.github.io/vc-data-integrity/)\n\n## Security\n\nTBD\n\n## Install\n\n- Browsers and Node.js 18+ are supported.\n\nTo install from NPM:\n\n```\nnpm install @digitalbazaar/ecdsa-rdfc-2019-cryptosuite\n```\n\nTo install locally (for development):\n\n```\ngit clone https://github.com/digitalbazaar/ecdsa-rdfc-2019-cryptosuite.git\ncd ecdsa-rdfc-2019-cryptosuite\nnpm install\n```\n\n## Usage\n\nThe following code snippet provides a complete example of digitally signing\na verifiable credential using this library:\n\n```javascript\nimport * as EcdsaMultikey from '@digitalbazaar/ecdsa-multikey';\nimport {DataIntegrityProof} from '@digitalbazaar/data-integrity';\nimport {cryptosuite as ecdsaRdfc2019Cryptosuite} from\n  '@digitalbazaar/ecdsa-rdfc-2019-cryptosuite';\nimport jsigs from 'jsonld-signatures';\nconst {purposes: {AssertionProofPurpose}} = jsigs;\n\n\n// create the unsigned credential\nconst unsignedCredential = {\n  '@context': [\n    'https://www.w3.org/2018/credentials/v1',\n    {\n      AlumniCredential: 'https://schema.org#AlumniCredential',\n      alumniOf: 'https://schema.org#alumniOf'\n    }\n  ],\n  id: 'http://example.edu/credentials/1872',\n  type: [ 'VerifiableCredential', 'AlumniCredential' ],\n  issuer: 'https://example.edu/issuers/565049',\n  issuanceDate: '2010-01-01T19:23:24Z',\n  credentialSubject: {\n    id: 'https://example.edu/students/alice',\n    alumniOf: 'Example University'\n  }\n};\n\n// create the keypair to use when signing\nconst controller = 'https://example.edu/issuers/565049';\nconst keyPair = await EcdsaMultikey.from({\n  '@context': 'https://w3id.org/security/multikey/v1',\n  id: 'https://example.edu/issuers/565049#zDnaekGZTbQBerwcehBSXLqAg6s55hVEBms1zFy89VHXtJSa9',\n  type: 'Multikey',\n  controller: 'https://example.edu/issuers/565049',\n  publicKeyMultibase: 'zDnaekGZTbQBerwcehBSXLqAg6s55hVEBms1zFy89VHXtJSa9',\n  secretKeyMultibase: 'z42tqZ5smVag3DtDhjY9YfVwTMyVHW6SCHJi2ZMrD23DGYS3'\n});\n\n// export public key and add to document loader\nconst publicKey = await keyPair.export({publicKey: true, includeContext: true});\naddDocumentToLoader({url: publicKey.id, document: publicKey});\n\n// create key's controller document\nconst controllerDoc = {\n  '@context': [\n    'https://www.w3.org/ns/did/v1',\n    'https://w3id.org/security/multikey/v1'\n  ],\n  id: controller,\n  assertionMethod: [publicKey]\n};\naddDocumentToLoader({url: controllerDoc.id, document: controllerDoc});\n\n// create suite\nconst suite = new DataIntegrityProof({\n  signer: keyPair.signer(), cryptosuite: ecdsaRdfc2019Cryptosuite\n});\n\n// create signed credential\nconst signedCredential = await jsigs.sign(unsignedCredential, {\n  suite,\n  purpose: new AssertionProofPurpose(),\n  documentLoader\n});\n\n// results in the following signed VC\n{\n  \"@context\": [\n    \"https://www.w3.org/2018/credentials/v1\",\n    {\n      \"AlumniCredential\": \"https://schema.org#AlumniCredential\",\n      \"alumniOf\": \"https://schema.org#alumniOf\"\n    },\n    \"https://w3id.org/security/data-integrity/v2\"\n  ],\n  \"id\": \"http://example.edu/credentials/1872\",\n  \"type\": [\n    \"VerifiableCredential\",\n    \"AlumniCredential\"\n  ],\n  \"issuer\": \"https://example.edu/issuers/565049\",\n  \"issuanceDate\": \"2010-01-01T19:23:24Z\",\n  \"credentialSubject\": {\n    \"id\": \"https://example.edu/students/alice\",\n    \"alumniOf\": \"Example University\"\n  },\n  \"proof\": {\n    \"type\": \"DataIntegrityProof\",\n    \"created\": \"2023-03-01T21:29:24Z\",\n    \"verificationMethod\": \"https://example.edu/issuers/565049#zDnaekGZTbQBerwcehBSXLqAg6s55hVEBms1zFy89VHXtJSa9\",\n    \"cryptosuite\": \"ecdsa-rdfc-2019\",\n    \"proofPurpose\": \"assertionMethod\",\n    \"proofValue\": \"z5grbn9Tp8xC7p6LpmUdxxRdAx37azC2GQDdHBqq7ivFsaFUJtC81b8puwe2NmaEUYpxXQooXNnXL3M2NqySrzC5Z\"\n  }\n}\n```\n\n## Contribute\n\nSee [the contribute file](https://github.com/digitalbazaar/bedrock/blob/master/CONTRIBUTING.md)!\n\nPRs accepted.\n\nIf editing the Readme, please conform to the\n[standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n## Commercial Support\n\nCommercial support for this library is available upon request from\nDigital Bazaar: support@digitalbazaar.com\n\n## License\n\n[New BSD License (3-clause)](LICENSE) © 2023 Digital Bazaar\n","readmeFilename":"README.md"}