You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, a value of `https://credentials.example.com/identity_credential` can be associated with rules that define that at least the registered JWT claims `given_name`, `family_name`, `birthdate`, and `address` must appear in the Unsecured Payload. Additionally, the registered JWT claims `email` and `phone_number`, and the private claims `is_over_18`, `is_over_21`, and `is_over_65` may be used. The type might also indicate that any of the aforementioned claims can be selectively disclosable.
233
235
234
236
#### Registered JWT Claims {#claims}
@@ -627,6 +629,9 @@ The extended type MAY itself extend another type. This can be used to create a
627
629
chain or hierarchy of types. The security considerations described in
628
630
(#circular-extends) apply in order to avoid problems with circular dependencies.
629
631
632
+
Processing details when extending type metadata are described in
633
+
(#display-metadata-extends) and (#claim-metadata-extends).
634
+
630
635
# Document Integrity {#document-integrity}
631
636
632
637
The `vct` claim in the SD-JWT VC as defined in (#claims) and various URIs in the
@@ -772,6 +777,17 @@ template and thereby compromise the security of the consuming application. The
772
777
consuming application MUST NOT execute any code in the SVG template. If code
773
778
execution cannot be prevented reliably, the SVG display MUST be sandboxed.
774
779
780
+
Furthermore, consuming applications MUST ensure that references to external
781
+
resources (images, etc.) from within the SVG cannot be used to track users or
The `extends` property allows a type to inherit claim metadata from another type. When present, all claim metadata from the extended type MUST be respected and are inherited by the child type. The child type can extend the claim metadata by adding new claims or properties. If the child type defines claim metadata with the same `path` as in the extended type, the child type's object will override the corresponding object from the extended type.
936
+
When an SD-JWT VC type extends another type as described in
937
+
(#extending-type-metadata), all claim metadata from the extended type MUST be
938
+
respected and are inherited by the child type. The child type can extend the
939
+
claim metadata by adding new claims or properties. If the child type defines
940
+
claim metadata with the same `path` as in the extended type, the child type's
941
+
object will override the corresponding object from the extended type.
942
+
943
+
### Limitations for `sd` and `mandatory`
917
944
918
945
An extending type can specify an `sd` property for a claim that is marked as
919
946
`allowed` in the extended type (or where `sd` was omitted), changing it to either `always` or `never`.
@@ -924,6 +951,8 @@ Similarly, an extending type can set the `mandatory` property of a claim that is
924
951
optional in the extended type to `true`, but it MUST NOT change a claim that is
925
952
`mandatory` in the extended type to `false`.
926
953
954
+
### Example for Extending Type Metadata
955
+
927
956
Suppose we have a base type metadata document:
928
957
929
958
```json
@@ -1631,6 +1660,7 @@ for their contributions (some of which substantial) to this draft and to the ini
1631
1660
* Updated/expanded example for Type Metadata
1632
1661
* Be more consistent with style for lists of claims/parameters/properties
1633
1662
* Update PID example to make clear that it is not normative
0 commit comments