Skip to content

Commit

Permalink
fix: clarified credential response for mso_mdoc and added shortened e…
Browse files Browse the repository at this point in the history
…xample
  • Loading branch information
awoie committed Jul 23, 2024
1 parent 0e01ec5 commit a046a5b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions examples/credential_response_mso_mdoc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store

{
"credential": "omppc3N1ZXJBdXRohEOhASahG...ArQwggKwMIICVqADAgEC"
}
6 changes: 5 additions & 1 deletion openid-4-verifiable-credential-issuance-1_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2266,7 +2266,11 @@ The following is a non-normative example of a Credential Request with Credential

### Credential Response

The value of the `credential` claim in the Credential Response MUST be a string that is the base64url-encoded representation of the issued Credential.
The value of the `credential` claim in the Credential Response MUST be a string that is the base64url-encoded representation of the CBOR-encoded `IssuerSigned` structure, as defined in [@!ISO.18013-5].

The following is a non-normative example of a Credential Response containing a Credential of format `mso_mdoc`.

<{{examples/credential_response_mso_mdoc.txt}}

## IETF SD-JWT VC

Expand Down

0 comments on commit a046a5b

Please sign in to comment.