-
Notifications
You must be signed in to change notification settings - Fork 37
Description
ISO 23220-3 currently defines the following BatchIssuance structure. there is a proposal to use the base64url-encoded representation of the CBOR-encoded BatchIssuance structure in the credential response. so, this would mean extending https://openid.github.io/OpenID4VCI/openid-4-verifiable-credential-issuance-wg-draft.html#appendix-A.2.4
BatchIssuance = {
“docType” : DocType, ; Document type to be provisioned
? “dataElements”: NameSpacedData, ; new or updated data elements
“instances”: [ +IssuerSignedDehydrated ], ; array of IssuerAuth, i.e. MSOs, and respective data
? “policy”: Policy ; information about usage policy of MSOs
Policy = {
“one_time_use”: bool
}
Now, from here a personal opinion... I can see how this batch issuance structure could benefit frequent refresh of MSOs that have large portrait images. However, I don't support it since it adds a lot of protocol complexity, and changes processing logic for wallets - batch issuing sd-jwt is array of objects, but mdocs is array of one object. and believe that current mechanism of batch issue credentials should apply to mdocs too:
HTTP/1.1 200 OK
Content-Type: application/json
{
"credentials": [
{
"credential": "LUpixVCWJk0eOt4CXQe1NXK....WZwmhmn9OQp6YxX0a2L"
},
{
"credential": "YXNkZnNhZGZkamZqZGFza23....29tZTIzMjMyMzIzMjMy"
}
],
"notification_id": "3fwe98js"
}