From 93aaf98e36d1772475401cda0ead70afb3730dc4 Mon Sep 17 00:00:00 2001 From: Alex Tweeddale Date: Tue, 7 Jan 2025 09:15:53 +0000 Subject: [PATCH] GITBOOK-338: change request with no subject merged in GitBook --- advanced/anoncreds/revocation-registry-definition.md | 10 +++++----- advanced/anoncreds/revocation-status-list.md | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/advanced/anoncreds/revocation-registry-definition.md b/advanced/anoncreds/revocation-registry-definition.md index 7ee33e7..232978d 100644 --- a/advanced/anoncreds/revocation-registry-definition.md +++ b/advanced/anoncreds/revocation-registry-definition.md @@ -48,7 +48,7 @@ The required content and data model for the AnonCreds Revocation Registry Defini * `z` - a public key used to sign the accumulator (described further below) * `maxCredNum` - The maximum amount of Credentials that can be revoked in the Revocation Registry before a new one needs to be started * `tailsLocation` - The URL pointing to the related tails file - * `tailsHash` - The hash of the tails file [TAILS\_FILE](https://hyperledger.github.io/anoncreds-spec/#term:tails\_file) (see also: [next section](https://hyperledger.github.io/anoncreds-spec/#tails-file-and-tails-file-generation)) resulting from hashing the tails file version prepended to the tails file as SHA256 and then encoded to base58. + * `tailsHash` - The hash of the tails file [TAILS\_FILE](https://hyperledger.github.io/anoncreds-spec/#term:tails_file) (see also: [next section](https://hyperledger.github.io/anoncreds-spec/#tails-file-and-tails-file-generation)) resulting from hashing the tails file version prepended to the tails file as SHA256 and then encoded to base58. For example, the on-ledger Revocation Registry Definition Object Content is as fol @@ -162,7 +162,7 @@ Below is an example of a Payload file: "payload": { "collectionId": "zF7rhDBfUt9d1gJPjx7s1J", "id": "af20b1f0-5c4d-4037-9669-eaedddb9c2df", - "name": "universityDegree", // this is an additional input + "name": "universityDegree-1.0", // this is an additional input "version": "2.0", // this is an optional additional input "resourceType": "anonCredsRevocRegDef", "alsoKnownAs": [] @@ -178,9 +178,9 @@ Below is an example of a Payload file: When passing the Payload file to the ledger, additional inputs may be required within the Payload file to populate the [DID-Linked Resource](../../studio/did-linked-resources/understanding-dlrs/). In this instance, the only additional information required is: -| Additional parameter | Expected input | Rationale | -| -------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| "name" | "\" | The Payload file drawing inputs from the Resource file on its own does not provide the ledger the requisite amount of information to create a full DID-Linked Resource. resourceName must be provided as an additional input parameter | +| Additional parameter | Expected input | Rationale | +| -------------------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| "name" | "\-\" | The Payload file drawing inputs from the Resource file on its own does not provide the ledger the requisite amount of information to create a full DID-Linked Resource. resourceName must be provided as an additional input parameter, as well as a revocation tag. There must be a hyphen between them. | #### Publishing resource using CLI diff --git a/advanced/anoncreds/revocation-status-list.md b/advanced/anoncreds/revocation-status-list.md index 11048d9..85196d5 100644 --- a/advanced/anoncreds/revocation-status-list.md +++ b/advanced/anoncreds/revocation-status-list.md @@ -126,7 +126,7 @@ Below is an example of a Payload file: "payload": { "collectionId": "zF7rhDBfUt9d1gJPjx7s1J", "id": "af20b1f0-5c4d-4037-9669-eaedddb9c2df", - "name": "universityDegree", + "name": "universityDegree-1.0", "version": "", "resourceType": "anonCredsStatusList", "alsoKnownAs": [] @@ -142,9 +142,9 @@ Below is an example of a Payload file: When passing the Payload file to the ledger, additional inputs may be required within the Payload file to populate the [DID-Linked Resource](../../studio/did-linked-resources/understanding-dlrs/). In this instance, the only additional information required is: -| Additional parameter | Expected input | Rationale | -| -------------------- | ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| "name" | "\" | The Payload file drawing inputs from the Resource file on its own does not provide the ledger the requisite amount of information to create a full DID-Linked Resource. resourceName must be provided as an additional input parameter | +| Additional parameter | Expected input | Rationale | +| -------------------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| "name" | "\-\" | The Payload file drawing inputs from the Resource file on its own does not provide the ledger the requisite amount of information to create a full DID-Linked Resource. resourceName must be provided as an additional input parameter, as well as a revocation tag. There must be a hyphen between them. | #### Publishing resource using CLI