From 6173c6e8d81a7352288db0a40d90db0ff778fc2a Mon Sep 17 00:00:00 2001 From: Wind4Greg Date: Thu, 19 Dec 2024 09:13:09 -0800 Subject: [PATCH] Update permanent resident card example input to improve wording of description field and regenerate derived test vectors. --- TestVectors/prc/addBaseDocCanon.json | 2 +- TestVectors/prc/addBaseDocHMACCanon.json | 2 +- TestVectors/prc/addBaseTransform.json | 2 +- TestVectors/prc/addRawBaseSignatureInfo.json | 2 +- TestVectors/prc/addSignedSDBase.json | 4 +- TestVectors/prc/derivedAllGroupData.json | 116 +++++++++--------- TestVectors/prc/derivedDisclosureData.json | 7 +- TestVectors/prc/derivedRecoveredBaseData.json | 2 +- TestVectors/prc/derivedRevealDocument.json | 2 +- TestVectors/prc/verifyDerivedProofValue.json | 2 +- 10 files changed, 68 insertions(+), 73 deletions(-) diff --git a/TestVectors/prc/addBaseDocCanon.json b/TestVectors/prc/addBaseDocCanon.json index 34d6b44..413f066 100644 --- a/TestVectors/prc/addBaseDocCanon.json +++ b/TestVectors/prc/addBaseDocCanon.json @@ -17,7 +17,7 @@ "_:c14n1 \"2015-01-01\"^^ .\n", "_:c14n2 .\n", "_:c14n2 .\n", - "_:c14n2 \"Government of Utopia Permanent Resident Card.\" .\n", + "_:c14n2 \"Permanent Resident Card from Government of Utopia.\" .\n", "_:c14n2 \"Permanent Resident Card\" .\n", "_:c14n2 _:c14n1 .\n", "_:c14n2 .\n", diff --git a/TestVectors/prc/addBaseDocHMACCanon.json b/TestVectors/prc/addBaseDocHMACCanon.json index 77e6d45..8aedc17 100644 --- a/TestVectors/prc/addBaseDocHMACCanon.json +++ b/TestVectors/prc/addBaseDocHMACCanon.json @@ -17,7 +17,7 @@ "_:b1 \"999-999-999\" .\n", "_:b2 .\n", "_:b2 .\n", - "_:b2 \"Government of Utopia Permanent Resident Card.\" .\n", + "_:b2 \"Permanent Resident Card from Government of Utopia.\" .\n", "_:b2 \"Permanent Resident Card\" .\n", "_:b2 _:b0 .\n", "_:b2 .\n", diff --git a/TestVectors/prc/addBaseTransform.json b/TestVectors/prc/addBaseTransform.json index 42c5871..0420eee 100644 --- a/TestVectors/prc/addBaseTransform.json +++ b/TestVectors/prc/addBaseTransform.json @@ -88,7 +88,7 @@ ], [ 18, - "_:b2 \"Government of Utopia Permanent Resident Card.\" .\n" + "_:b2 \"Permanent Resident Card from Government of Utopia.\" .\n" ], [ 19, diff --git a/TestVectors/prc/addRawBaseSignatureInfo.json b/TestVectors/prc/addRawBaseSignatureInfo.json index 68cb00e..419c06b 100644 --- a/TestVectors/prc/addRawBaseSignatureInfo.json +++ b/TestVectors/prc/addRawBaseSignatureInfo.json @@ -1,5 +1,5 @@ { - "bbsSignature": "b3c14b108412c77448f5967187343ebaf53e0788e0b9af6e72226e8189dbf54477f25ec2d24631f84298228ccc786a1033a5a7cb64294d6307414d562ae615e00f1b4e094dfb1643865e4f3ed8256fdd", + "bbsSignature": "86168dd2b5d0c7c6a56a30f4212ed116a53def05d0d6708207d483c7ff2053aefa22d24ba7659d60852694f8d85be0fa2adc3974c7dc4cc68b3db17b2423975047104162c24502b41591879ac24f1bb1", "mandatoryPointers": [ "/issuer" ] diff --git a/TestVectors/prc/addSignedSDBase.json b/TestVectors/prc/addSignedSDBase.json index 57285f8..d91b234 100644 --- a/TestVectors/prc/addSignedSDBase.json +++ b/TestVectors/prc/addSignedSDBase.json @@ -12,7 +12,7 @@ "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2P4z/DiPwAG0ALnwgz64QAAAABJRU5ErkJggg==" }, "name": "Permanent Resident Card", - "description": "Government of Utopia Permanent Resident Card.", + "description": "Permanent Resident Card from Government of Utopia.", "credentialSubject": { "type": [ "PermanentResident", @@ -43,6 +43,6 @@ "created": "2023-08-15T23:36:38Z", "verificationMethod": "did:key:zUC7DerdEmfZ8f4pFajXgGwJoMkV1ofMTmEG5UoNvnWiPiLuGKNeqgRpLH2TV4Xe5mJ2cXV76gRN7LFQwapF1VFu6x2yrr5ci1mXqC1WNUrnHnLgvfZfMH7h6xP6qsf9EKRQrPQ#zUC7DerdEmfZ8f4pFajXgGwJoMkV1ofMTmEG5UoNvnWiPiLuGKNeqgRpLH2TV4Xe5mJ2cXV76gRN7LFQwapF1VFu6x2yrr5ci1mXqC1WNUrnHnLgvfZfMH7h6xP6qsf9EKRQrPQ", "proofPurpose": "assertionMethod", - "proofValue": "u2V0ChVhQs8FLEIQSx3RI9ZZxhzQ-uvU-B4jgua9uciJugYnb9UR38l7C0kYx-EKYIozMeGoQM6Wny2QpTWMHQU1WKuYV4A8bTglN-xZDhl5PPtglb91YQDpbvyXTTZCxjDXNI1e-am9CMB6U_J5S936Tt3PFYUvfjnzCLDGN0glOAtC_BsXXOl26cXYRpA9tG-3F6nwwD9ZYYKTvGvo9pXVJbxIrm3i4wkdhUxqKCTIGrnxFuAdZwWi6T3omD5wzZ7bAGbRneEEQSxBmXtvnC6Pr59nPv_v3HrAW9wq_uxYzF_NyaX3GPv0h_FV2T2OSao8C6uoyWiqIj1ggABEiM0RVZneImaq7zN3u_wARIjNEVWZ3iJmqu8zd7v-BZy9pc3N1ZXI" + "proofValue": "u2V0ChVhQhhaN0rXQx8alajD0IS7RFqU97wXQ1nCCB9SDx_8gU676ItJLp2WdYIUmlPjYW-D6Ktw5dMfcTMaLPbF7JCOXUEcQQWLCRQK0FZGHmsJPG7FYQDpbvyXTTZCxjDXNI1e-am9CMB6U_J5S936Tt3PFYUvfjnzCLDGN0glOAtC_BsXXOl26cXYRpA9tG-3F6nwwD9ZYYKTvGvo9pXVJbxIrm3i4wkdhUxqKCTIGrnxFuAdZwWi6T3omD5wzZ7bAGbRneEEQSxBmXtvnC6Pr59nPv_v3HrAW9wq_uxYzF_NyaX3GPv0h_FV2T2OSao8C6uoyWiqIj1ggABEiM0RVZneImaq7zN3u_wARIjNEVWZ3iJmqu8zd7v-BZy9pc3N1ZXI" } } \ No newline at end of file diff --git a/TestVectors/prc/derivedAllGroupData.json b/TestVectors/prc/derivedAllGroupData.json index e155630..586188a 100644 --- a/TestVectors/prc/derivedAllGroupData.json +++ b/TestVectors/prc/derivedAllGroupData.json @@ -95,7 +95,7 @@ ], [ 18, - "_:b2 \"Government of Utopia Permanent Resident Card.\" .\n" + "_:b2 \"Permanent Resident Card from Government of Utopia.\" .\n" ], [ 19, @@ -108,14 +108,14 @@ ] }, "deskolemizedNQuads": [ - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"Arcadia\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 _:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 \"2024-12-16T00:00:00Z\"^^ .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 \"2025-12-16T23:59:59Z\"^^ .\n" + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"Arcadia\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 _:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 \"2024-12-16T00:00:00Z\"^^ .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 \"2025-12-16T23:59:59Z\"^^ .\n" ] }, "mandatory": { @@ -205,7 +205,7 @@ ], [ 18, - "_:b2 \"Government of Utopia Permanent Resident Card.\" .\n" + "_:b2 \"Permanent Resident Card from Government of Utopia.\" .\n" ], [ 19, @@ -227,9 +227,9 @@ }, "deskolemizedNQuads": [ " .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n" + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n" ] }, "combined": { @@ -331,7 +331,7 @@ ], [ 18, - "_:b2 \"Government of Utopia Permanent Resident Card.\" .\n" + "_:b2 \"Permanent Resident Card from Government of Utopia.\" .\n" ], [ 19, @@ -341,15 +341,15 @@ }, "deskolemizedNQuads": [ " .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"Arcadia\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 _:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 \"2024-12-16T00:00:00Z\"^^ .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 \"2025-12-16T23:59:59Z\"^^ .\n" + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"Arcadia\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 _:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 \"2024-12-16T00:00:00Z\"^^ .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 \"2025-12-16T23:59:59Z\"^^ .\n" ] } }, @@ -414,7 +414,7 @@ "@type": [ "https://w3id.org/citizenship#PermanentResidentCard" ], - "@id": "urn:bnid:_5b442c70-954c-431b-8eb0-5e789d95558d_0" + "@id": "urn:bnid:_d3b161e0-573e-4362-81df-e9512fae4442_0" } ], "https://w3id.org/citizenship#residentSince": [ @@ -427,12 +427,12 @@ "https://w3id.org/citizenship#PermanentResident", "https://schema.org/Person" ], - "@id": "urn:bnid:_5b442c70-954c-431b-8eb0-5e789d95558d_1" + "@id": "urn:bnid:_d3b161e0-573e-4362-81df-e9512fae4442_1" } ], "https://schema.org/description": [ { - "@value": "Government of Utopia Permanent Resident Card." + "@value": "Permanent Resident Card from Government of Utopia." } ], "https://www.w3.org/2018/credentials#issuer": [ @@ -466,7 +466,7 @@ "@value": "2025-12-16T23:59:59Z" } ], - "@id": "urn:bnid:_5b442c70-954c-431b-8eb0-5e789d95558d_2" + "@id": "urn:bnid:_d3b161e0-573e-4362-81df-e9512fae4442_2" } ], "compact": { @@ -474,15 +474,15 @@ "https://www.w3.org/ns/credentials/v2", "https://w3id.org/citizenship/v4rc1" ], - "id": "urn:bnid:_5b442c70-954c-431b-8eb0-5e789d95558d_2", + "id": "urn:bnid:_d3b161e0-573e-4362-81df-e9512fae4442_2", "type": [ "VerifiableCredential", "PermanentResidentCardCredential" ], - "description": "Government of Utopia Permanent Resident Card.", + "description": "Permanent Resident Card from Government of Utopia.", "name": "Permanent Resident Card", "credentialSubject": { - "id": "urn:bnid:_5b442c70-954c-431b-8eb0-5e789d95558d_1", + "id": "urn:bnid:_d3b161e0-573e-4362-81df-e9512fae4442_1", "type": [ "PermanentResident", "Person" @@ -495,7 +495,7 @@ "birthCountry": "Arcadia", "commuterClassification": "C1", "permanentResidentCard": { - "id": "urn:bnid:_5b442c70-954c-431b-8eb0-5e789d95558d_0", + "id": "urn:bnid:_d3b161e0-573e-4362-81df-e9512fae4442_0", "type": "PermanentResidentCard", "identifier": "83627465", "lprCategory": "C09", @@ -513,43 +513,43 @@ }, "deskolemizedNQuads": [ " .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_0 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_0 \"83627465\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_0 \"C09\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_0 \"999-999-999\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"1978-07-17\"^^ .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"SMITH\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"Female\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"JANE\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"Arcadia\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"C1\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 _:_5b442c70-954c-431b-8eb0-5e789d95558d_0 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_1 \"2015-01-01\"^^ .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 \"Government of Utopia Permanent Resident Card.\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 \"Permanent Resident Card\" .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 _:_5b442c70-954c-431b-8eb0-5e789d95558d_1 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 \"2024-12-16T00:00:00Z\"^^ .\n", - "_:_5b442c70-954c-431b-8eb0-5e789d95558d_2 \"2025-12-16T23:59:59Z\"^^ .\n" + "_:_d3b161e0-573e-4362-81df-e9512fae4442_0 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_0 \"83627465\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_0 \"C09\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_0 \"999-999-999\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"1978-07-17\"^^ .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"SMITH\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"Female\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"JANE\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"Arcadia\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"C1\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 _:_d3b161e0-573e-4362-81df-e9512fae4442_0 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_1 \"2015-01-01\"^^ .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 \"Permanent Resident Card from Government of Utopia.\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 \"Permanent Resident Card\" .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 _:_d3b161e0-573e-4362-81df-e9512fae4442_1 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 \"2024-12-16T00:00:00Z\"^^ .\n", + "_:_d3b161e0-573e-4362-81df-e9512fae4442_2 \"2025-12-16T23:59:59Z\"^^ .\n" ], "labelMap": { "dataType": "Map", "value": [ [ - "_5b442c70-954c-431b-8eb0-5e789d95558d_0", + "_d3b161e0-573e-4362-81df-e9512fae4442_0", "b1" ], [ - "_5b442c70-954c-431b-8eb0-5e789d95558d_1", + "_d3b161e0-573e-4362-81df-e9512fae4442_1", "b0" ], [ - "_5b442c70-954c-431b-8eb0-5e789d95558d_2", + "_d3b161e0-573e-4362-81df-e9512fae4442_2", "b2" ] ] @@ -573,7 +573,7 @@ "_:b1 \"999-999-999\" .\n", "_:b2 .\n", "_:b2 .\n", - "_:b2 \"Government of Utopia Permanent Resident Card.\" .\n", + "_:b2 \"Permanent Resident Card from Government of Utopia.\" .\n", "_:b2 \"Permanent Resident Card\" .\n", "_:b2 _:b0 .\n", "_:b2 .\n", diff --git a/TestVectors/prc/derivedDisclosureData.json b/TestVectors/prc/derivedDisclosureData.json index e653054..13ba26b 100644 --- a/TestVectors/prc/derivedDisclosureData.json +++ b/TestVectors/prc/derivedDisclosureData.json @@ -1,6 +1 @@ -{ - "bbsProof":"88df7e0da849da430006b121f741678ddc40eec896965a53be0ca65b1fab6289b448e0bee88474f7cf0e252b4be69453ad42c07ec5ccabcd9198d79153dfc4a2275aa1edc9106fc052bcdbad3bca01a71e282c9b0b685870f880384f9e952ae7b300f35f7d85bba88dd8f3ed36af0ba3afa2d54d00fb951e692fa7b07819cd3f1120618cfce663bfe6e303ddb43d42966e5164b9bab2e2af0459a17a6ae1b069724173d6b397650bda3982fe96caef9b062a339430851b21893e300199ebecb994293e91200fbc800593a001894979953b15b96f41eb83b299321cd5a372f15b4be032860fabd6edee4153d90b0b6a4010299b170e03313b7b83d31f951e2c00a4e64aab8793441a1b6908220294572d7394b93c8454b9886ef5023217197cb08fa53dcd13dc2c479fc5c28fcfdd6e612af7eaaaef40c07e7edbc3de1fdd49227598148ec1b37ef0a6b5d5e8a794345f56efd893decc62a3dc3387f3ee2a44226ec4dddf47f850eb9dc4cde2f0edec0e71b1427168098d968343b2fc40d6fe7d071ba1ee1cd1f997d751313685e8c1990c9e77b4968197792e724133f0c35f4facd2aa66be3b2d665b3df683a9fa170d258076ff5d75348d07be8dd85b09475380986881841c26f3abbafe802522dc910a920df97a32b4f7570d134f0fb9bd46a3e4056e5d258dc7ac574a497918508047a383a04c5445256e81cf987c5486f9cbb2e34232890a1783b2fdd6af685f633fdab17e1576f960fc76e31475d9e512042af92bc7af153cc2346e2bf4a457f263e915f5589813ace84ef2fd83b941e8dd8ee80f8c507e5e2b98b28cbed1dc8f6dfd4f42c51dbd6d042eff18dc9c80691d29c4b571aba0c19e8dcde73ab9a3aa6f703cb666528416ade1551f273a96f58d806e3ef3b060592dba22da3099271a04945161d9c6e9c678bceb20f8bca70b1f107586f02b2bc09cf92f0182d133f028f25fe26404180590af2a3021a853f2849ddbfcb41f4f529b4ea055a03c4d76", - "labelMap":{"dataType":"Map","value":[["c14n0","b0"],["c14n1","b2"]]}, - "mandatoryIndexes":[0,4,5,7],"adjSelectiveIndexes":[0,1,7,17,18,19], - "presentationHeader":{"0":17,"1":51,"2":119,"3":170} -} \ No newline at end of file +{"bbsProof":"96ac5ff7b89bf2d8b0f3cc51c547f1a22b01e24e246579d212362cdf6bf0fabe18be0c9d1f84c904bb4c6c613fd0ecabb7ad92e615341da97a45a918721626cc859c455b473a36e39572561d5fc483c637424717a43dcffb3b130d8fe11f88a8802f3b231efe2444f8b47feded0b621e3d5cd22cb3ec23ebc4f6dca745b5c1ce2f42a710b92510a71225a7d39e00e0c26da2fae242cdf154e93de42017270b99023fe95b42c42a461a2eab19e04aa44839af39aa71f830162cb424a5aa0acc046dc7e7b8bdfc73cf3641c76aeeb7fbb56cd936776050dbd632bf7fc80d33c621dc6b837184ade619630f72bd25d8aea626ba994d15a65def1b0dc8af09c54a0cf5e5b54d1b1b28047aa2dbf63805fec9533bab46d12349ca47dfd83ff30454cedacd23da4eb9a3ebe198c80ac1992e2a203ffcf46afaa3482a63b7b00033df1a2da361d600a1cfd5139be010ca302e082af7ee34a5ff3d24cc7062f57fa36d47846edd5219e59bd438576bff709bfd7920d6bad8367b0fe8c749318ef8726beda9c1d9095bed738e4fd1c38333a27f4f2071a21a863671b43fe521f737444be865e887cbf33caa39226fb8013003721e37c6d949867befba1c8b7bf641bd647851ad92aed3da91af52f17d058a9f74eb30744304c05813840be6a528f54cd5a24b73ae2f42dec1bfc2e1354fb061a96c0df3ab96ddc9ada96cb882571cccb89774fcf0326e1c8b2b87cc4cf4eafbd75632518919cbe58a9f86ade12b0f6989c0886e358d801b99b1dd32c7e6e56a653c0e264a84b51d2d23679c75e282451af3bcaa6f19ec7bc3aa603fec87db5a57d42961e2907d899a8fd5d1ce17dde8a75cd1192494cd93b112da7774c2bb2f679f5b4b404dabe485d78a017b2be81e5ff8bacf90d5f24b2e83ab4169f8f55ca6f703141f91565abbec7445e6cf4663f5e34b9188283d57cedf36c586b18a130b83652436bf6862673ddeebd9aefdc2fbfc97dde80e36483491c4357ccd2fc131fb","labelMap":{"dataType":"Map","value":[["c14n0","b0"],["c14n1","b2"]]},"mandatoryIndexes":[0,4,5,7],"adjSelectiveIndexes":[0,1,7,17,18,19],"presentationHeader":{"0":17,"1":51,"2":119,"3":170}} \ No newline at end of file diff --git a/TestVectors/prc/derivedRecoveredBaseData.json b/TestVectors/prc/derivedRecoveredBaseData.json index c310237..479c747 100644 --- a/TestVectors/prc/derivedRecoveredBaseData.json +++ b/TestVectors/prc/derivedRecoveredBaseData.json @@ -1,5 +1,5 @@ { - "bbsSignature": "b3c14b108412c77448f5967187343ebaf53e0788e0b9af6e72226e8189dbf54477f25ec2d24631f84298228ccc786a1033a5a7cb64294d6307414d562ae615e00f1b4e094dfb1643865e4f3ed8256fdd", + "bbsSignature": "86168dd2b5d0c7c6a56a30f4212ed116a53def05d0d6708207d483c7ff2053aefa22d24ba7659d60852694f8d85be0fa2adc3974c7dc4cc68b3db17b2423975047104162c24502b41591879ac24f1bb1", "hmacKey": "00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff", "mandatoryPointers": [ "/issuer" diff --git a/TestVectors/prc/derivedRevealDocument.json b/TestVectors/prc/derivedRevealDocument.json index 79e8b3d..e3e3e7d 100644 --- a/TestVectors/prc/derivedRevealDocument.json +++ b/TestVectors/prc/derivedRevealDocument.json @@ -26,6 +26,6 @@ "created": "2023-08-15T23:36:38Z", "verificationMethod": "did:key:zUC7DerdEmfZ8f4pFajXgGwJoMkV1ofMTmEG5UoNvnWiPiLuGKNeqgRpLH2TV4Xe5mJ2cXV76gRN7LFQwapF1VFu6x2yrr5ci1mXqC1WNUrnHnLgvfZfMH7h6xP6qsf9EKRQrPQ#zUC7DerdEmfZ8f4pFajXgGwJoMkV1ofMTmEG5UoNvnWiPiLuGKNeqgRpLH2TV4Xe5mJ2cXV76gRN7LFQwapF1VFu6x2yrr5ci1mXqC1WNUrnHnLgvfZfMH7h6xP6qsf9EKRQrPQ", "proofPurpose": "assertionMethod", - "proofValue": "u2V0DhVkC0Ijffg2oSdpDAAaxIfdBZ43cQO7IlpZaU74Mplsfq2KJtEjgvuiEdPfPDiUrS-aUU61CwH7FzKvNkZjXkVPfxKInWqHtyRBvwFK82607ygGnHigsmwtoWHD4gDhPnpUq57MA8199hbuojdjz7TavC6OvotVNAPuVHmkvp7B4Gc0_ESBhjPzmY7_m4wPdtD1Clm5RZLm6suKvBFmhemrhsGlyQXPWs5dlC9o5gv6Wyu-bBiozlDCFGyGJPjABmevsuZQpPpEgD7yABZOgAYlJeZU7FblvQeuDspkyHNWjcvFbS-Ayhg-r1u3uQVPZCwtqQBApmxcOAzE7e4PTH5UeLACk5kqrh5NEGhtpCCIClFctc5S5PIRUuYhu9QIyFxl8sI-lPc0T3CxHn8XCj8_dbmEq9-qq70DAfn7bw94f3UkidZgUjsGzfvCmtdXop5Q0X1bv2JPezGKj3DOH8-4qRCJuxN3fR_hQ653EzeLw7ewOcbFCcWgJjZaDQ7L8QNb-fQcboe4c0fmX11ExNoXowZkMnne0loGXeS5yQTPww19PrNKqZr47LWZbPfaDqfoXDSWAdv9ddTSNB76N2FsJR1OAmGiBhBwm86u6_oAlItyRCpIN-XoytPdXDRNPD7m9RqPkBW5dJY3HrFdKSXkYUIBHo4OgTFRFJW6Bz5h8VIb5y7LjQjKJCheDsv3Wr2hfYz_asX4Vdvlg_HbjFHXZ5RIEKvkrx68VPMI0biv0pFfyY-kV9ViYE6zoTvL9g7lB6N2O6A-MUH5eK5iyjL7R3I9t_U9CxR29bQQu_xjcnIBpHSnEtXGroMGejc3nOrmjqm9wPLZmUoQWreFVHyc6lvWNgG4-87BgWS26ItowmScaBJRRYdnG6cZ4vOsg-LynCx8QdYbwKyvAnPkvAYLRM_Ao8l_iZAQYBZCvKjAhqFPyhJ3b_LQfT1KbTqBVoDxNdqIAAAEChAAEBQeGAAEHERITRBEzd6o" + "proofValue": "u2V0DhVkC0JasX_e4m_LYsPPMUcVH8aIrAeJOJGV50hI2LN9r8Pq-GL4MnR-EyQS7TGxhP9Dsq7etkuYVNB2pekWpGHIWJsyFnEVbRzo245VyVh1fxIPGN0JHF6Q9z_s7Ew2P4R-IqIAvOyMe_iRE-LR_7e0LYh49XNIss-wj68T23KdFtcHOL0KnELklEKcSJafTngDgwm2i-uJCzfFU6T3kIBcnC5kCP-lbQsQqRhouqxngSqRIOa85qnH4MBYstCSlqgrMBG3H57i9_HPPNkHHau63-7Vs2TZ3YFDb1jK_f8gNM8Yh3GuDcYSt5hljD3K9Jdiupia6mU0Vpl3vGw3IrwnFSgz15bVNGxsoBHqi2_Y4Bf7JUzurRtEjScpH39g_8wRUztrNI9pOuaPr4ZjICsGZLiogP_z0avqjSCpjt7AAM98aLaNh1gChz9UTm-AQyjAuCCr37jSl_z0kzHBi9X-jbUeEbt1SGeWb1DhXa_9wm_15INa62DZ7D-jHSTGO-HJr7anB2Qlb7XOOT9HDgzOif08gcaIahjZxtD_lIfc3REvoZeiHy_M8qjkib7gBMANyHjfG2UmGe--6HIt79kG9ZHhRrZKu09qRr1LxfQWKn3TrMHRDBMBYE4QL5qUo9UzVoktzri9C3sG_wuE1T7BhqWwN86uW3cmtqWy4glcczLiXdPzwMm4ciyuHzEz06vvXVjJRiRnL5Yqfhq3hKw9picCIbjWNgBuZsd0yx-blamU8DiZKhLUdLSNnnHXigkUa87yqbxnse8OqYD_sh9taV9QpYeKQfYmaj9XRzhfd6Kdc0RkklM2TsRLad3TCuy9nn1tLQE2r5IXXigF7K-geX_i6z5DV8ksug6tBafj1XKb3AxQfkVZau-x0RebPRmP140uRiCg9V87fNsWGsYoTC4NlJDa_aGJnPd7r2a79wvv8l93oDjZINJHENXzNL8Ex-6IAAAEChAAEBQeGAAEHERITRBEzd6o" } } \ No newline at end of file diff --git a/TestVectors/prc/verifyDerivedProofValue.json b/TestVectors/prc/verifyDerivedProofValue.json index efe8812..bc776c9 100644 --- a/TestVectors/prc/verifyDerivedProofValue.json +++ b/TestVectors/prc/verifyDerivedProofValue.json @@ -1,5 +1,5 @@ { - "bbsProof": "88df7e0da849da430006b121f741678ddc40eec896965a53be0ca65b1fab6289b448e0bee88474f7cf0e252b4be69453ad42c07ec5ccabcd9198d79153dfc4a2275aa1edc9106fc052bcdbad3bca01a71e282c9b0b685870f880384f9e952ae7b300f35f7d85bba88dd8f3ed36af0ba3afa2d54d00fb951e692fa7b07819cd3f1120618cfce663bfe6e303ddb43d42966e5164b9bab2e2af0459a17a6ae1b069724173d6b397650bda3982fe96caef9b062a339430851b21893e300199ebecb994293e91200fbc800593a001894979953b15b96f41eb83b299321cd5a372f15b4be032860fabd6edee4153d90b0b6a4010299b170e03313b7b83d31f951e2c00a4e64aab8793441a1b6908220294572d7394b93c8454b9886ef5023217197cb08fa53dcd13dc2c479fc5c28fcfdd6e612af7eaaaef40c07e7edbc3de1fdd49227598148ec1b37ef0a6b5d5e8a794345f56efd893decc62a3dc3387f3ee2a44226ec4dddf47f850eb9dc4cde2f0edec0e71b1427168098d968343b2fc40d6fe7d071ba1ee1cd1f997d751313685e8c1990c9e77b4968197792e724133f0c35f4facd2aa66be3b2d665b3df683a9fa170d258076ff5d75348d07be8dd85b09475380986881841c26f3abbafe802522dc910a920df97a32b4f7570d134f0fb9bd46a3e4056e5d258dc7ac574a497918508047a383a04c5445256e81cf987c5486f9cbb2e34232890a1783b2fdd6af685f633fdab17e1576f960fc76e31475d9e512042af92bc7af153cc2346e2bf4a457f263e915f5589813ace84ef2fd83b941e8dd8ee80f8c507e5e2b98b28cbed1dc8f6dfd4f42c51dbd6d042eff18dc9c80691d29c4b571aba0c19e8dcde73ab9a3aa6f703cb666528416ade1551f273a96f58d806e3ef3b060592dba22da3099271a04945161d9c6e9c678bceb20f8bca70b1f107586f02b2bc09cf92f0182d133f028f25fe26404180590af2a3021a853f2849ddbfcb41f4f529b4ea055a03c4d76", + "bbsProof": "96ac5ff7b89bf2d8b0f3cc51c547f1a22b01e24e246579d212362cdf6bf0fabe18be0c9d1f84c904bb4c6c613fd0ecabb7ad92e615341da97a45a918721626cc859c455b473a36e39572561d5fc483c637424717a43dcffb3b130d8fe11f88a8802f3b231efe2444f8b47feded0b621e3d5cd22cb3ec23ebc4f6dca745b5c1ce2f42a710b92510a71225a7d39e00e0c26da2fae242cdf154e93de42017270b99023fe95b42c42a461a2eab19e04aa44839af39aa71f830162cb424a5aa0acc046dc7e7b8bdfc73cf3641c76aeeb7fbb56cd936776050dbd632bf7fc80d33c621dc6b837184ade619630f72bd25d8aea626ba994d15a65def1b0dc8af09c54a0cf5e5b54d1b1b28047aa2dbf63805fec9533bab46d12349ca47dfd83ff30454cedacd23da4eb9a3ebe198c80ac1992e2a203ffcf46afaa3482a63b7b00033df1a2da361d600a1cfd5139be010ca302e082af7ee34a5ff3d24cc7062f57fa36d47846edd5219e59bd438576bff709bfd7920d6bad8367b0fe8c749318ef8726beda9c1d9095bed738e4fd1c38333a27f4f2071a21a863671b43fe521f737444be865e887cbf33caa39226fb8013003721e37c6d949867befba1c8b7bf641bd647851ad92aed3da91af52f17d058a9f74eb30744304c05813840be6a528f54cd5a24b73ae2f42dec1bfc2e1354fb061a96c0df3ab96ddc9ada96cb882571cccb89774fcf0326e1c8b2b87cc4cf4eafbd75632518919cbe58a9f86ade12b0f6989c0886e358d801b99b1dd32c7e6e56a653c0e264a84b51d2d23679c75e282451af3bcaa6f19ec7bc3aa603fec87db5a57d42961e2907d899a8fd5d1ce17dde8a75cd1192494cd93b112da7774c2bb2f679f5b4b404dabe485d78a017b2be81e5ff8bacf90d5f24b2e83ab4169f8f55ca6f703141f91565abbec7445e6cf4663f5e34b9188283d57cedf36c586b18a130b83652436bf6862673ddeebd9aefdc2fbfc97dde80e36483491c4357ccd2fc131fb", "labelMap": [ [ "c14n0",