Skip to content

Commit fa0895e

Browse files
danielfettbc-pi
andauthored
Update PID example (#306)
* Update PID example * Update issuer * Markdown changes so that the YAML changes don't feel so alone --------- Co-authored-by: Brian Campbell <[email protected]>
1 parent 513c0a1 commit fa0895e

File tree

2 files changed

+25
-10
lines changed

2 files changed

+25
-10
lines changed

draft-ietf-oauth-sd-jwt-vc.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,9 +1398,10 @@ Line breaks have been added for readability.
13981398

13991399
## Example 1: Person Identification Data (PID) Credential
14001400

1401-
This example shows how the artifacts defined in this specification could
1402-
be used to represent the concept of a Person Identification Data (PID)
1403-
[@EUDIW.ARF] using the data of a German citizen.
1401+
This example shows how the artifacts defined in this specification could be used
1402+
to represent the concept of a Person Identification Data (PID) as defined in the
1403+
"PID Rulebook" in [@EUDIW.ARF]. This example uses fictional data of a German
1404+
citizen.
14041405

14051406
Key Binding is applied
14061407
using the Holder's public key passed in a `cnf` claim in the SD-JWT.
@@ -1595,6 +1596,7 @@ for their contributions (some of which substantial) to this draft and to the ini
15951596
* Editorial changes
15961597
* Document reasons for not using JSON Pointer or JSON Path (Issue #267)
15971598
* Clarify that private claim names MAY be used
1599+
* Update PID Example
15981600

15991601
-08
16001602

examples/03-pid/specification.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,44 @@
11
user_claims:
2-
vct: https://bmi.bund.example/credential/pid/1.0
3-
# vct#integrity: sha256-jo8433ot48utul8ura33
2+
iss: https://pid-issuer.bund.de.example
3+
vct: urn:eudi:pid:de:1
4+
# vct#integrity: sha256-jo8433ot48utul8ura33
45
!sd given_name: Erika
56
!sd family_name: Mustermann
67
!sd birthdate: '1963-08-12'
7-
!sd source_document_type: id_card
88
!sd address:
99
!sd street_address: Heidestraße 17
1010
!sd locality: Köln
1111
!sd postal_code: '51147'
1212
!sd country: DE
1313
!sd nationalities:
1414
- DE
15-
!sd gender: female
15+
!sd sex: 2
1616
!sd birth_family_name: Gabler
1717
!sd place_of_birth:
1818
!sd locality: Berlin
19-
country: DE
20-
!sd also_known_as: Schwester Agnes
21-
age_equal_or_over:
19+
!sd country: DE
20+
!sd age_equal_or_over:
2221
!sd "12": true
2322
!sd "14": true
2423
!sd "16": true
2524
!sd "18": true
2625
!sd "21": true
2726
!sd "65": false
27+
!sd age_in_years: 62
28+
!sd age_birth_year: 1963
29+
30+
!sd issuance_date: "2020-03-11"
31+
!sd expiry_date: "2030-03-12"
32+
33+
!sd issuing_authority: DE
34+
!sd issuing_country: DE
2835

36+
#cnf:
37+
# jwk:
38+
# kty: EC
39+
# crv: P-256
40+
# x: 52aDI_ur05n1f_p3jiYGUU82oKZr3m4LsAErM536crQ
41+
# "y": ckhZ-KQ5aXNL91R8Eufg1aOf8Z5pZJnIvuCzNGfdnzo
2942

3043
holder_disclosed_claims:
3144
nationalities:

0 commit comments

Comments
 (0)