From 2b8bba8eb02b8cf4d159e80d9922d33cb9ad5f85 Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Fri, 20 Jan 2023 16:18:22 -0600 Subject: [PATCH 1/3] Propose "instead of" in terms of media type --- index.html | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 281c84f4..37d19702 100644 --- a/index.html +++ b/index.html @@ -519,12 +519,14 @@
JWT Decoding
+
+

Version 1.1

Production

This section describes how to produce a VC-JWT encoded - VerifiableCredential from a Credential. + VerifiableCredential from an object of media type application/credential+ld+json.

@@ -540,14 +542,14 @@

In addition to...

There are several members (claims) of the - Credential which will need to be translated to their JOSE + application/credential+ld+json which will need to be translated to their JOSE form, and included next to the vc or vp member in the JWT Claims Set. We refer to the JWT Claims Set as payload in this section.

- If a member is not present in the Credential it MUST NOT + If a member is not present in the application/credential+ld+json it MUST NOT be present in the VerifiableCredential as either a claim in the payload or a claim in the vc attribute of the payload. @@ -556,7 +558,7 @@

In addition to...

We start with an empty header, and payload objects, and we add members to the header and the payload based on the content in the - Credential. + application/credential+ld+json.

@@ -621,10 +623,30 @@

issuance

Instead of...

-

This section needs to be defined.

+

+ This representation can be obtained by: +

+
    +
  1. + Completing the mapping for In Addition To.... +
  2. +
  3. + Removing any properties from the application/credential+ld+json that were mapped. +
  4. +
  5. + Setting the resulting object to be the vc member of the claim set. +
  6. +
+ +

+ The object value for the vc property, + when Instead of... production rules have been applied, + is not of media type application/credential+ld+json. +

+
- +

Privacy Considerations

From a3656e56be350462f8505193d2b7c3a213c10fec Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Fri, 20 Jan 2023 17:34:18 -0600 Subject: [PATCH 2/3] Update index.html Co-authored-by: Ted Thibodeau Jr --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 37d19702..3d01d316 100644 --- a/index.html +++ b/index.html @@ -624,7 +624,7 @@

issuance

Instead of...

- This representation can be obtained by: + The following steps are one way to obtain this representation:

  1. From 47cb25974ddac0e967bfc4f0a8e135fc3faeb115 Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Fri, 20 Jan 2023 17:35:02 -0600 Subject: [PATCH 3/3] Update index.html Co-authored-by: Ted Thibodeau Jr --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 3d01d316..4c50dbb2 100644 --- a/index.html +++ b/index.html @@ -628,13 +628,13 @@

    Instead of...

    1. - Completing the mapping for In Addition To.... + Complete the mapping for In Addition To....
    2. - Removing any properties from the application/credential+ld+json that were mapped. + Remove any properties from the application/credential+ld+json that were mapped.
    3. - Setting the resulting object to be the vc member of the claim set. + Set the resulting object to be the vc member of the claim set.