Skip to content

Commit 35c9641

Browse files
committed
Merge branch 'master' into version-1
2 parents d59fcfa + 384cf83 commit 35c9641

File tree

61 files changed

+21695
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+21695
-78
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
path: '**/*.md'
3434
check_filenames: true
3535
ignore_words_list: tekst
36-
skip: './.git, ./specifications, ./vendor'
36+
skip: ./.git,./vendor,./specifications
3737

3838
build:
3939
name: Build documentation

specifications/did-1.0.md

Lines changed: 3927 additions & 0 deletions
Large diffs are not rendered by default.

specifications/json-ld11.md

Lines changed: 10308 additions & 0 deletions
Large diffs are not rendered by default.

specifications/update-specs.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,23 @@ then
1010
fi
1111

1212
URLS=(
13+
# OpenID specifications
1314
"https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html"
1415
"https://openid.net/specs/openid-federation-1_0.html"
15-
"https://www.w3.org/TR/vc-data-model-2.0/"
16-
"https://www.w3.org/TR/vc-jose-cose/"
17-
"https://fidescommunity.github.io/DIIP/"
1816
"https://openid.net/specs/openid-connect-core-1_0.html"
1917
"https://openid.net/specs/openid-connect-discovery-1_0.html"
2018
"https://openid.net/specs/openid-connect-rpinitiated-1_0.html"
2119
"https://openid.net/specs/openid-connect-frontchannel-1_0.html"
2220
"https://openid.net/specs/openid-connect-backchannel-1_0.html"
21+
# W3C specifications
22+
"https://www.w3.org/TR/vc-data-model-2.0/"
23+
"https://www.w3.org/TR/vc-jose-cose/"
24+
"https://www.w3.org/TR/vc-imp-guide/"
25+
"https://www.w3.org/TR/did-1.0/"
26+
"https://www.w3.org/TR/vc-data-integrity/"
27+
"https://www.w3.org/TR/json-ld11/"
28+
# DIIP specifications
29+
"https://fidescommunity.github.io/DIIP/"
2330
)
2431

2532
# For each of the specifications, fetch the content from the URL and save it

specifications/vc-data-integrity.md

Lines changed: 1833 additions & 0 deletions
Large diffs are not rendered by default.

specifications/vc-imp-guide.md

Lines changed: 948 additions & 0 deletions
Large diffs are not rendered by default.

src/Codebooks/AtContextsEnum.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@
77
enum AtContextsEnum: string
88
{
99
case W3Org2018CredentialsV1 = 'https://www.w3.org/2018/credentials/v1';
10+
11+
case W3OrgNsCredentialsV2 = 'https://www.w3.org/ns/credentials/v2';
1012
}

src/Codebooks/ClaimsEnum.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ enum ClaimsEnum: string
1515
// @context
1616
case AtContext = '@context';
1717

18+
case AtDirection = '@direction';
19+
20+
case AtLanguage = '@language';
21+
1822
// @type
1923
case AtType = '@type';
2024

25+
case AtValue = '@value';
26+
2127
// Authentication Context Class Reference
2228
case Acr = 'acr';
2329

@@ -447,6 +453,10 @@ enum ClaimsEnum: string
447453

448454
case UserinfoSigningAlgValuesSupported = 'userinfo_signing_alg_values_supported';
449455

456+
case ValidFrom = 'validFrom';
457+
458+
case ValidUntil = 'validUntil';
459+
450460
// VerifiableCredential
451461
case Vc = 'vc';
452462

src/Codebooks/ContentTypesEnum.php

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,27 @@ enum ContentTypesEnum: string
88
{
99
case ApplicationDcSdJwt = 'application/dc+sd-jwt';
1010

11-
case ApplicationJwt = 'application/jwt';
12-
1311
case ApplicationEntityStatementJwt = 'application/entity-statement+jwt';
1412

13+
case ApplicationJwt = 'application/jwt';
14+
1515
case ApplicationTrustMarkJwt = 'application/trust-mark+jwt';
1616

1717
case ApplicationTrustMarkStatusResponseJwt = 'application/trust-mark-status-response+jwt';
18+
19+
case ApplicationVc = 'application/vc';
20+
21+
case ApplicationVcCose = 'application/vc+cose';
22+
23+
case ApplicationVcJwt = 'application/vc+jwt';
24+
25+
case ApplicationVcSdJwt = 'application/vc+sd-jwt';
26+
27+
case ApplicationVp = 'application/vp';
28+
29+
case ApplicationVpCose = 'application/vp+cose';
30+
31+
case ApplicationVpJwt = 'application/vp+jwt';
32+
33+
case ApplicationVpSdJwt = 'application/vp+sd-jwt';
1834
}

src/Codebooks/CredentialFormatIdentifiersEnum.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ enum CredentialFormatIdentifiersEnum: string
1010
// VC signed as a JWT, not using JSON-LD
1111
case JwtVcJson = 'jwt_vc_json';
1212

13+
// VC Data Model v2.0 secured with SD-JWT
14+
// https://www.w3.org/TR/vc-jose-cose/#with-sd-jwt
15+
case VcSdJwt = 'vc+sd-jwt';
16+
1317
// VC signed as a JWT, using JSON-LD
1418
case JwtVcJsonLd = 'jwt_vc_json-ld';
1519

@@ -22,7 +26,4 @@ enum CredentialFormatIdentifiersEnum: string
2226

2327
// IETF SD-JWT VC
2428
case DcSdJwt = 'dc+sd-jwt';
25-
26-
// Deprecated identifier for IETF SD-JWT VC. Use 'dc+sd-jwt' instead.
27-
case VcSdJwt = 'vc+sd-jwt';
2829
}

0 commit comments

Comments
 (0)