diff --git a/dist/index.js b/dist/index.js index e888fef..3fdc692 100644 --- a/dist/index.js +++ b/dist/index.js @@ -60,16 +60,16 @@ exports.generateProofGraph = generateProofGraph; * @returns */ async function verifyProofGraph(dataset, proofGraph) { - // start fresh with the results: const report = { errors: [], warnings: [] }; - // this is the value that must be checked... const hash = await (0, utils_1.calculateDatasetHash)(dataset); - // just to make the handling uniform... - const proofs = (0, utils_1.isDatasetCore)(proofGraph) ? [proofGraph] : proofGraph; - // the "convertToStore" intermediate step is necessary; the proof graph checker needs a n3.Store - const promises = proofs.map(utils_1.convertToStore).map((pr_graph) => (0, proof_utils_1.verifyAProofGraph)(report, hash, pr_graph)); - const results = await Promise.all(promises); - const verified = (report.errors.length > 0) ? false : !results.includes(false); + const proofGraphs = (0, utils_1.isDatasetCore)(proofGraph) ? [proofGraph] : proofGraph; + const proofs = proofGraphs.map((pr) => { + return { + dataset: (0, utils_1.convertToStore)(pr), + id: undefined, + }; + }); + const verified = await (0, proof_utils_1.verifyProofGraphs)(report, hash, proofs); return { verified, verifiedDocument: verified ? dataset : null, @@ -154,8 +154,6 @@ exports.embedProofGraph = embedProofGraph; * @returns */ async function verifyEmbeddedProofGraph(dataset, anchor) { - // start fresh with the results: - const report = { errors: [], warnings: [] }; const dataStore = new n3.Store(); const proofGraphs = new utils_1.DatasetMap(); // First, identify the possible dataset graph IDs @@ -199,11 +197,10 @@ async function verifyEmbeddedProofGraph(dataset, anchor) { dataStore.add(q); } } + const report = { errors: [], warnings: [] }; const hash = await (0, utils_1.calculateDatasetHash)(dataStore); const proofs = proofGraphs.data(); - const promises = proofs.map((prGraph) => (0, proof_utils_1.verifyAProofGraph)(report, hash, prGraph.dataset, prGraph.id)); - const results = await Promise.all(promises); - const verified = (report.errors.length > 0) ? false : !results.includes(false); + const verified = await (0, proof_utils_1.verifyProofGraphs)(report, hash, proofs); return { verified, verifiedDocument: verified ? dataStore : null, diff --git a/dist/lib/crypto_utils.d.ts b/dist/lib/crypto_utils.d.ts index e777153..a50fd32 100644 --- a/dist/lib/crypto_utils.d.ts +++ b/dist/lib/crypto_utils.d.ts @@ -47,16 +47,17 @@ export declare function sign(report: Errors, message: string, secretKey: JsonWeb * * Possible errors are added to the report, no exceptions should be thrown. * - * @param report + * @param report - placeholder for error reports * @param message - * @param secretKey + * @param signature + * @param publicKey * @returns */ export declare function verify(report: Errors, message: string, signature: string, publicKey: JsonWebKey): Promise; /** * Mapping from the JWK data to the corresponding DI cryptosuite identifier. * - * @param report + * @param report - placeholder for error reports * @param keyPair * @returns */ diff --git a/dist/lib/crypto_utils.js b/dist/lib/crypto_utils.js index 3c378db..447d8f5 100644 --- a/dist/lib/crypto_utils.js +++ b/dist/lib/crypto_utils.js @@ -174,9 +174,10 @@ exports.sign = sign; * * Possible errors are added to the report, no exceptions should be thrown. * - * @param report + * @param report - placeholder for error reports * @param message - * @param secretKey + * @param signature + * @param publicKey * @returns */ async function verify(report, message, signature, publicKey) { @@ -207,7 +208,7 @@ exports.verify = verify; /** * Mapping from the JWK data to the corresponding DI cryptosuite identifier. * - * @param report + * @param report - placeholder for error reports * @param keyPair * @returns */ diff --git a/dist/lib/proof_utils.d.ts b/dist/lib/proof_utils.d.ts index 88933ff..bc2c6c3 100644 --- a/dist/lib/proof_utils.d.ts +++ b/dist/lib/proof_utils.d.ts @@ -9,8 +9,8 @@ * @packageDocumentation */ import * as rdf from '@rdfjs/types'; -import * as n3 from 'n3'; import { Errors, KeyData } from './types'; +import { GraphWithID } from './utils'; /*************************************************************************************** * Namespaces and specific terms that are used several times **************************************************************************************/ @@ -34,15 +34,16 @@ export declare const xsd_datetime: rdf.NamedNode; * Generate a (separate) proof graph, per the DI spec. The signature is stored in * [multibase format](https://www.w3.org/TR/vc-data-integrity/#multibase-0), using base64url encoding. * + * @param report - placeholder for error reports * @param hashValue - this is the value of the Dataset's canonical hash * @param keyData * @returns */ export declare function generateAProofGraph(report: Errors, hashValue: string, keyData: KeyData): Promise; /** - * Check one proof graph, ie, whether the included signature corresponds to the hash value. + * Check a series of proof graphs, ie, check whether the included signature of a proof graph corresponds to the hash value. * - * The following checks are also made: + * The following checks are also made for each proof graph: * * 1. There should be exactly one [proof value](https://www.w3.org/TR/vc-data-integrity/#dfn-proofvalue) * 2. There should be exactly one [verification method](https://www.w3.org/TR/vc-data-integrity/#dfn-verificationmethod), which should be a separate resource containing the key (in JWK) @@ -51,11 +52,12 @@ export declare function generateAProofGraph(report: Errors, hashValue: string, k * 4. The proof's [creation date](https://www.w3.org/TR/vc-data-integrity/#dfn-created) must be before the current time * 5. The proof [purpose(s)](https://www.w3.org/TR/vc-data-integrity/#dfn-proofpurpose) must be set, and the values are either [authentication](https://www.w3.org/TR/vc-data-integrity/#dfn-authentication) or [verification](https://www.w3.org/TR/vc-data-integrity/#dfn-verificationmethod) * - * Errors are stored in the `report` structure. If any error occurs, the result is false. + * Errors are stored in the `report` structure. + * If any error occurs in any proof graph the result is `false`; otherwise, result is the conjunction of each individual proof graph verifications. * - * @param report + * @param report - placeholder for error reports * @param hash - * @param proof + * @param proofs * @returns */ -export declare function verifyAProofGraph(report: Errors, hash: string, proof: n3.Store, proofId?: rdf.Quad_Graph): Promise; +export declare function verifyProofGraphs(report: Errors, hash: string, proofs: GraphWithID[]): Promise; diff --git a/dist/lib/proof_utils.js b/dist/lib/proof_utils.js index a903899..88cfed9 100644 --- a/dist/lib/proof_utils.js +++ b/dist/lib/proof_utils.js @@ -10,7 +10,7 @@ * @packageDocumentation */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.verifyAProofGraph = exports.generateAProofGraph = exports.xsd_datetime = exports.sec_created = exports.sec_revoked = exports.sec_expires = exports.sec_verificationMethod = exports.sec_assertionMethod = exports.sec_authenticationMethod = exports.sec_proofPurpose = exports.sec_publicKeyJwk = exports.sec_proofValue = exports.sec_di_proof = exports.sec_proof = exports.rdf_type = exports.xsd_prefix = exports.rdf_prefix = exports.sec_prefix = void 0; +exports.verifyProofGraphs = exports.generateAProofGraph = exports.xsd_datetime = exports.sec_created = exports.sec_revoked = exports.sec_expires = exports.sec_verificationMethod = exports.sec_assertionMethod = exports.sec_authenticationMethod = exports.sec_proofPurpose = exports.sec_publicKeyJwk = exports.sec_proofValue = exports.sec_di_proof = exports.sec_proof = exports.rdf_type = exports.xsd_prefix = exports.rdf_prefix = exports.sec_prefix = void 0; const n3 = require("n3"); const uuid_1 = require("uuid"); const types = require("./types"); @@ -42,6 +42,7 @@ exports.xsd_datetime = (0, exports.xsd_prefix)('dateTime'); * Generate a (separate) proof graph, per the DI spec. The signature is stored in * [multibase format](https://www.w3.org/TR/vc-data-integrity/#multibase-0), using base64url encoding. * + * @param report - placeholder for error reports * @param hashValue - this is the value of the Dataset's canonical hash * @param keyData * @returns @@ -80,7 +81,7 @@ async function generateAProofGraph(report, hashValue, keyData) { exports.generateAProofGraph = generateAProofGraph; ; /** - * Check one proof graph, ie, whether the included signature corresponds to the hash value. + * Check a single proof graph, ie, whether the included signature corresponds to the hash value. * * The following checks are also made: * @@ -93,9 +94,10 @@ exports.generateAProofGraph = generateAProofGraph; * * Errors are stored in the `report` structure. If any error occurs, the result is false. * - * @param report + * @param report - placeholder for error reports * @param hash - * @param proof + * @param proof - the proof graph + * @param proofId - Id of the proof graph, if known; used in the error reports only * @returns */ async function verifyAProofGraph(report, hash, proof, proofId) { @@ -186,7 +188,7 @@ async function verifyAProofGraph(report, hash, proof, proofId) { const publicKey = getPublicKey(proof); const proofValue = getProofValue(proof); // The final set of error/warning should be modified with the proof graph's ID, if applicable - if (proofId) { + if (proofId !== undefined) { localErrors.forEach((error) => { error.detail = `${error.detail} (graph ID: <${proofId.value}>)`; }); @@ -206,4 +208,42 @@ async function verifyAProofGraph(report, hash, proof, proofId) { return false; } } -exports.verifyAProofGraph = verifyAProofGraph; +/** + * Check a series of proof graphs, ie, check whether the included signature of a proof graph corresponds to the hash value. + * + * The following checks are also made for each proof graph: + * + * 1. There should be exactly one [proof value](https://www.w3.org/TR/vc-data-integrity/#dfn-proofvalue) + * 2. There should be exactly one [verification method](https://www.w3.org/TR/vc-data-integrity/#dfn-verificationmethod), which should be a separate resource containing the key (in JWK) + * 3. The key's (optional) [expiration](https://www.w3.org/TR/vc-data-integrity/#defn-proof-expires) and + * [revocation](https://www.w3.org/TR/vc-data-integrity/#dfn-revoked) dates are checked and compared to the current time which should be "before" + * 4. The proof's [creation date](https://www.w3.org/TR/vc-data-integrity/#dfn-created) must be before the current time + * 5. The proof [purpose(s)](https://www.w3.org/TR/vc-data-integrity/#dfn-proofpurpose) must be set, and the values are either [authentication](https://www.w3.org/TR/vc-data-integrity/#dfn-authentication) or [verification](https://www.w3.org/TR/vc-data-integrity/#dfn-verificationmethod) + * + * Errors are stored in the `report` structure. + * If any error occurs in any proof graph the result is `false`; otherwise, result is the conjunction of each individual proof graph verifications. + * + * @param report - placeholder for error reports + * @param hash + * @param proofs + * @returns + */ +async function verifyProofGraphs(report, hash, proofs) { + const allErrors = []; + const singleVerification = async (pr) => { + const singleReport = { errors: [], warnings: [] }; + allErrors.push(singleReport); + return verifyAProofGraph(singleReport, hash, pr.dataset, pr.id); + }; + const promises = proofs.map(singleVerification); + const result = await Promise.all(promises); + // consolidate error messages. By using allErrors the error messages + // follow the same order as the incoming proof graph references, + // and are not possibly shuffled by the async calls + for (const singleReport of allErrors) { + report.errors = [...report.errors, ...singleReport.errors]; + report.warnings = [...report.warnings, ...singleReport.warnings]; + } + return !result.includes(false); +} +exports.verifyProofGraphs = verifyProofGraphs; diff --git a/dist/lib/utils.d.ts b/dist/lib/utils.d.ts index 4763de0..3ed4374 100644 --- a/dist/lib/utils.d.ts +++ b/dist/lib/utils.d.ts @@ -32,8 +32,8 @@ export declare function createPrefix(uri: string): (l: string) => rdf.NamedNode; /** * Structure with a separate store and its ID as a graph */ -export interface MapContent { - id: rdf.Quad_Graph; +export interface GraphWithID { + id: rdf.Quad_Graph | undefined; dataset: n3.Store; } /** @@ -55,7 +55,7 @@ export declare class DatasetMap { item(graph: rdf.Quad_Graph): n3.Store; has(graph: rdf.Term): boolean; datasets(): n3.Store[]; - data(): MapContent[]; + data(): GraphWithID[]; } /***************************************************************************************** * Misc Utility Functions diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index b6e4ad1..58af86e 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE52X227bMAyG38W7LbY2PWzNXZEUbRcECHboTVEYikXHQhXLk+Q0xtB3Hxw7sRTLlLLb5Of30xYp0i9/Iw1bHY0jllPYRmdRQXQWjaO1oCUH9WX38+dMr3l0Fr2xnEbj0VmUZIxTCXk0fjkAVpCDJBoWUoj0QZIi62hpmSeaiXzP62tti5urj7MDeAOSpVUI9liJQGG9BBrCPBJ687yv9TSMPRSBmMygmhJNsIP61GkawNXF7dXluUl5ro1ZQupkfoAquUaBTvkQewbVHDShAVkauiHaRFaFFqpkGhSKOxIO8faVN4MKxdk65FmnoAnjeG6WzGa9GjTOlpG7t5Ldw8WldjpxtoxNRVC7KrbKXZXZg9VCb9UHkRopwkq6M3yiQUgrAiE7jx3hGnqEesdXHU1Xhess7vjq6DzOb79eXI+sGt94MRO58WEeVebFPKrMh5npyouZ6cqLcbQGyzXIlCRO5EF/RL6+sZqkqG9JrBMMwUlz6w6/sY/RjjBvl5xo0QtCDBQkcSEhZdsQcqdGkJKmJyA7NYLcKnoCslN7sqyrtANuiGRk6SqHvdbGXY5671GINIR3EHuAlJ3G3OtD8nwmvAx6eDvChy6XnCUzqL6/vwXDjZiQzBelLIQ6Lfc2xoMnpc4g1+3GMgedCRpq44r12SkF8j+c7DCPycbYwU7z6Ud6rGBbMGmuWzi/lXugEjbiDYKTbuUeaCKB6HBoK0eg9ZVDiQbN1kGFaep7WHNs7Qape2Dt/goaVe5lGPJybZJMlY39FvgJcDSnG2w/oD+orfG/IEx6mK3KA+p/TgzB9koPcBoEm3pACymWHNbN1tLhEl43tsmyhDbxYmSeyb2UQg7vSw2tEXkSE2n80CwoTOTxLsSToSMCS3VOeCrkGmjcxHotnAGoA1NropPsENGbFw6TgRjM5ynfEM5obNZ3fHzD9q2QMMztd75DsZQB9b+0vrrPNm8ZZC0OX4ibW3KBrmn7r69OiaxoTNWtpEBPhAScaElRZK+N3ThnH9sfnYQnJScaWudHoga38/axHRGYgcg3IPUv8VN7n9/WItB3yTTEf0pCFU40hAhuToqJyDXkw1OgwXVC7AZqX8ycFO7qblidylXVrx+v/wBug2aanhQAAA==" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE52XXW/aMBSG/0t2i7aWfmzjripV2yEktI/uoqoiE58QqybObIcSTf3vU0ggNnGOzW7hPc97HB/7HD//jTRsdTSJWE5hG42igugsmkRrQUsO6tPu54+ZXvNoFL2ynEaT8ShKMsaphDyaPB8AK8hBEg0LKUR6L0mRdbS0zBPNRL7n9bW2xfXl++gA3oBkaRWCPVYiUFgvgYYwj4TePO9qPQ1jD0UgJjOopkQTbKM+dJoGcHn+9fLizKQ81cYsIXUy30GVXKNAp3yIPYNqDprQgCwN3RDtVlaFFqpkGhSKOxIO8faVN4MKxdk6ZK1T0IRxPDdLZrNeDBpny8h9tpLd4uJSO504W8amIui4KrbKXZXZg9VCb9UHkRopwkq6PXykQUgrAiE7tx3hGnqEesNXHU1XhWsvbvjqaD/Ovn4+vxpbNb7xYm7lxod5UJkX86AyH2amKy9mpisvxnE0WK5BpiRxIg/6I/LVtXVIivqWxE6CITipb93gN/Yx2hF2Qg9TIRa9IMRAQRIXElK2DSF3agQpaXoCslMjyK2iJyA7tSfLuko74IZIRpaucthrbdzFuPcdhUhDeAexB0jZacy9PiTPJ8LLoMXbET50ueQsmUH17e01GG7EhGS+KGUh1Gm5tzEePCl1BrluJ5Y56EzQUBtXrM9OKZD/4WSHeUw2xgx2mk8/0mMF24JJc9zC+a3cA5WwEa8QnHQr90ATCUSHQ1s5Aq2vHEo0aLYOKkxT38OabWvXSN0Na/dXUKtyD8OQl2uTZKps7JfAJ8BRn26w/YB+o7ba/4Iw6WG2Kg+o/5wYgu2VHuA0CDb1gBZSLDmsm6mlwyW8PtgmyxLaxPOxuSd3Ugo5PC81tEbkSUyk8X0zoDCRx7sQT4aOCCzVOeGpkGugcRPrtXAGoA5MrYlOskNEr184TAZiMJ/HfEM4o7FZ3/HxDdu3QsIwt1/5DsVSBtT/0frqPtu8ZZCxOHwgbm7JBTqm7V9fnRIZ0Ziqj5ICfSsk4ERLiiJ7x9iNc55j+9FJeFJyoqF1fiBq8AHQLtsRgRmIfANS/xQ/tHf9thaBvkmmIf5TEjr4lGiIhhDB7d4Xv5nOHqeD10/DM5TYHdR+mjkp3PXdwDqVq65f3l/+AdYZl0CgFAAA" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index f87c408..8028553 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE71dW2/cxg7+L/Kr6mpGd78VcdH25AQIzqUvi8BQdse2jndXeyStEyPIfy9GGkmkltRt1Ty5tcn5SH4k5yJp8s3Ksy+Fdbf5Zr2kx511J23rmByUdWelx536atnWOd9bd9Yh2533qvi5+u3tc3nYW7a13SdFoQrrzrK+280IgdcO8aSOKk9K9THPssff8uT03I73eD5uyzQ7NiNeihIgtnVKcnUsW+tI1FeVp49vEzD7gosR1eGz2k0A7Mld6eGverTdJGBOYZ4FXW7s088/b/O3U5k9nMt0X1ykyT79/AAFpmZMkT4dCS8uhtNyw8ZfmDgQySmIteQamLVEcU5L9cduCjRSWMOCptjeq0muA/HF6NKJQ+F3GfTL/qmFLt9OVMr8sn9aDe5d/joG9y5/XQ3u9+J5DO73YqT6ZsC9L9/G4N6XV3DnBx2UertXZQJrPj2WKn9MtiRsK74YXTiyy1z9Y/funL+qJfA3SH2aJWAMzqjnBNA9xxyjuJohVfc9F/9Ux6dymUX9Ea4xDU8XJz3pDMwW4O9zlxe/DM6A/cEJrfHchNYPTCTzLLnQWcGOQm0fT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9pCDwTNHxyGsQOYwah3l7wAVNBwPJNOAccbeq0fhBCuwh2u6PH9uaBcQfa5XO3Bi+GBzyBn6FX/J9s6pSe1T4/Kutt8+v79L/judEInaQAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE71dWXPcRg7+L9TrRGE3b72lrFTi9brKtUf2YcqlomdaEldzLcmRo3L5v2812SSBHoDXMH5SIgH9AfgA9EGy/c3Jj18L5279zXnJDlvnTq6cQ7pXzp2THbbqT2flnPOdc+fsj9vzThU/V7+9fS73O2flbHZpUajCuXOc76tmhNBvh3hSB5WnpfqUH4+Pv+Xp6bkd7/F82JTZ8dCMeClKgKycU5qrQ9laR6K+qjx7fBuBaQvORlT7L2o7AtCSu9LDX/Vo21HAnMI0C7rc2GVfft7kb6fy+HAus11xkSa77MsDFBibMUX2dCC8uBhOy/Ubf2FiTyTHINaSS2DWEsU5K9X77RhopLCEBU2xfVCjXAfis9Glm0Qi6DLol91TC12+naiU+WX3tBjcu/x1CO5d/roY3O/F8xDc78VA9U2A+1C+DcF9KK/gLgg7KPV2r8oU1nx2KFX+mG5I2FZ8NrpwZZe5+sf23Tl/VXPgb5D6OEvAGJxRzymge4o5RnExQ6ruey7+rg5P5TyL7BGuMQ1PFyc96fTMFuDvU5cXv/TOgPbghNZwbkLrRy06ihGWXOgsYEehNg+nXD1mf44woBNeADnfPo5H7oQXQP6z2I5H7oTnInsS+awbbov7muZZ+oXK6UZ0AdSatuPxcQRsK7sQ7jabBN2IL+n1H+nuPCbiWGEpC85fdtnmg3r729eXsTYAlSXj8Omcn47FpEgYlYWsSM/lszqU2SbVpfZRlc/H7UhrKNWlrCoKlU83CGstZEvV4efE51JxIYvUn6csV8VIM4z0Qti5ej2+qLEhMNILYW9ylZajsY30Ath6utmmpSqz/ZhKheJz0fG6q9oPkCuu6i+9a60Y7J/aLWg3mDqc93AoKDRsfG0YWMl2mwy12RbpeJibRn4ADGnSyHmRPpyKCS7edBrLoBeTPO80ZqLD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LerNbWwTTwOVoqV+OAFowgwUHSMAFwM8gaKZQrpvrAZqHsoBfMJmIpg1JriW8qLd9+2gcGAJCFrjNIByLL+rtVN1SAxoLaO0+1wheSlS8As7anMGX93sDq4HRPerovlcAD2cULubg3jLQeoGzHucseOkSJDacAV2u0ezbr55q01X9ojQYBkQu4gzYd59f1MOcmu+hwEAgeWKOAnMT787cxAsiCL3hzNAC20190TFQhU2TI6+9wwHkGSg137T8kIvjqf6m/XJqD0CDC7meWAftqfsw9JIG0Foj1ghzJQbwASSebybfkKs1eJdtN4QEyOyE110JCxQB4ZLrVO0VJyBiIOMCsykIuKJpL6IDPoMG47O+NlfIAT3QkH0uxOjWzMvZxANjeL1joKtAiYGAEx7nBLriEeiChPe4hMfX2gLWQL5Kbt5Hd2oCYLhQ5Eoc3tUMYEHg2N0BuAIYaAJvZZ+3lSbRmCSoc8mtANoBXut7eIE66EyS60zdjbgv6u2/+hJdMACoUcnlObpJFEQc1JjH1Zh9tSqRbaDGPa7G63+lArQk0NgYFfMhBNABaR2aTUFkViOx2ZTHZgOUmNpPOE7shhOAQIZmeRI1pwqmgccGLDFgCcfYGX7vcNmOgfMJl3Qw5rl5GxG0GxBzXzYLMs7X7ppHMAIoN58rt0Zx217CCAYA2eNz2dP8YyFgDQqmol4lZf7pFXobBMF7h6HV4bQ0Uh01KwlSkV1+dne9ALtBw/FNOoUcb+jtfhBCuJJ2uaLH1+iCcgXZ53G1B++HB16DnKFX7p9Xzik7qV12UM7d+vP37/8HRR4sLS5pAAA="; \ No newline at end of file diff --git a/docs/classes/lib_types.Invalid_Verification_Method.html b/docs/classes/lib_types.Invalid_Verification_Method.html index 37d03ce..361804f 100644 --- a/docs/classes/lib_types.Invalid_Verification_Method.html +++ b/docs/classes/lib_types.Invalid_Verification_Method.html @@ -1,11 +1,11 @@ -Invalid_Verification_Method | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Superclass for the various error conditions. The entries are based on the DI specification.

-

Hierarchy (view full)

Constructors

constructor +Invalid_Verification_Method | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

Superclass for the various error conditions. The entries are based on the DI specification.

+

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

type: string

The vocabulary URL for the entry

-
code: number

The error code

-
title: string

Title (essentially the error type name)

-
detail: string

More detailed description of the error condition

-
\ No newline at end of file +

Constructors

Properties

type: string

The vocabulary URL for the entry

+
code: number

The error code

+
title: string

Title (essentially the error type name)

+
detail: string

More detailed description of the error condition

+
\ No newline at end of file diff --git a/docs/classes/lib_types.Malformed_Proof_Error.html b/docs/classes/lib_types.Malformed_Proof_Error.html index f3dc092..5126e51 100644 --- a/docs/classes/lib_types.Malformed_Proof_Error.html +++ b/docs/classes/lib_types.Malformed_Proof_Error.html @@ -1,11 +1,11 @@ -Malformed_Proof_Error | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Superclass for the various error conditions. The entries are based on the DI specification.

-

Hierarchy (view full)

Constructors

constructor +Malformed_Proof_Error | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

Superclass for the various error conditions. The entries are based on the DI specification.

+

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

type: string

The vocabulary URL for the entry

-
code: number

The error code

-
title: string

Title (essentially the error type name)

-
detail: string

More detailed description of the error condition

-
\ No newline at end of file +

Constructors

Properties

type: string

The vocabulary URL for the entry

+
code: number

The error code

+
title: string

Title (essentially the error type name)

+
detail: string

More detailed description of the error condition

+
\ No newline at end of file diff --git a/docs/classes/lib_types.Mismatched_Proof_Purpose.html b/docs/classes/lib_types.Mismatched_Proof_Purpose.html index 03f70d4..ec21c96 100644 --- a/docs/classes/lib_types.Mismatched_Proof_Purpose.html +++ b/docs/classes/lib_types.Mismatched_Proof_Purpose.html @@ -1,11 +1,11 @@ -Mismatched_Proof_Purpose | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Superclass for the various error conditions. The entries are based on the DI specification.

-

Hierarchy (view full)

Constructors

constructor +Mismatched_Proof_Purpose | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

Superclass for the various error conditions. The entries are based on the DI specification.

+

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

type: string

The vocabulary URL for the entry

-
code: number

The error code

-
title: string

Title (essentially the error type name)

-
detail: string

More detailed description of the error condition

-
\ No newline at end of file +

Constructors

Properties

type: string

The vocabulary URL for the entry

+
code: number

The error code

+
title: string

Title (essentially the error type name)

+
detail: string

More detailed description of the error condition

+
\ No newline at end of file diff --git a/docs/classes/lib_types.ProblemDetail.html b/docs/classes/lib_types.ProblemDetail.html index 68ff0cc..9a0e545 100644 --- a/docs/classes/lib_types.ProblemDetail.html +++ b/docs/classes/lib_types.ProblemDetail.html @@ -1,11 +1,11 @@ -ProblemDetail | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Superclass for the various error conditions. The entries are based on the DI specification.

-

Hierarchy (view full)

Constructors

constructor +ProblemDetail | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

Superclass for the various error conditions. The entries are based on the DI specification.

+

Hierarchy (view full)

Constructors

Properties

Constructors

  • Parameters

    • detail: string
    • title: string
    • code: number

    Returns ProblemDetail

Properties

type: string

The vocabulary URL for the entry

-
code: number

The error code

-
title: string

Title (essentially the error type name)

-
detail: string

More detailed description of the error condition

-
\ No newline at end of file +

Constructors

Properties

type: string

The vocabulary URL for the entry

+
code: number

The error code

+
title: string

Title (essentially the error type name)

+
detail: string

More detailed description of the error condition

+
\ No newline at end of file diff --git a/docs/classes/lib_types.Proof_Generation_Error.html b/docs/classes/lib_types.Proof_Generation_Error.html index 93d1b7e..f9df3e1 100644 --- a/docs/classes/lib_types.Proof_Generation_Error.html +++ b/docs/classes/lib_types.Proof_Generation_Error.html @@ -1,11 +1,11 @@ -Proof_Generation_Error | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Superclass for the various error conditions. The entries are based on the DI specification.

-

Hierarchy (view full)

Constructors

constructor +Proof_Generation_Error | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

Superclass for the various error conditions. The entries are based on the DI specification.

+

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

type: string

The vocabulary URL for the entry

-
code: number

The error code

-
title: string

Title (essentially the error type name)

-
detail: string

More detailed description of the error condition

-
\ No newline at end of file +

Constructors

Properties

type: string

The vocabulary URL for the entry

+
code: number

The error code

+
title: string

Title (essentially the error type name)

+
detail: string

More detailed description of the error condition

+
\ No newline at end of file diff --git a/docs/classes/lib_types.Unclassified_Error.html b/docs/classes/lib_types.Unclassified_Error.html index c8dfc69..aa2fe3f 100644 --- a/docs/classes/lib_types.Unclassified_Error.html +++ b/docs/classes/lib_types.Unclassified_Error.html @@ -1,11 +1,11 @@ -Unclassified_Error | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Superclass for the various error conditions. The entries are based on the DI specification.

-

Hierarchy (view full)

Constructors

constructor +Unclassified_Error | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

Superclass for the various error conditions. The entries are based on the DI specification.

+

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

type: string

The vocabulary URL for the entry

-
code: number

The error code

-
title: string

Title (essentially the error type name)

-
detail: string

More detailed description of the error condition

-
\ No newline at end of file +

Constructors

Properties

type: string

The vocabulary URL for the entry

+
code: number

The error code

+
title: string

Title (essentially the error type name)

+
detail: string

More detailed description of the error condition

+
\ No newline at end of file diff --git a/docs/classes/lib_utils.DatasetMap.html b/docs/classes/lib_utils.DatasetMap.html index ca6d994..0acf378 100644 --- a/docs/classes/lib_utils.DatasetMap.html +++ b/docs/classes/lib_utils.DatasetMap.html @@ -1,11 +1,11 @@ -DatasetMap | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

A shell around a Map, which is indexed by the value of rdf Terms.

+DatasetMap | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

A shell around a Map, which is indexed by the value of rdf Terms.

(At the moment, the map value is a structure, that also includes the original term; that may become unnecessary on long term.)

-

Constructors

Constructors

Methods

Constructors

Methods

  • Create a new dataset, if needed, otherwise returns the +

Constructors

Methods

  • Create a new dataset, if needed, otherwise returns the dataset already stored.

    -

    Parameters

    • graph: Quad_Graph

    Returns Store<Quad, Quad, Quad, Quad>

  • Parameters

    • graph: Term

    Returns boolean

  • Returns Store<Quad, Quad, Quad, Quad>[]

\ No newline at end of file +

Parameters

  • graph: Quad_Graph

Returns Store<Quad, Quad, Quad, Quad>

  • Parameters

    • graph: Term

    Returns boolean

  • Returns Store<Quad, Quad, Quad, Quad>[]

\ No newline at end of file diff --git a/docs/enums/lib_types.Cryptosuites.html b/docs/enums/lib_types.Cryptosuites.html index 1c62d72..051e542 100644 --- a/docs/enums/lib_types.Cryptosuites.html +++ b/docs/enums/lib_types.Cryptosuites.html @@ -1,4 +1,4 @@ -Cryptosuites | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Enumeration Members

ecdsa +Cryptosuites | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file +

Enumeration Members

ecdsa: "ecdsa-2022"
rsa_pss: "rdfjs-di-rsa-pss"
rsa_ssa: "rdfjs-di-rss-ssa"
\ No newline at end of file diff --git a/docs/functions/index.embedProofGraph.html b/docs/functions/index.embedProofGraph.html index fa2e294..3f87e5d 100644 --- a/docs/functions/index.embedProofGraph.html +++ b/docs/functions/index.embedProofGraph.html @@ -1,6 +1,6 @@ -embedProofGraph | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/functions/index.generateProofGraph.html b/docs/functions/index.generateProofGraph.html index 96a606e..64b5760 100644 --- a/docs/functions/index.generateProofGraph.html +++ b/docs/functions/index.generateProofGraph.html @@ -1,6 +1,6 @@ -generateProofGraph | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/functions/index.verifyEmbeddedProofGraph.html b/docs/functions/index.verifyEmbeddedProofGraph.html index b6b20ab..ac67af1 100644 --- a/docs/functions/index.verifyEmbeddedProofGraph.html +++ b/docs/functions/index.verifyEmbeddedProofGraph.html @@ -1,4 +1,4 @@ -verifyEmbeddedProofGraph | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +

Parameters

  • dataset: DatasetCore<Quad, Quad>
  • Optional anchor: Quad_Subject

Returns Promise<VerificationResult>

\ No newline at end of file diff --git a/docs/functions/index.verifyProofGraph.html b/docs/functions/index.verifyProofGraph.html index baa5a05..2306278 100644 --- a/docs/functions/index.verifyProofGraph.html +++ b/docs/functions/index.verifyProofGraph.html @@ -1,4 +1,4 @@ -verifyProofGraph | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/functions/lib_crypto_utils.cryptosuiteId.html b/docs/functions/lib_crypto_utils.cryptosuiteId.html index 899c933..cd13d00 100644 --- a/docs/functions/lib_crypto_utils.cryptosuiteId.html +++ b/docs/functions/lib_crypto_utils.cryptosuiteId.html @@ -1,3 +1,3 @@ -cryptosuiteId | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Returns Cryptosuites | null

\ No newline at end of file diff --git a/docs/functions/lib_crypto_utils.generateKey.html b/docs/functions/lib_crypto_utils.generateKey.html index 07b392d..df3e0f0 100644 --- a/docs/functions/lib_crypto_utils.generateKey.html +++ b/docs/functions/lib_crypto_utils.generateKey.html @@ -1,4 +1,4 @@ -generateKey | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/functions/lib_crypto_utils.sign.html b/docs/functions/lib_crypto_utils.sign.html index e0cfdb7..552fd11 100644 --- a/docs/functions/lib_crypto_utils.sign.html +++ b/docs/functions/lib_crypto_utils.sign.html @@ -1,6 +1,6 @@ -sign | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/functions/lib_crypto_utils.verify.html b/docs/functions/lib_crypto_utils.verify.html index f7ed0e9..d036810 100644 --- a/docs/functions/lib_crypto_utils.verify.html +++ b/docs/functions/lib_crypto_utils.verify.html @@ -1,4 +1,4 @@ -verify | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Returns Promise<boolean>

\ No newline at end of file diff --git a/docs/functions/lib_proof_utils.generateAProofGraph.html b/docs/functions/lib_proof_utils.generateAProofGraph.html index c29de35..968e45e 100644 --- a/docs/functions/lib_proof_utils.generateAProofGraph.html +++ b/docs/functions/lib_proof_utils.generateAProofGraph.html @@ -1,5 +1,5 @@ -generateAProofGraph | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Returns Promise<rdf.DatasetCore>

\ No newline at end of file diff --git a/docs/functions/lib_proof_utils.rdf_prefix.html b/docs/functions/lib_proof_utils.rdf_prefix.html index 8bdfa9f..bae02e8 100644 --- a/docs/functions/lib_proof_utils.rdf_prefix.html +++ b/docs/functions/lib_proof_utils.rdf_prefix.html @@ -1 +1 @@ -rdf_prefix | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +rdf_prefix | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/functions/lib_proof_utils.sec_prefix.html b/docs/functions/lib_proof_utils.sec_prefix.html index 0d00c41..72b1d21 100644 --- a/docs/functions/lib_proof_utils.sec_prefix.html +++ b/docs/functions/lib_proof_utils.sec_prefix.html @@ -1,4 +1,4 @@ -sec_prefix | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/functions/lib_proof_utils.verifyAProofGraph.html b/docs/functions/lib_proof_utils.verifyAProofGraph.html deleted file mode 100644 index 8f58161..0000000 --- a/docs/functions/lib_proof_utils.verifyAProofGraph.html +++ /dev/null @@ -1,15 +0,0 @@ -verifyAProofGraph | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
  • Check one proof graph, ie, whether the included signature corresponds to the hash value.

    -

    The following checks are also made:

    -
      -
    1. There should be exactly one proof value
    2. -
    3. There should be exactly one verification method, which should be a separate resource containing the key (in JWK)
    4. -
    5. The key's (optional) expiration and -revocation dates are checked and compared to the current time which should be "before"
    6. -
    7. The proof's creation date must be before the current time
    8. -
    9. The proof purpose(s) must be set, and the values are either authentication or verification
    10. -
    -

    Errors are stored in the report structure. If any error occurs, the result is false.

    -

    Parameters

    • report: Errors

      placeholder for error reports

      -
    • hash: string
    • proof: Store<Quad, Quad, Quad, Quad>

      the proof graph

      -
    • Optional proofId: Quad_Graph

      Id of the proof graph, if known; used in the error reports only

      -

    Returns Promise<boolean>

\ No newline at end of file diff --git a/docs/functions/lib_proof_utils.verifyProofGraphs.html b/docs/functions/lib_proof_utils.verifyProofGraphs.html new file mode 100644 index 0000000..f01e383 --- /dev/null +++ b/docs/functions/lib_proof_utils.verifyProofGraphs.html @@ -0,0 +1,14 @@ +verifyProofGraphs | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
  • Check a series of proof graphs, ie, check whether the included signature of a proof graph corresponds to the hash value.

    +

    The following checks are also made for each proof graph:

    +
      +
    1. There should be exactly one proof value
    2. +
    3. There should be exactly one verification method, which should be a separate resource containing the key (in JWK)
    4. +
    5. The key's (optional) expiration and +revocation dates are checked and compared to the current time which should be "before"
    6. +
    7. The proof's creation date must be before the current time
    8. +
    9. The proof purpose(s) must be set, and the values are either authentication or verification
    10. +
    +

    Errors are stored in the report structure. +If any error occurs in any proof graph the result is false; otherwise, result is the conjunction of each individual proof graph verifications.

    +

    Parameters

    Returns Promise<boolean>

\ No newline at end of file diff --git a/docs/functions/lib_proof_utils.xsd_prefix.html b/docs/functions/lib_proof_utils.xsd_prefix.html index 9143180..24aa03b 100644 --- a/docs/functions/lib_proof_utils.xsd_prefix.html +++ b/docs/functions/lib_proof_utils.xsd_prefix.html @@ -1 +1 @@ -xsd_prefix | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +xsd_prefix | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/functions/lib_utils.calculateDatasetHash.html b/docs/functions/lib_utils.calculateDatasetHash.html index 82ee7c1..ba7ece4 100644 --- a/docs/functions/lib_utils.calculateDatasetHash.html +++ b/docs/functions/lib_utils.calculateDatasetHash.html @@ -1,2 +1,2 @@ -calculateDatasetHash | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +calculateDatasetHash | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/functions/lib_utils.convertToStore.html b/docs/functions/lib_utils.convertToStore.html index 5a69f8d..778958d 100644 --- a/docs/functions/lib_utils.convertToStore.html +++ b/docs/functions/lib_utils.convertToStore.html @@ -1,3 +1,3 @@ -convertToStore | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/functions/lib_utils.createPrefix.html b/docs/functions/lib_utils.createPrefix.html index 87bd54b..7fe444d 100644 --- a/docs/functions/lib_utils.createPrefix.html +++ b/docs/functions/lib_utils.createPrefix.html @@ -1,4 +1,4 @@ -createPrefix | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/functions/lib_utils.isDatasetCore.html b/docs/functions/lib_utils.isDatasetCore.html index 6560701..edfcd83 100644 --- a/docs/functions/lib_utils.isDatasetCore.html +++ b/docs/functions/lib_utils.isDatasetCore.html @@ -1,2 +1,2 @@ -isDatasetCore | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +isDatasetCore | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/functions/lib_utils.isKeyData.html b/docs/functions/lib_utils.isKeyData.html index 61cb9e6..6546ec6 100644 --- a/docs/functions/lib_utils.isKeyData.html +++ b/docs/functions/lib_utils.isKeyData.html @@ -1,2 +1,2 @@ -isKeyData | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +isKeyData | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/functions/lib_utils.write_quads.html b/docs/functions/lib_utils.write_quads.html index 10e94c2..faae500 100644 --- a/docs/functions/lib_utils.write_quads.html +++ b/docs/functions/lib_utils.write_quads.html @@ -1 +1 @@ -write_quads | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +write_quads | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 99b16e9..fb7f018 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 5e05641..fc23284 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Data Integrity algorithms for RDF Datasets — Proof of concepts implementation

This is a proof-of-concept implementation (in Typescript) of the Verifiable Credentials Data Integrity (DI) specification of the W3C. The DI specification is primarily aimed at Verifiable Credentials (i.e., JSON-LD based data structures to express credentials) but the approach is such that it can be used for any kind of RDF Datasets. This implementation does that.

+Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

Data Integrity algorithms for RDF Datasets — Proof of concepts implementation

This is a proof-of-concept implementation (in Typescript) of the Verifiable Credentials Data Integrity (DI) specification of the W3C. The DI specification is primarily aimed at Verifiable Credentials (i.e., JSON-LD based data structures to express credentials) but the approach is such that it can be used for any kind of RDF Datasets. This implementation does that.

It is proof-of-concepts, because, primarily at validation time it doesn't do all the checks that the DI specification describes, and have not (yet) been cross-checked with other DI implementations. What it proves, however, is that the DI specification may indeed be used to provide a proof for an RDF Dataset in the form of a separate "Proof Graph", i.e., an RDF Graph containing a signature that can be separated by a verifier.

Some details

The steps for signature follow the "usual" approach for signing data, namely:

    @@ -21,4 +21,4 @@
  1. A small RDF graph and its "verifiable" version with embedded proof graphs
  2. (Note that the API works on an RDF Data model level, and does not include a Turtle/TriG parser or serializer; that should be done separately.)

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/interfaces/lib_crypto_utils.KeyDetails.html b/docs/interfaces/lib_crypto_utils.KeyDetails.html index 16cc9e6..09ebd37 100644 --- a/docs/interfaces/lib_crypto_utils.KeyDetails.html +++ b/docs/interfaces/lib_crypto_utils.KeyDetails.html @@ -1,5 +1,5 @@ -KeyDetails | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Information that may be used when generating new keys

-
interface KeyDetails {
    namedCurve?: Crv;
    hash?: Hsh;
    modulusLength?: number;
}

Properties

namedCurve? +KeyDetails | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file +

Properties

namedCurve?: Crv
hash?: Hsh
modulusLength?: number
\ No newline at end of file diff --git a/docs/interfaces/lib_types.Errors.html b/docs/interfaces/lib_types.Errors.html index 5535ebf..82fedcf 100644 --- a/docs/interfaces/lib_types.Errors.html +++ b/docs/interfaces/lib_types.Errors.html @@ -1,3 +1,3 @@ -Errors | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
interface Errors {
    warnings: ProblemDetail[];
    errors: ProblemDetail[];
}

Hierarchy (view full)

Properties

warnings +Errors | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file +

Properties

warnings: ProblemDetail[]
errors: ProblemDetail[]
\ No newline at end of file diff --git a/docs/interfaces/lib_types.KeyData.html b/docs/interfaces/lib_types.KeyData.html index 427bd7d..eb0c017 100644 --- a/docs/interfaces/lib_types.KeyData.html +++ b/docs/interfaces/lib_types.KeyData.html @@ -1,7 +1,7 @@ -KeyData | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
interface KeyData {
    controller?: string;
    expires?: string;
    revoked?: string;
    cryptosuite?: string;
    public: JsonWebKey;
    private: JsonWebKey;
}

Hierarchy (view full)

Properties

controller? +KeyData | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
interface KeyData {
    controller?: string;
    expires?: string;
    revoked?: string;
    cryptosuite?: string;
    public: JsonWebKey;
    private: JsonWebKey;
}

Hierarchy (view full)

Properties

controller?: string
expires?: string
revoked?: string
cryptosuite?: string
public: JsonWebKey
private: JsonWebKey
\ No newline at end of file +

Properties

controller?: string
expires?: string
revoked?: string
cryptosuite?: string
public: JsonWebKey
private: JsonWebKey
\ No newline at end of file diff --git a/docs/interfaces/lib_types.KeyMetadata.html b/docs/interfaces/lib_types.KeyMetadata.html index fc4bb44..a994fe9 100644 --- a/docs/interfaces/lib_types.KeyMetadata.html +++ b/docs/interfaces/lib_types.KeyMetadata.html @@ -1,5 +1,5 @@ -KeyMetadata | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
interface KeyMetadata {
    controller?: string;
    expires?: string;
    revoked?: string;
    cryptosuite?: string;
}

Hierarchy (view full)

Properties

controller? +KeyMetadata | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
interface KeyMetadata {
    controller?: string;
    expires?: string;
    revoked?: string;
    cryptosuite?: string;
}

Hierarchy (view full)

Properties

controller?: string
expires?: string
revoked?: string
cryptosuite?: string
\ No newline at end of file +

Properties

controller?: string
expires?: string
revoked?: string
cryptosuite?: string
\ No newline at end of file diff --git a/docs/interfaces/lib_types.KeyPair.html b/docs/interfaces/lib_types.KeyPair.html index 72be998..e2088df 100644 --- a/docs/interfaces/lib_types.KeyPair.html +++ b/docs/interfaces/lib_types.KeyPair.html @@ -1,3 +1,3 @@ -KeyPair | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
interface KeyPair {
    public: JsonWebKey;
    private: JsonWebKey;
}

Hierarchy (view full)

Properties

public +KeyPair | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file +

Properties

public: JsonWebKey
private: JsonWebKey
\ No newline at end of file diff --git a/docs/interfaces/lib_types.VerificationResult.html b/docs/interfaces/lib_types.VerificationResult.html index abd827f..a07b2ad 100644 --- a/docs/interfaces/lib_types.VerificationResult.html +++ b/docs/interfaces/lib_types.VerificationResult.html @@ -1,5 +1,5 @@ -VerificationResult | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
interface VerificationResult {
    verified: boolean;
    verifiedDocument: DatasetCore<Quad, Quad>;
    warnings: ProblemDetail[];
    errors: ProblemDetail[];
}

Hierarchy (view full)

Properties

verified +VerificationResult | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
interface VerificationResult {
    verified: boolean;
    verifiedDocument: DatasetCore<Quad, Quad>;
    warnings: ProblemDetail[];
    errors: ProblemDetail[];
}

Hierarchy (view full)

Properties

verified: boolean
verifiedDocument: DatasetCore<Quad, Quad>
warnings: ProblemDetail[]
errors: ProblemDetail[]
\ No newline at end of file +

Properties

verified: boolean
verifiedDocument: DatasetCore<Quad, Quad>
warnings: ProblemDetail[]
errors: ProblemDetail[]
\ No newline at end of file diff --git a/docs/interfaces/lib_utils.GraphWithID.html b/docs/interfaces/lib_utils.GraphWithID.html new file mode 100644 index 0000000..48b95c6 --- /dev/null +++ b/docs/interfaces/lib_utils.GraphWithID.html @@ -0,0 +1,4 @@ +GraphWithID | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/interfaces/lib_utils.MapContent.html b/docs/interfaces/lib_utils.MapContent.html deleted file mode 100644 index 0499ac8..0000000 --- a/docs/interfaces/lib_utils.MapContent.html +++ /dev/null @@ -1,4 +0,0 @@ -MapContent | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file diff --git a/docs/modules/index.html b/docs/modules/index.html index 0af885c..414100a 100644 --- a/docs/modules/index.html +++ b/docs/modules/index.html @@ -1,5 +1,5 @@ -index | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Externally visible API level for the package.

-

References

KeyData +index | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file +

References

Re-exports KeyData
Re-exports VerificationResult
Re-exports KeyMetadata
Re-exports Cryptosuites
Re-exports generateKey
Re-exports KeyDetails
\ No newline at end of file diff --git a/docs/modules/lib_crypto_utils.html b/docs/modules/lib_crypto_utils.html index 450fdf7..dddd6f5 100644 --- a/docs/modules/lib_crypto_utils.html +++ b/docs/modules/lib_crypto_utils.html @@ -1,11 +1,11 @@ -lib/crypto_utils | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

"Internal API" to the WebCrypto facilities.

+lib/crypto_utils | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0

"Internal API" to the WebCrypto facilities.

Put into a separate file for an easier maintenance; not meant to be part of the external API. Most of them are not exported (via index.ts) to package users.

Note that, at the moment, the "interchange format" for keys is restricted to JWK. One area of improvement may be to allow for other formats (the DI standard refers to Multikey).

-

Index

Interfaces

Index

Interfaces

Type Aliases

\ No newline at end of file +
\ No newline at end of file diff --git a/docs/modules/lib_proof_utils.html b/docs/modules/lib_proof_utils.html index f9eaade..7cbffd7 100644 --- a/docs/modules/lib_proof_utils.html +++ b/docs/modules/lib_proof_utils.html @@ -1,9 +1,9 @@ -lib/proof_utils | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

"Internal API" for handling proof graphs.

+lib/proof_utils | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/modules/lib_types.html b/docs/modules/lib_types.html index 57fe56a..43461be 100644 --- a/docs/modules/lib_types.html +++ b/docs/modules/lib_types.html @@ -1,5 +1,5 @@ -lib/types | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Common types and classes.

-

Index

Enumerations

Cryptosuites +lib/types | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/modules/lib_utils.html b/docs/modules/lib_utils.html index e2d24f2..d517eab 100644 --- a/docs/modules/lib_utils.html +++ b/docs/modules/lib_utils.html @@ -1,14 +1,14 @@ -lib/utils | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0

Collection of smaller utilities needed for the DI implementation.

+lib/utils | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/types/lib_crypto_utils.Alg.html b/docs/types/lib_crypto_utils.Alg.html index 6206d88..0063eba 100644 --- a/docs/types/lib_crypto_utils.Alg.html +++ b/docs/types/lib_crypto_utils.Alg.html @@ -1,2 +1,2 @@ -Alg | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +Alg | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/types/lib_crypto_utils.Crv.html b/docs/types/lib_crypto_utils.Crv.html index 6782977..d8c8eb4 100644 --- a/docs/types/lib_crypto_utils.Crv.html +++ b/docs/types/lib_crypto_utils.Crv.html @@ -1,2 +1,2 @@ -Crv | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +Crv | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/types/lib_crypto_utils.Hsh.html b/docs/types/lib_crypto_utils.Hsh.html index e69ff03..fbaed89 100644 --- a/docs/types/lib_crypto_utils.Hsh.html +++ b/docs/types/lib_crypto_utils.Hsh.html @@ -1,2 +1,2 @@ -Hsh | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +Hsh | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/types/lib_crypto_utils.Kty.html b/docs/types/lib_crypto_utils.Kty.html index 3eb72ef..17ac822 100644 --- a/docs/types/lib_crypto_utils.Kty.html +++ b/docs/types/lib_crypto_utils.Kty.html @@ -1,2 +1,2 @@ -Kty | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +Kty | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.rdf_type.html b/docs/variables/lib_proof_utils.rdf_type.html index 1254acf..2669314 100644 --- a/docs/variables/lib_proof_utils.rdf_type.html +++ b/docs/variables/lib_proof_utils.rdf_type.html @@ -1 +1 @@ -rdf_type | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +rdf_type | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_assertionMethod.html b/docs/variables/lib_proof_utils.sec_assertionMethod.html index d417ce2..a877aa2 100644 --- a/docs/variables/lib_proof_utils.sec_assertionMethod.html +++ b/docs/variables/lib_proof_utils.sec_assertionMethod.html @@ -1 +1 @@ -sec_assertionMethod | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_assertionMethod | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_authenticationMethod.html b/docs/variables/lib_proof_utils.sec_authenticationMethod.html index fa3533c..aec651a 100644 --- a/docs/variables/lib_proof_utils.sec_authenticationMethod.html +++ b/docs/variables/lib_proof_utils.sec_authenticationMethod.html @@ -1 +1 @@ -sec_authenticationMethod | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_authenticationMethod | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_created.html b/docs/variables/lib_proof_utils.sec_created.html index c58b56c..a46baf7 100644 --- a/docs/variables/lib_proof_utils.sec_created.html +++ b/docs/variables/lib_proof_utils.sec_created.html @@ -1 +1 @@ -sec_created | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_created | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_di_proof.html b/docs/variables/lib_proof_utils.sec_di_proof.html index 7abfd06..2b47b71 100644 --- a/docs/variables/lib_proof_utils.sec_di_proof.html +++ b/docs/variables/lib_proof_utils.sec_di_proof.html @@ -1 +1 @@ -sec_di_proof | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_di_proof | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_expires.html b/docs/variables/lib_proof_utils.sec_expires.html index 83a0c93..68e10e4 100644 --- a/docs/variables/lib_proof_utils.sec_expires.html +++ b/docs/variables/lib_proof_utils.sec_expires.html @@ -1 +1 @@ -sec_expires | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_expires | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_proof.html b/docs/variables/lib_proof_utils.sec_proof.html index 5621385..023e8eb 100644 --- a/docs/variables/lib_proof_utils.sec_proof.html +++ b/docs/variables/lib_proof_utils.sec_proof.html @@ -1 +1 @@ -sec_proof | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_proof | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_proofPurpose.html b/docs/variables/lib_proof_utils.sec_proofPurpose.html index 9416dbf..b2c05d4 100644 --- a/docs/variables/lib_proof_utils.sec_proofPurpose.html +++ b/docs/variables/lib_proof_utils.sec_proofPurpose.html @@ -1 +1 @@ -sec_proofPurpose | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_proofPurpose | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_proofValue.html b/docs/variables/lib_proof_utils.sec_proofValue.html index 2859615..b2cb822 100644 --- a/docs/variables/lib_proof_utils.sec_proofValue.html +++ b/docs/variables/lib_proof_utils.sec_proofValue.html @@ -1 +1 @@ -sec_proofValue | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_proofValue | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_publicKeyJwk.html b/docs/variables/lib_proof_utils.sec_publicKeyJwk.html index 9818c63..561b8d8 100644 --- a/docs/variables/lib_proof_utils.sec_publicKeyJwk.html +++ b/docs/variables/lib_proof_utils.sec_publicKeyJwk.html @@ -1 +1 @@ -sec_publicKeyJwk | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_publicKeyJwk | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_revoked.html b/docs/variables/lib_proof_utils.sec_revoked.html index 82e0639..f99be49 100644 --- a/docs/variables/lib_proof_utils.sec_revoked.html +++ b/docs/variables/lib_proof_utils.sec_revoked.html @@ -1 +1 @@ -sec_revoked | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_revoked | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.sec_verificationMethod.html b/docs/variables/lib_proof_utils.sec_verificationMethod.html index d0b3c0a..3b6f510 100644 --- a/docs/variables/lib_proof_utils.sec_verificationMethod.html +++ b/docs/variables/lib_proof_utils.sec_verificationMethod.html @@ -1 +1 @@ -sec_verificationMethod | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +sec_verificationMethod | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file diff --git a/docs/variables/lib_proof_utils.xsd_datetime.html b/docs/variables/lib_proof_utils.xsd_datetime.html index 2e9ef83..a1143b9 100644 --- a/docs/variables/lib_proof_utils.xsd_datetime.html +++ b/docs/variables/lib_proof_utils.xsd_datetime.html @@ -1 +1 @@ -xsd_datetime | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v1.0.0
\ No newline at end of file +xsd_datetime | Proof-of concepts Implementation of the Dataset Integrity Specification on top of rdf-js - v0.9.0
\ No newline at end of file