-
Notifications
You must be signed in to change notification settings - Fork 27
/
certify-sunbird-insurance.properties
220 lines (213 loc) · 17.5 KB
/
certify-sunbird-insurance.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# ------------------------------------------- Integrations ------------------------------------------------------------
mosip.certify.integration.scan-base-package=io.mosip.certify.sunbirdrc.integration
mosip.certify.integration.vci-plugin=SunbirdRCVCIssuancePlugin
mosip.certify.integration.audit-plugin=LoggerAuditService
##--------------------sunbird registry related demo configuration-------------------------##
mosip.certify.vciplugin.sunbird-rc.issue-credential-url=http://sunbird-registry:80/credential/credentials/issue
mosip.certify.vciplugin.sunbird-rc.supported-credential-types=HealthInsuranceCredential,LifeInsuranceCredential,InsuranceCredential
mosip.certify.vciplugin.sunbird-rc.credential-type.HealthInsuranceCredential.static-value-map.issuerId=did:web:challabeehyv.github.io:DID-Resolve:190d673a-0cfb-45f4-a8f4-5efaaaef0b4b
mosip.certify.vciplugin.sunbird-rc.credential-type.HealthInsuranceCredential.template-url=https://raw.githubusercontent.com/challabeehyv/mimoto-config/main/InsuranceConfig.json
mosip.certify.vciplugin.sunbird-rc.credential-type.HealthInsuranceCredential.registry-get-url=http://sunbird-registry:80/registry/api/v1/Insurance/
mosip.certify.vciplugin.sunbird-rc.credential-type.HealthInsuranceCredential.cred-schema-id=did:schema:c45e2840-bf2a-440d-b4aa-52ff3e205f18
mosip.certify.vciplugin.sunbird-rc.credential-type.HealthInsuranceCredential.cred-schema-version=1.0.0
mosip.certify.vciplugin.sunbird-rc.credential-type.HealthInsuranceCredential.registry-search-url=http://sunbird-registry:80/registry/api/v1/Insurance/search
mosip.certify.vciplugin.sunbird-rc.credential-type.LifeInsuranceCredential.static-value-map.issuerId=did:web:challabeehyv.github.io:DID-Resolve:190d673a-0cfb-45f4-a8f4-5efaaaef0b4b
mosip.certify.vciplugin.sunbird-rc.credential-type.LifeInsuranceCredential.template-url=https://raw.githubusercontent.com/challabeehyv/mimoto-config/main/InsuranceConfig.json
mosip.certify.vciplugin.sunbird-rc.credential-type.LifeInsuranceCredential.registry-get-url=http://sunbird-registry:80/registry/api/v1/Insurance/
mosip.certify.vciplugin.sunbird-rc.credential-type.LifeInsuranceCredential.cred-schema-id=did:schema:c45e2840-bf2a-440d-b4aa-52ff3e205f18
mosip.certify.vciplugin.sunbird-rc.credential-type.LifeInsuranceCredential.cred-schema-version=1.0.0
mosip.certify.vciplugin.sunbird-rc.credential-type.LifeInsuranceCredential.registry-search-url=http://sunbird-registry:80/registry/api/v1/Insurance/search
mosip.certify.vciplugin.sunbird-rc.credential-type.InsuranceCredential.static-value-map.issuerId=did:web:challabeehyv.github.io:DID-Resolve:190d673a-0cfb-45f4-a8f4-5efaaaef0b4b
mosip.certify.vciplugin.sunbird-rc.credential-type.InsuranceCredential.template-url=https://raw.githubusercontent.com/challabeehyv/mimoto-config/main/InsuranceConfig.json
mosip.certify.vciplugin.sunbird-rc.credential-type.InsuranceCredential.registry-get-url=http://sunbird-registry:80/registry/api/v1/Insurance/
mosip.certify.vciplugin.sunbird-rc.credential-type.InsuranceCredential.cred-schema-id=did:schema:c45e2840-bf2a-440d-b4aa-52ff3e205f18
mosip.certify.vciplugin.sunbird-rc.credential-type.InsuranceCredential.cred-schema-version=1.0.0
mosip.certify.vciplugin.sunbird-rc.credential-type.InsuranceCredential.registry-search-url=http://sunbird-registry:80/registry/api/v1/Insurance/search
mosip.certify.key-values={\
'vd11' : {\
'credential_issuer': '${mosipbox.public.url}', \
'authorization_server': '${mosip.certify.authorization.url}', \
'credential_endpoint': '${mosipbox.public.url}${server.servlet.path}/issuance/vd11/credential', \
'display': {{'name': 'Insurance', 'locale': 'en'}},\
'credentials_supported': {{\
'format': 'ldp_vc',\
'id': 'InsuranceCredential', \
'scope' : 'sunbird_rc_insurance_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'cryptographic_suites_supported': {'Ed25519Signature2020'},\
'proof_types_supported': {'jwt'},\
'credential_definition': {\
'type': {'VerifiableCredential','InsuranceCredential'},\
'credentialSubject': {\
'fullName': {'display': {{'name': 'Name','locale': 'en'}}}, \
'mobile': {'display': {{'name': 'Phone Number','locale': 'en'}}},\
'dob': {'display': {{'name': 'Date of Birth','locale': 'en'}}},\
'gender': {'display': {{'name': 'Gender','locale': 'en'}}},\
'benefits': {'display': {{'name': 'Benefits','locale': 'en'}}},\
'email': {'display': {{'name': 'Email Id','locale': 'en'}}},\
'policyIssuedOn': {'display': {{'name': 'Policy Issued On','locale': 'en'}}},\
'policyExpiresOn': {'display': {{'name': 'Policy Expires On','locale': 'en'}}},\
'policyName': {'display': {{'name': 'Policy Name','locale': 'en'}}},\
'policyNumber': {'display': {{'name': 'Policy Number','locale': 'en'}}}\
}},\
'display': {{'name': 'Sunbird RC Insurance Verifiable Credential', \
'locale': 'en', \
'logo': {'url': 'https://sunbird.org/images/sunbird-logo-new.png', 'alt_text': 'a square logo of a Sunbird'},\
'background_color': '#FDFAF9',\
'text_color': '#7C4616'}},\
'order' : {'fullName','policyName','policyExpiresOn','policyIssuedOn','policyNumber','mobile','dob','gender','benefits','email'}\
},\
{\
'format': 'ldp_vc',\
'id': 'LifeInsuranceCredential', \
'scope' : 'life_insurance_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'cryptographic_suites_supported': {'Ed25519Signature2020'},\
'proof_types_supported': {'jwt'},\
'credential_definition': {\
'type': {'VerifiableCredential'},\
'credentialSubject': {\
'fullName': {'display': {{'name': 'Name','locale': 'en'}}}, \
'mobile': {'display': {{'name': 'Phone Number','locale': 'en'}}},\
'dob': {'display': {{'name': 'Date of Birth','locale': 'en'}}},\
'gender': {'display': {{'name': 'Gender','locale': 'en'}}},\
'benefits': {'display': {{'name': 'Benefits','locale': 'en'}}},\
'email': {'display': {{'name': 'Email Id','locale': 'en'}}},\
'policyIssuedOn': {'display': {{'name': 'Policy Issued On','locale': 'en'}}},\
'policyExpiresOn': {'display': {{'name': 'Policy Expires On','locale': 'en'}}},\
'policyName': {'display': {{'name': 'Policy Name','locale': 'en'}}},\
'policyNumber': {'display': {{'name': 'Policy Number','locale': 'en'}}}\
}},\
'display': {{'name': 'Life Insurance Verifiable Credential', \
'locale': 'en', \
'logo': {'url': 'https://sunbird.org/images/sunbird-logo-new.png','alt_text': 'a square logo of a Sunbird'},\
'background_color': '#FDFAF9',\
'text_color': '#7C4616'}},\
'order' : {'fullName','policyName','policyExpiresOn','policyIssuedOn','policyNumber','mobile','dob','gender','benefits','email'}\
}}\
},\
'vd12' : {\
'credential_issuer': '${mosipbox.public.url}', \
'authorization_servers': {'${mosip.certify.authorization.url}'}, \
'credential_endpoint': '${mosipbox.public.url}${server.servlet.path}/issuance/vd12/credential', \
'display': {{'name': 'Insurance', 'locale': 'en'}},\
'credentials_supported' : { \
"InsuranceCredential" : {\
'format': 'ldp_vc',\
'scope' : 'sunbird_rc_insurance_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'credential_signing_alg_values_supported': {'Ed25519Signature2020'},\
'proof_types_supported': {'jwt': {'proof_signing_alg_values_supported': {'RS256', 'PS256'}}},\
'credential_definition': {\
'type': {'VerifiableCredential','InsuranceCredential'},\
'credentialSubject': {\
'fullName': {'display': {{'name': 'Name','locale': 'en'}}}, \
'mobile': {'display': {{'name': 'Phone Number','locale': 'en'}}},\
'dob': {'display': {{'name': 'Date of Birth','locale': 'en'}}},\
'gender': {'display': {{'name': 'Gender','locale': 'en'}}},\
'benefits': {'display': {{'name': 'Benefits','locale': 'en'}}},\
'email': {'display': {{'name': 'Email Id','locale': 'en'}}},\
'policyIssuedOn': {'display': {{'name': 'Policy Issued On','locale': 'en'}}},\
'policyExpiresOn': {'display': {{'name': 'Policy Expires On','locale': 'en'}}},\
'policyName': {'display': {{'name': 'Policy Name','locale': 'en'}}},\
'policyNumber': {'display': {{'name': 'Policy Number','locale': 'en'}}}\
}},\
'display': {{'name': 'Sunbird RC Insurance Verifiable Credential', \
'locale': 'en', \
'logo': {'url': 'https://sunbird.org/images/sunbird-logo-new.png','alt_text': 'a square logo of a Sunbird'},\
'background_color': '#FDFAF9',\
'text_color': '#7C4616'}},\
'order' : {'fullName','policyName','policyExpiresOn','policyIssuedOn','policyNumber','mobile','dob','gender','benefits','email'}\
},\
"LifeInsuranceCredential":{\
'format': 'ldp_vc',\
'scope' : 'life_insurance_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'credential_signing_alg_values_supported': {'Ed25519Signature2020'},\
'proof_types_supported': {'jwt': {'proof_signing_alg_values_supported': {'RS256', 'ES256'}}},\
'credential_definition': {\
'type': {'VerifiableCredential'},\
'credentialSubject': {\
'fullName': {'display': {{'name': 'Name','locale': 'en'}}}, \
'mobile': {'display': {{'name': 'Phone Number','locale': 'en'}}},\
'dob': {'display': {{'name': 'Date of Birth','locale': 'en'}}},\
'gender': {'display': {{'name': 'Gender','locale': 'en'}}},\
'benefits': {'display': {{'name': 'Benefits','locale': 'en'}}},\
'email': {'display': {{'name': 'Email Id','locale': 'en'}}},\
'policyIssuedOn': {'display': {{'name': 'Policy Issued On','locale': 'en'}}},\
'policyExpiresOn': {'display': {{'name': 'Policy Expires On','locale': 'en'}}},\
'policyName': {'display': {{'name': 'Policy Name','locale': 'en'}}},\
'policyNumber': {'display': {{'name': 'Policy Number','locale': 'en'}}}\
}},\
'display': {{'name': 'Life Insurance Verifiable Credential', \
'locale': 'en', \
'logo': {'url': 'https://sunbird.org/images/sunbird-logo-new.png','alt_text': 'a square logo of a Sunbird'},\
'background_color': '#FDFAF9',\
'text_color': '#7C4616'}},\
'order' : {'fullName','policyName','policyExpiresOn','policyIssuedOn','policyNumber','mobile','dob','gender','benefits','email'}\
}}},\
'latest' : {\
'credential_issuer': '${mosipbox.public.url}', \
'authorization_servers': {'${mosip.certify.authorization.url}'}, \
'credential_endpoint': '${mosipbox.public.url}${server.servlet.path}/issuance/credential', \
'display': {{'name': 'Insurance', 'locale': 'en'}},\
'credential_configurations_supported' : { \
"InsuranceCredential" : {\
'format': 'ldp_vc',\
'scope' : 'sunbird_rc_insurance_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'credential_signing_alg_values_supported': {'Ed25519Signature2020'},\
'proof_types_supported': {'jwt': {'proof_signing_alg_values_supported': {'RS256', 'PS256'}}},\
'credential_definition': {\
'type': {'VerifiableCredential','InsuranceCredential'},\
'credentialSubject': {\
'fullName': {'display': {{'name': 'Name','locale': 'en'}}}, \
'mobile': {'display': {{'name': 'Phone Number','locale': 'en'}}},\
'dob': {'display': {{'name': 'Date of Birth','locale': 'en'}}},\
'gender': {'display': {{'name': 'Gender','locale': 'en'}}},\
'benefits': {'display': {{'name': 'Benefits','locale': 'en'}}},\
'email': {'display': {{'name': 'Email Id','locale': 'en'}}},\
'policyIssuedOn': {'display': {{'name': 'Policy Issued On','locale': 'en'}}},\
'policyExpiresOn': {'display': {{'name': 'Policy Expires On','locale': 'en'}}},\
'policyName': {'display': {{'name': 'Policy Name','locale': 'en'}}},\
'policyNumber': {'display': {{'name': 'Policy Number','locale': 'en'}}}\
}},\
'display': {{'name': 'Sunbird RC Insurance Verifiable Credential', \
'locale': 'en', \
'logo': {'url': 'https://sunbird.org/images/sunbird-logo-new.png','alt_text': 'a square logo of a Sunbird'},\
'background_color': '#FDFAF9',\
'background_image': { 'uri': 'https://sunbird.org/images/sunbird-logo-new.png' }, \
'text_color': '#7C4616'}},\
'order' : {'fullName','policyName','policyExpiresOn','policyIssuedOn','policyNumber','mobile','dob','gender','benefits','email'}\
},\
"LifeInsuranceCredential":{\
'format': 'ldp_vc',\
'scope' : 'life_insurance_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'credential_signing_alg_values_supported': {'Ed25519Signature2020'},\
'proof_types_supported': {'jwt': {'proof_signing_alg_values_supported': {'RS256', 'ES256'}}},\
'credential_definition': {\
'type': {'VerifiableCredential'},\
'credentialSubject': {\
'fullName': {'display': {{'name': 'Name','locale': 'en'}}}, \
'mobile': {'display': {{'name': 'Phone Number','locale': 'en'}}},\
'dob': {'display': {{'name': 'Date of Birth','locale': 'en'}}},\
'gender': {'display': {{'name': 'Gender','locale': 'en'}}},\
'benefits': {'display': {{'name': 'Benefits','locale': 'en'}}},\
'email': {'display': {{'name': 'Email Id','locale': 'en'}}},\
'policyIssuedOn': {'display': {{'name': 'Policy Issued On','locale': 'en'}}},\
'policyExpiresOn': {'display': {{'name': 'Policy Expires On','locale': 'en'}}},\
'policyName': {'display': {{'name': 'Policy Name','locale': 'en'}}},\
'policyNumber': {'display': {{'name': 'Policy Number','locale': 'en'}}}\
}},\
'display': {{'name': 'Life Insurance Verifiable Credential', \
'locale': 'en', \
'logo': {'url': 'https://sunbird.org/images/sunbird-logo-new.png','alt_text': 'a square logo of a Sunbird'},\
'background_image': { 'uri': 'https://sunbird.org/images/sunbird-logo-new.png' }, \
'background_color': '#FDFAF9',\
'background_image': { 'uri': 'https://sunbird.org/images/sunbird-logo-new.png' }, \
'text_color': '#7C4616'}},\
'order' : {'fullName','policyName','policyExpiresOn','policyIssuedOn','policyNumber','mobile','dob','gender','benefits','email'}\
}}\
}\
}