@@ -665,6 +665,13 @@ format encoded as CBOR and secured using COSE.
665
665
</author>
666
666
</front>
667
667
</reference >
668
+
669
+ <reference anchor =" EUDIW.ARF " target =" https://github.com/eu-digital-identity-wallet/eudi-doc-architecture-and-reference-framework/releases " >
670
+ <front >
671
+ <author fullname="European Commission"></author>
672
+ <title>The European Digital Identity Wallet Architecture and Reference Framework</title>
673
+ </front >
674
+ </reference >
668
675
{backmatter}
669
676
670
677
# IANA Considerations
@@ -714,6 +721,51 @@ by [@!RFC5785].
714
721
* Specification document: [[ (#jwt-vc-issuer-metadata) of this of this specification ]]
715
722
* Related information: (none)
716
723
724
+ # Examples
725
+
726
+ Important: The following examples are not normative and provided for
727
+ illustrative purposes only. In particular, neither the structure of the claims
728
+ nor the selection of selectively disclosable claims are normative.
729
+
730
+ Line breaks have been added for readability.
731
+
732
+ ## Example 1: Person Identification Data (PID) Credential
733
+
734
+ This example shows how the artifacts defined in this specification could
735
+ be used to represent the concept of a Person Identification Data (PID)
736
+ [ @EUDIW .ARF] using the data of a German citizen.
737
+
738
+ Key Binding is applied
739
+ using the Holder's public key passed in a ` cnf ` claim in the SD-JWT.
740
+
741
+ The Issuer is using the following input claims set:
742
+
743
+ <{{examples/03-pid/user_claims.json}}
744
+
745
+ The following is the issued SD-JWT:
746
+
747
+ <{{examples/03-pid/sd_jwt_issuance.txt}}
748
+
749
+ The following payload is used for the SD-JWT:
750
+
751
+ <{{examples/03-pid/sd_jwt_payload.json}}
752
+
753
+ The following Disclosures are created by the Issuer:
754
+
755
+ {{examples/03-pid/disclosures.md}}
756
+
757
+ The following shows a presentation of the SD-JWT with a Key Binding JWT that discloses only the nationality of the Holder:
758
+
759
+ <{{examples/03-pid/sd_jwt_presentation.txt}}
760
+
761
+ The following is the payload of a corresponding Key Binding JWT:
762
+
763
+ <{{examples/03-pid/kb_jwt_payload.json}}
764
+
765
+ After the validation, the Verifier will have the following data for further processing:
766
+
767
+ <{{examples/03-pid/verified_contents.json}}
768
+
717
769
# Acknowledgements {#Acknowledgements}
718
770
719
771
We would like to thank
@@ -745,6 +797,7 @@ for their contributions (some of which substantial) to this draft and to the ini
745
797
* Fix some formatting and text in the media type and JWT claim registration requests
746
798
* Clarify the optionality of the ` cnf ` claim
747
799
* Added relationships to other documents
800
+ * Added PID example
748
801
749
802
-01
750
803
0 commit comments