From 7ee04403d22fd23c3f30c15e1a67fdcec5f7797e Mon Sep 17 00:00:00 2001 From: Kristina Yasuda Date: Wed, 22 Jan 2025 14:51:00 +0100 Subject: [PATCH 1/2] clarify batch management --- openid-4-verifiable-credential-issuance-1_0.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openid-4-verifiable-credential-issuance-1_0.md b/openid-4-verifiable-credential-issuance-1_0.md index 0d196744..56473030 100644 --- a/openid-4-verifiable-credential-issuance-1_0.md +++ b/openid-4-verifiable-credential-issuance-1_0.md @@ -1101,6 +1101,8 @@ If the Client requested an encrypted response by including the `credential_respo If the Credential Response is not encrypted, the media type of the response MUST be set to `application/json`. +When the Wallet receives a new batch of the same Credential Datasets, the Wallet SHOULD delete any Credential Datasets it might have received previously. + The following parameters are used in the JSON-encoded Credential Response body: * `credentials`: OPTIONAL. Contains an array of one or more issued Credentials. It MUST NOT be used if the `transaction_id` parameter is present. The elements of the array MUST be objects. This specification defines the following parameters to be used inside this object: From d74abf67e1f506d8a5a0b6c37493bace8a4bce2a Mon Sep 17 00:00:00 2001 From: Kristina <52878547+Sakurann@users.noreply.github.com> Date: Wed, 5 Feb 2025 08:22:57 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Christian Bormann <8774236+c2bo@users.noreply.github.com> --- openid-4-verifiable-credential-issuance-1_0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openid-4-verifiable-credential-issuance-1_0.md b/openid-4-verifiable-credential-issuance-1_0.md index 56473030..f8300bab 100644 --- a/openid-4-verifiable-credential-issuance-1_0.md +++ b/openid-4-verifiable-credential-issuance-1_0.md @@ -1101,7 +1101,7 @@ If the Client requested an encrypted response by including the `credential_respo If the Credential Response is not encrypted, the media type of the response MUST be set to `application/json`. -When the Wallet receives a new batch of the same Credential Datasets, the Wallet SHOULD delete any Credential Datasets it might have received previously. +When the Wallet receives a new batch of Credentials containing a specific Credential Dataset, the Wallet SHOULD delete any Credentials containing the same Credential Dataset it might have received previously. The following parameters are used in the JSON-encoded Credential Response body: