Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/CWALL-232 #105

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions packages/agent/conf/demos/konkuk/dids/jwk-es256k.json

This file was deleted.

127 changes: 127 additions & 0 deletions packages/agent/conf/demos/konkuk/oid4vci_metadata/konkuk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"correlationId": "https://agent.issuer.konkuk.demo.sphereon.com",
"overwriteExisting": true,
"metadata": {
"credential_issuer": "https://agent.issuer.konkuk.demo.sphereon.com",
"credential_endpoint": "https://agent.issuer.konkuk.demo.sphereon.com/credentials",
"display": [
{
"name": "Konkuk University",
"description": "Konkuk University Issuer"
}
],
"credential_configurations_supported": {
"StudentCredential": {
"format": "jwt_vc_json",
"cryptographic_binding_methods_supported": [
"did:jwk"
],
"cryptographic_suites_supported": [
"ES256"
],
"display": [
{
"name": "Student credential",
"description": "Student credential",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://i.ibb.co/PwfCJFK/konkuk-logo.png",
"alt_text": "Konkuk University logo"
},
"background_image": {
"url": "https://i.ibb.co/6tKP1rs/konkuk-bg.png",
"alt_text": "A guy in front of the window"
}
},
{
"locale": "en-US",
"name": "Student credential",
"description": "student credential",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://i.ibb.co/PwfCJFK/konkuk-logo.png",
"alt_text": "Konkuk University logo"
},
"background_image": {
"url": "https://i.ibb.co/6tKP1rs/konkuk-bg.png",
"alt_text": "A guy in front of the window"
}
}
],
"credential_definition": {
"type": [
"VerifiableCredential",
"StudentCredential"
]
}
},
"EmployeeCredential": {
"format": "jwt_vc_json",
"cryptographic_binding_methods_supported": [
"did:jwk"
],
"cryptographic_suites_supported": [
"ES256"
],
"display": [
{
"name": "Employee credential",
"description": "Employee credential",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://i.ibb.co/PwfCJFK/konkuk-logo.png",
"alt_text": "Konkuk University logo"
},
"background_image": {
"url": "https://i.ibb.co/6tKP1rs/konkuk-bg.png",
"alt_text": "A guy in front of the window"
}
},
{
"locale": "en-US",
"name": "Employee credential",
"description": "Employee credential",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://i.ibb.co/PwfCJFK/konkuk-logo.png",
"alt_text": "Konkuk University logo"
},
"background_image": {
"url": "https://i.ibb.co/6tKP1rs/konkuk-bg.png",
"alt_text": "A guy in front of the window"
}
}
],
"credential_definition": {
"type": [
"VerifiableCredential",
"EmployeeCredential"
]
}
}
},
"credential_supplier_config": {
"templates_base_dir": "templates",
"template_mappings": [
{
"credential_types": [
"StudentCredential"
],
"template_path": "StudentCredential.hbs",
"format": "jwt_vc_json"
},
{
"credential_types": [
"EmployeeCredential"
],
"template_path": "EmployeeCredential.hbs",
"format": "jwt_vc_json"
}
]
}
}
}
9 changes: 9 additions & 0 deletions packages/agent/conf/demos/konkuk/oid4vci_options/konkuk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"definitionId": "konkuk",
"correlationId": "https://agent.issuer.konkuk.demo.sphereon.com",
"issuerOpts": {
"didOpts": {
"checkLinkedDomains": "if_present"
}
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

14 changes: 14 additions & 0 deletions packages/agent/conf/demos/konkuk/templates/EmployeeCredential.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"EmployeeCredential"
],
"credentialSubject": {
"fistName": "{{fistName}}",
"lastName": "{{lastName}}",
"dateOfBirth": "{{dateOfBirth}}"
}
}
16 changes: 16 additions & 0 deletions packages/agent/conf/demos/konkuk/templates/StudentCredential.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"StudentCredential"
],
"credentialSubject": {
"fistName": "{{fistName}}",
"lastName": "{{lastName}}",
"dateOfBirth": "{{dateOfBirth}}",
"studentNumber": "{{studentNumber}}",
"subject": "{{subject}}"
}
}

This file was deleted.

This file was deleted.

Loading