@@ -933,7 +933,7 @@ <h3>Concrete Lifecycle Example</h3>
933
933
< span class ='comment '> // purpose of this proof</ span >
934
934
"proofPurpose": "assertionMethod",
935
935
< span class ='comment '> // the identifier of the public key that can verify the signature</ span >
936
- "verificationMethod": "https://example.edu/issuers/565049/keys/ 1",
936
+ "verificationMethod": "https://example.edu/issuers/565049#key- 1",
937
937
< span class ='comment '> // the digital signature value</ span >
938
938
"jws": "eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5X
939
939
sITJX1CxPCT8yAV-TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq-pQy7UJiN5mgRxD-WUc
@@ -989,7 +989,7 @@ <h3>Concrete Lifecycle Example</h3>
989
989
"type": "RsaSignature2018",
990
990
"created": "2017-06-18T21:19:10Z",
991
991
"proofPurpose": "assertionMethod",
992
- "verificationMethod": "https://example.edu/issuers/565049/keys/ 1",
992
+ "verificationMethod": "https://example.edu/issuers/565049#key- 1",
993
993
"jws": "eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5X
994
994
sITJX1CxPCT8yAV-TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq-pQy7UJiN5mgRxD-WUc
995
995
X16dUEMGlv50aqzpqh4Qktb3rk-BuQy72IFLOqV0G_zS245-kronKb78cPN25DGlcTwLtj
@@ -1199,7 +1199,7 @@ <h3>Identifiers</h3>
1199
1199
</ dl >
1200
1200
1201
1201
< pre class ="example nohighlight vc " title ="Usage of the id property "
1202
- data-vc-verification-method ="https://example.edu/issuers/565049/keys/ 1 ">
1202
+ data-vc-verification-method ="https://example.edu/issuers/565049#key- 1 ">
1203
1203
{
1204
1204
"@context": [
1205
1205
"https://www.w3.org/2018/credentials/v1",
@@ -1274,7 +1274,8 @@ <h3>Types</h3>
1274
1274
</ dd >
1275
1275
</ dl >
1276
1276
1277
- < pre class ="example nohighlight " title ="Usage of the type property ">
1277
+ < pre class ="example nohighlight vc " title ="Usage of the type property "
1278
+ data-vc-verification-method ="https://example.edu/issuers/565049#key-1 ">
1278
1279
{
1279
1280
"@context": [
1280
1281
"https://www.w3.org/2018/credentials/v1",
@@ -1290,8 +1291,7 @@ <h3>Types</h3>
1290
1291
"type": "BachelorDegree",
1291
1292
"name": "Bachelor of Science and Arts"
1292
1293
}
1293
- },
1294
- "proof": { < span class ="comment "> ...</ span > }
1294
+ }
1295
1295
}
1296
1296
</ pre >
1297
1297
@@ -1490,7 +1490,9 @@ <h3>Credential Subject</h3>
1490
1490
</ dd >
1491
1491
</ dl >
1492
1492
1493
- < pre class ="example nohighlight " title ="Usage of the credentialSubject property ">
1493
+ < pre class ="example nohighlight vc "
1494
+ title ="Usage of the credentialSubject property "
1495
+ data-vc-verification-method ="https://example.edu/issuers/565049#key-1 ">
1494
1496
{
1495
1497
"@context": [
1496
1498
"https://www.w3.org/2018/credentials/v1",
@@ -1506,8 +1508,7 @@ <h3>Credential Subject</h3>
1506
1508
"type": "BachelorDegree",
1507
1509
"name": "Bachelor of Science and Arts"
1508
1510
}
1509
- },
1510
- "proof": { < span class ="comment "> ...</ span > }
1511
+ }
1511
1512
}
1512
1513
</ pre >
1513
1514
@@ -1518,7 +1519,8 @@ <h3>Credential Subject</h3>
1518
1519
< a > subjects</ a > with the < code > credentialSubject</ code > property.
1519
1520
</ p >
1520
1521
1521
- < pre class ="example nohighlight " title ="Specifying multiple subjects in a verifiable credential ">
1522
+ < pre class ="example nohighlight "
1523
+ title ="Specifying multiple subjects in a verifiable credential ">
1522
1524
{
1523
1525
"@context": [
1524
1526
"https://www.w3.org/2018/credentials/v1",
@@ -1536,8 +1538,7 @@ <h3>Credential Subject</h3>
1536
1538
"id": "did:example:c276e12ec21ebfeb1f712ebc6f1",
1537
1539
"name": "Morgan Doe",
1538
1540
"spouse": "did:example:ebfeb1f712ebc6f1c276e12ec21"
1539
- }]</ span > ,
1540
- "proof": { < span class ="comment "> ...</ span > }
1541
+ }]</ span >
1541
1542
}
1542
1543
</ pre >
1543
1544
@@ -1567,7 +1568,8 @@ <h3>Issuer</h3>
1567
1568
</ dd >
1568
1569
</ dl >
1569
1570
1570
- < pre class ="example nohighlight " title ="Usage of issuer property ">
1571
+ < pre class ="example nohighlight vc " title ="Usage of issuer property "
1572
+ data-vc-verification-method ="https://example.edu/issuers/14#key-1 ">
1571
1573
{
1572
1574
"@context": [
1573
1575
"https://www.w3.org/2018/credentials/v1",
@@ -1583,8 +1585,7 @@ <h3>Issuer</h3>
1583
1585
"type": "BachelorDegree",
1584
1586
"name": "Bachelor of Science and Arts"
1585
1587
}
1586
- },
1587
- "proof": { < span class ="comment "> ...</ span > }
1588
+ }
1588
1589
}
1589
1590
</ pre >
1590
1591
@@ -1593,7 +1594,9 @@ <h3>Issuer</h3>
1593
1594
associating an object with the issuer property:
1594
1595
</ p >
1595
1596
1596
- < pre class ="example nohighlight " title ="Usage of issuer expanded property ">
1597
+ < pre class ="example nohighlight vc "
1598
+ title ="Usage of issuer expanded property "
1599
+ data-vc-verification-method ="did:example:76e12ec712ebc6f1c221ebfeb1f#key-1 ">
1597
1600
{
1598
1601
"@context": [
1599
1602
"https://www.w3.org/2018/credentials/v1",
@@ -1612,8 +1615,7 @@ <h3>Issuer</h3>
1612
1615
"type": "BachelorDegree",
1613
1616
"name": "Bachelor of Science and Arts"
1614
1617
}
1615
- },
1616
- "proof": { < span class ="comment "> ...</ span > }
1618
+ }
1617
1619
}
1618
1620
</ pre >
1619
1621
@@ -1647,7 +1649,9 @@ <h3>Issuance Date</h3>
1647
1649
</ dd >
1648
1650
</ dl >
1649
1651
1650
- < pre class ="example nohighlight " title ="Usage of issuanceDate property ">
1652
+ < pre class ="example nohighlight vc "
1653
+ title ="Usage of issuanceDate property "
1654
+ data-vc-verification-method ="https://example.edu/issuers/14#key-1 ">
1651
1655
{
1652
1656
"@context": [
1653
1657
"https://www.w3.org/2018/credentials/v1",
@@ -1663,8 +1667,7 @@ <h3>Issuance Date</h3>
1663
1667
"type": "BachelorDegree",
1664
1668
"name": "Bachelor of Science and Arts"
1665
1669
}
1666
- },
1667
- "proof": { < span class ="comment "> ...</ span > }
1670
+ }
1668
1671
}
1669
1672
</ pre >
1670
1673
@@ -1743,17 +1746,12 @@ <h3>Proofs (Signatures)</h3>
1743
1746
}
1744
1747
},
1745
1748
< span class ="highlight "> "proof": {
1746
- "type": "RsaSignature2018",
1747
- "created": "2018-06-18T21:19:10Z",
1749
+ "type": "Ed25519Signature2020",
1750
+ "created": "2021-11-13T18:19:39Z",
1751
+ "verificationMethod": "https://example.edu/issuers/14#key-1",
1748
1752
"proofPurpose": "assertionMethod",
1749
- "verificationMethod": "https://example.com/jdoe/keys/1",
1750
- "jws": "eyJhbGciOiJQUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19
1751
- ..DJBMvvFAIC00nSGB6Tn0XKbbF9XrsaJZREWvR2aONYTQQxnyXirtXnlewJMB
1752
- Bn2h9hfcGZrvnC1b6PgWmukzFJ1IiH1dWgnDIS81BH-IxXnPkbuYDeySorc4
1753
- QU9MJxdVkY5EL4HYbcIfwKj6X4LBQ2_ZHZIu1jdqLcRZqHcsDF5KKylKc1TH
1754
- n5VRWy5WhYg_gBnyWny8E6Qkrze53MR7OuAmmNJ1m1nN8SxDrG6a08L78J0-
1755
- Fbas5OjAQz3c17GY8mVuDPOBIOVjMEghBlgl3nOi1ysxbRGhHLEK4s0KKbeR
1756
- ogZdgt1DkQxDFxxn41QWDw_mmMCjs9qxg0zcZzqEJw"
1753
+ "proofValue": "z58DAdFfa9SkqZMVPxAQpic7ndSayn1PzZs6ZjWp1CktyGesjuTSwRdo
1754
+ WhAfGFCF5bppETSTojQCrfFPP2oumHKtz"
1757
1755
}</ span >
1758
1756
}
1759
1757
</ pre >
@@ -1789,7 +1787,9 @@ <h3>Expiration</h3>
1789
1787
</ dd >
1790
1788
</ dl >
1791
1789
1792
- < pre class ="example nohighlight " title ="Usage of the expirationDate property ">
1790
+ < pre class ="example nohighlight vc "
1791
+ title ="Usage of the expirationDate property "
1792
+ data-vc-verification-method ="https://example.edu/issuers/14#key-1 ">
1793
1793
{
1794
1794
"@context": [
1795
1795
"https://www.w3.org/2018/credentials/v1",
@@ -1806,8 +1806,7 @@ <h3>Expiration</h3>
1806
1806
"type": "BachelorDegree",
1807
1807
"name": "Bachelor of Science and Arts"
1808
1808
}
1809
- },
1810
- "proof": { < span class ="comment "> ...</ span > }
1809
+ }
1811
1810
}
1812
1811
</ pre >
1813
1812
@@ -1859,7 +1858,9 @@ <h3>Status</h3>
1859
1858
privacy-enhancing.
1860
1859
</ p >
1861
1860
1862
- < pre class ="example nohighlight " title ="Usage of the status property ">
1861
+ < pre class ="example nohighlight vc "
1862
+ title ="Usage of the status property "
1863
+ data-vc-verification-method ="https://example.edu/issuers/14#key-1 ">
1863
1864
{
1864
1865
"@context": [
1865
1866
"https://www.w3.org/2018/credentials/v1",
@@ -1879,8 +1880,7 @@ <h3>Status</h3>
1879
1880
< span class ="highlight "> "credentialStatus": {
1880
1881
"id": "https://example.edu/status/24",
1881
1882
"type": "CredentialStatusList2017"
1882
- }</ span > ,
1883
- "proof": { < span class ="comment "> ...</ span > }
1883
+ }</ span >
1884
1884
}
1885
1885
</ pre >
1886
1886
@@ -2281,7 +2281,9 @@ <h3>Extensibility</h3>
2281
2281
Let us assume we start with the < a > verifiable credential</ a > shown below.
2282
2282
</ p >
2283
2283
2284
- < pre class ="example nohighlight " title ="A simple credential ">
2284
+ < pre class ="example nohighlight vc "
2285
+ title ="A simple credential "
2286
+ data-vc-verification-method ="https://example.edu/issuers/14#keys-1 ">
2285
2287
{
2286
2288
"@context": [
2287
2289
"https://www.w3.org/2018/credentials/v1",
@@ -2294,8 +2296,7 @@ <h3>Extensibility</h3>
2294
2296
"credentialSubject": {
2295
2297
"id": "did:example:abcdef1234567",
2296
2298
"name": "Jane Doe"
2297
- },
2298
- "proof": { < span class ="comment "> ...</ span > }
2299
+ }
2299
2300
}
2300
2301
</ pre >
2301
2302
@@ -2350,8 +2351,7 @@ <h3>Extensibility</h3>
2350
2351
"id": "did:example:abcdef1234567",
2351
2352
"name": "Jane Doe",
2352
2353
< span class ="highlight "> "favoriteFood": "Papaya"</ span >
2353
- },
2354
- "proof": { < span class ="comment "> ...</ span > }
2354
+ }
2355
2355
}
2356
2356
</ pre >
2357
2357
@@ -2501,7 +2501,9 @@ <h3>Data Schemas</h3>
2501
2501
[[JSON-SCHEMA-2018]] validation.
2502
2502
</ p >
2503
2503
2504
- < pre class ="example nohighlight " title ="Usage of the credentialSchema property to perform JSON schema validation ">
2504
+ < pre class ="example nohighlight vc "
2505
+ title ="Usage of the credentialSchema property to perform JSON schema validation "
2506
+ data-vc-verification-method ="https://example.edu/issuers/14#keys-1 ">
2505
2507
{
2506
2508
"@context": [
2507
2509
"https://www.w3.org/2018/credentials/v1",
@@ -2521,8 +2523,7 @@ <h3>Data Schemas</h3>
2521
2523
< span class ="highlight "> "credentialSchema": {
2522
2524
"id": "https://example.org/examples/degree.json",
2523
2525
"type": "JsonSchemaValidator2018"
2524
- }</ span > ,
2525
- "proof": { < span class ="comment "> ...</ span > }
2526
+ }</ span >
2526
2527
}
2527
2528
</ pre >
2528
2529
@@ -2631,7 +2632,8 @@ <h3>Refreshing</h3>
2631
2632
</ dd >
2632
2633
</ dl >
2633
2634
2634
- < pre class ="example nohighlight " title ="Usage of the refreshService property by an issuer ">
2635
+ < pre class ="example nohighlight "
2636
+ title ="Usage of the refreshService property by an issuer ">
2635
2637
{
2636
2638
"@context": [
2637
2639
"https://www.w3.org/2018/credentials/v1",
@@ -2651,8 +2653,7 @@ <h3>Refreshing</h3>
2651
2653
< span class ="highlight "> "refreshService": {
2652
2654
"id": "https://example.edu/refresh/3732"
2653
2655
"type": "ManualRefreshService2018",
2654
- }</ span > ,
2655
- "proof": { < span class ="comment "> ...</ span > }
2656
+ }</ span >
2656
2657
}
2657
2658
</ pre >
2658
2659
@@ -2710,7 +2711,9 @@ <h3>Terms of Use</h3>
2710
2711
</ dd >
2711
2712
</ dl >
2712
2713
2713
- < pre class ="example nohighlight " title ="Usage of the termsOfUse property by an issuer ">
2714
+ < pre class ="example nohighlight vc "
2715
+ title ="Usage of the termsOfUse property by an issuer "
2716
+ data-vc-verification-method ="https://example.edu/issuers/14#keys-1 ">
2714
2717
{
2715
2718
"@context": [
2716
2719
"https://www.w3.org/2018/credentials/v1",
@@ -2737,8 +2740,8 @@ <h3>Terms of Use</h3>
2737
2740
"target": "http://example.edu/credentials/3732",
2738
2741
"action": ["Archival"]
2739
2742
}]
2740
- }</ span > ,
2741
- "proof": { < span class =" comment " > ... < /span > }
2743
+ }]
2744
+ < /span >
2742
2745
}
2743
2746
</ pre >
2744
2747
@@ -2880,7 +2883,8 @@ <h3>Evidence</h3>
2880
2883
Verifiable Credentials Implementation Guidelines [[VC-IMP-GUIDE]] document.
2881
2884
</ p >
2882
2885
2883
- < pre class ="example nohighlight " title ="Usage of the evidence property ">
2886
+ < pre class ="example nohighlight "
2887
+ title ="Usage of the evidence property ">
2884
2888
{
2885
2889
"@context": [
2886
2890
"https://www.w3.org/2018/credentials/v1",
@@ -4213,7 +4217,9 @@ <h3>Bearer Credentials</h3>
4213
4217
< a > verifiable credential</ a > is a < a > bearer credential</ a > :
4214
4218
</ p >
4215
4219
4216
- < pre class ="example nohighlight " title ="Usage of issuer properties ">
4220
+ < pre class ="example nohighlight vc "
4221
+ title ="Usage of issuer properties "
4222
+ data-vc-verification-method ="https://example.edu/issuers/14#keys-1 ">
4217
4223
{
4218
4224
"@context": [
4219
4225
"https://www.w3.org/2018/credentials/v1",
@@ -4229,8 +4235,7 @@ <h3>Bearer Credentials</h3>
4229
4235
"type": "BachelorDegree",
4230
4236
"name": "Bachelor of Science and Arts"
4231
4237
}
4232
- },
4233
- "proof": { < span class ="comment "> ...</ span > }
4238
+ }
4234
4239
}
4235
4240
</ pre >
4236
4241
@@ -4670,7 +4675,8 @@ <h3>Content Integrity Protection</h3>
4670
4675
probably should be:
4671
4676
</ p >
4672
4677
4673
- < pre class ="example nohighlight " title ="Non-content-integrity protected links ">
4678
+ < pre class ="example nohighlight "
4679
+ title ="Non-content-integrity protected links ">
4674
4680
{
4675
4681
"@context": [
4676
4682
< span class ="highlight "> "https://www.w3.org/2018/credentials/v1"</ span > ,
0 commit comments