Skip to content

Commit

Permalink
Revert "changing to signing_alg"
Browse files Browse the repository at this point in the history
This reverts commit 1a09ae7.
  • Loading branch information
Kristina committed Oct 2, 2023
1 parent db765a9 commit 6586bb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions draft-oid4vc-haip-sd-jwt-vc.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ The following is a non-normative example of a Credential Response with Credentia

The Verifier SHOULD add a `vp_formats_supported` element to its metadata (e.g. in the `client_metadata` authorization request parameter) to let the wallet know what protection algorithms it supports in conjunction with SD-JWT VCs. The format element MUST have the key `vc+sd-jwt`, the value is an object consisting of the following elements:

* `sd_jwt_signing_alg`: OPTIONAL. A JSON array containing identifiers of cryptographic algorithms the verifier supports for protection of a SD-JWT. If present, the `alg` JOSE header (as defined in [@!RFC7515]) of the presented SD-JWT MUST match one of the array values.
* `kb_jwt_signing_alg`: OPTIONAL. A JSON array containing identifiers of cryptographic algorithms the verifier supports for protection of a KB-JWT. If present, the `alg` JOSE header (as defined in [@!RFC7515]) of the presented KB-JWT MUST match one of the array values.
* `sd_jwt_alg`: OPTIONAL. A JSON array containing identifiers of cryptographic algorithms the verifier supports for protection of a SD-JWT. If present, the `alg` JOSE header (as defined in [@!RFC7515]) of the presented SD-JWT MUST match one of the array values.
* `kb_jwt_alg`: OPTIONAL. A JSON array containing identifiers of cryptographic algorithms the verifier supports for protection of a KB-JWT. If present, the `alg` JOSE header (as defined in [@!RFC7515]) of the presented KB-JWT MUST match one of the array values.

The following is a non-normative example of `client_metadata` request parameter value in a request to present a SD-JWT VC.

Expand Down
4 changes: 2 additions & 2 deletions examples/client_metadata_sd_jwt_vc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"vp_formats": {
"vc+sd-jwt": {
"sd_jwt_signing_alg": [
"sd_jwt_alg": [
"ES256",
"ES384"
],
"kb_jwt_signing_alg": [
"kb_jwt_alg": [
"ES256",
"ES384"
]
Expand Down

0 comments on commit 6586bb2

Please sign in to comment.