-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created DIDs, added NutsOrganizationCredentials
- Loading branch information
1 parent
6c366b4
commit 27f08a3
Showing
20 changed files
with
1,552 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
docker-compose/left/config/node/discovery/eOverdracht.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"id": "urn:nuts.nl:usecase:eOverdrachtDemo2024", | ||
"endpoint": "https://node.left.local/discovery/urn:nuts.nl:usecase:eOverdrachtDemo2024", | ||
"presentation_max_validity": 36000, | ||
"presentation_definition": { | ||
"format": { | ||
"ldp_vc": { | ||
"proof_type": [ | ||
"JsonWebSignature2020" | ||
] | ||
}, | ||
"ldp_vp": { | ||
"proof_type": [ | ||
"JsonWebSignature2020" | ||
] | ||
}, | ||
"jwt_vc": { | ||
"alg": [ | ||
"ES256" | ||
] | ||
}, | ||
"jwt_vp": { | ||
"alg": [ | ||
"ES256" | ||
] | ||
} | ||
}, | ||
"id": "pd_any_care_organization", | ||
"name": "Care organization", | ||
"purpose": "Finding a care organization for authorizing access to medical metadata", | ||
"input_descriptors": [ | ||
{ | ||
"id": "id_nuts_care_organization_cred", | ||
"constraints": { | ||
"fields": [ | ||
{ | ||
"path": [ | ||
"$.type" | ||
], | ||
"filter": { | ||
"type": "string", | ||
"const": "NutsOrganizationCredential" | ||
} | ||
}, | ||
{ | ||
"path": [ | ||
"$.issuer" | ||
], | ||
"filter": { | ||
"type": "string", | ||
"enum": ["did:web:left.local:iam:left", "did:web:right.local:iam:right"] | ||
} | ||
}, | ||
{ | ||
"id": "organization_name", | ||
"path": [ | ||
"$.credentialSubject.organization.name", | ||
"$.credentialSubject[0].organization.name" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"id": "organization_city", | ||
"path": [ | ||
"$.credentialSubject.organization.city", | ||
"$.credentialSubject[0].organization.city" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
153 changes: 153 additions & 0 deletions
153
docker-compose/left/config/node/policies/eOverdracht.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
{ | ||
"eOverdracht": { | ||
"organization": { | ||
"format": { | ||
"ldp_vc": { | ||
"proof_type": [ | ||
"JsonWebSignature2020" | ||
] | ||
}, | ||
"ldp_vp": { | ||
"proof_type": [ | ||
"JsonWebSignature2020" | ||
] | ||
}, | ||
"jwt_vc": { | ||
"alg": [ | ||
"ES256" | ||
] | ||
}, | ||
"jwt_vp": { | ||
"alg": [ | ||
"ES256" | ||
] | ||
} | ||
}, | ||
"id": "pd_any_care_organization", | ||
"name": "Care organization", | ||
"purpose": "Finding a care organization for authorizing access to medical metadata", | ||
"input_descriptors": [ | ||
{ | ||
"id": "id_nuts_care_organization_cred", | ||
"constraints": { | ||
"fields": [ | ||
{ | ||
"path": [ | ||
"$.type" | ||
], | ||
"filter": { | ||
"type": "string", | ||
"const": "NutsOrganizationCredential" | ||
} | ||
}, | ||
{ | ||
"path": [ | ||
"$.issuer" | ||
], | ||
"filter": { | ||
"type": "string", | ||
"enum": ["did:web:left.local:iam:left", "did:web:right.local:iam:right"] | ||
} | ||
}, | ||
{ | ||
"id": "organization_name", | ||
"path": [ | ||
"$.credentialSubject.organization.name", | ||
"$.credentialSubject[0].organization.name" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"id": "organization_city", | ||
"path": [ | ||
"$.credentialSubject.organization.city", | ||
"$.credentialSubject[0].organization.city" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"user": { | ||
"format": { | ||
"ldp_vc": { | ||
"proof_type": [ | ||
"JsonWebSignature2020" | ||
] | ||
}, | ||
"ldp_vp": { | ||
"proof_type": [ | ||
"JsonWebSignature2020" | ||
] | ||
}, | ||
"jwt_vc": { | ||
"alg": [ | ||
"ES256" | ||
] | ||
}, | ||
"jwt_vp": { | ||
"alg": [ | ||
"ES256" | ||
] | ||
} | ||
}, | ||
"id": "pd_any_employee_credential", | ||
"name": "Employee", | ||
"purpose": "Finding an employee for authorizing access to medical metadata", | ||
"input_descriptors": [ | ||
{ | ||
"id": "id_employee_credential_cred", | ||
"constraints": { | ||
"fields": [ | ||
{ | ||
"path": [ | ||
"$.type" | ||
], | ||
"filter": { | ||
"type": "string", | ||
"const": "EmployeeCredential" | ||
} | ||
}, | ||
{ | ||
"id": "employee_identifier", | ||
"path": [ | ||
"$.credentialSubject.identifier", | ||
"$.credentialSubject[0].identifier" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"id": "employee_name", | ||
"path": [ | ||
"$.credentialSubject.name", | ||
"$.credentialSubject[0].name" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"id": "employee_role", | ||
"path": [ | ||
"$.credentialSubject.roleName", | ||
"$.credentialSubject[0].roleName" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
docker-compose/left/data/node/crypto/did:web:node.left.local:iam:left#0_private.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgg109wmL3R7G6+KwI | ||
OvEyIxJLn6FS3D+NUVl3MgrV+tuhRANCAARaOBO49G9TVAXq8cps96O6W0GwYrUG | ||
20dUlXV2WgloGZDlmLy3JYQSDdBiRxi+rgUiR1GWmJU7JTscDc4rsIBF | ||
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgQArZvIL6cGeVKX7h | ||
Lmpw5XA41fjstNDjF2Ci/Ds3ubWhRANCAASikB7PnHQKUlxCGonAjDhRcXWfoY43 | ||
7c0DHd6TlOtmwb9tlanVSuDjm0maTrOSI484tX1eLHhDsIaiFcM2FM6R | ||
-----END PRIVATE KEY----- |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NutsOrganizationCredential: | ||
- did:web:node.left.local:iam:left |
79 changes: 79 additions & 0 deletions
79
docker-compose/right/config/node/discovery/eOverdracht.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"id": "urn:nuts.nl:usecase:eOverdrachtDemo2024", | ||
"endpoint": "https://node.left.local/discovery/urn:nuts.nl:usecase:eOverdrachtDemo2024", | ||
"presentation_max_validity": 36000, | ||
"presentation_definition": { | ||
"format": { | ||
"ldp_vc": { | ||
"proof_type": [ | ||
"JsonWebSignature2020" | ||
] | ||
}, | ||
"ldp_vp": { | ||
"proof_type": [ | ||
"JsonWebSignature2020" | ||
] | ||
}, | ||
"jwt_vc": { | ||
"alg": [ | ||
"ES256" | ||
] | ||
}, | ||
"jwt_vp": { | ||
"alg": [ | ||
"ES256" | ||
] | ||
} | ||
}, | ||
"id": "pd_any_care_organization", | ||
"name": "Care organization", | ||
"purpose": "Finding a care organization for authorizing access to medical metadata", | ||
"input_descriptors": [ | ||
{ | ||
"id": "id_nuts_care_organization_cred", | ||
"constraints": { | ||
"fields": [ | ||
{ | ||
"path": [ | ||
"$.type" | ||
], | ||
"filter": { | ||
"type": "string", | ||
"const": "NutsOrganizationCredential" | ||
} | ||
}, | ||
{ | ||
"path": [ | ||
"$.issuer" | ||
], | ||
"filter": { | ||
"type": "string", | ||
"enum": ["did:web:left.local:iam:left", "did:web:right.local:iam:right"] | ||
} | ||
}, | ||
{ | ||
"id": "organization_name", | ||
"path": [ | ||
"$.credentialSubject.organization.name", | ||
"$.credentialSubject[0].organization.name" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"id": "organization_city", | ||
"path": [ | ||
"$.credentialSubject.organization.city", | ||
"$.credentialSubject[0].organization.city" | ||
], | ||
"filter": { | ||
"type": "string" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.