-
Notifications
You must be signed in to change notification settings - Fork 33
/
certify-mosipid-identity.properties
150 lines (140 loc) · 10.1 KB
/
certify-mosipid-identity.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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
## ------------------------------------------- Plugin enable properties ------------------------------------------------------------
mosip.certify.integration.scan-base-package=io.mosip.certify.mosipid.integration
mosip.certify.integration.audit-plugin=IdaAuditPluginImpl
mosip.certify.integration.vci-plugin=IdaVCIssuancePluginImpl
## ------------------------------------------- Plugin specific usecase properties ------------------------------------------------------------
mosip.certify.misp.license.key=${mosip.certify.misp.key}
mosip.certify.ida.vci-user-info-cache=userinfo
mosip.certify.ida.vci-exchange-id=mosip.identity.vciexchange
mosip.certify.ida.vci-exchange-version=1.0
mosip.certify.ida.vci-exchange-url=https://${mosip.api.internal.host}/idauthentication/v1/vci-exchange/delegated/${mosip.certify.misp.license.key}/
mosip.certify.authenticator.ida.auth-token-url=https://${mosip.api.internal.host}/v1/authmanager/authenticate/clientidsecretkey
mosip.certify.authenticator.ida.audit-manager-url=https://${mosip.api.internal.host}/v1/auditmanager/audits
mosip.certify.authenticator.ida.client-id=mosip-ida-client
mosip.certify.authenticator.ida.secret-key=${mosip.ida.client.secret}
mosip.certify.authenticator.ida.app-id=ida
mosip.certify.cache.secure.individual-id=false
mosip.certify.cache.store.individual-id=true
mosip.certify.cache.security.algorithm-name=AES/ECB/PKCS5Padding
## ------------------------------------------- UseCase specific default overriding properties ------------------------------------------------------------
mosip.certify.domain.url=https://${mosip.injicertify.mosipid.host}
mosip.certify.identifier=${mosip.certify.domain.url}
mosip.certify.authorization.url=https://${mosip.esignet.mosipid.host}
mosip.certify.database.name=inji_certify_mosipid
mosip.certify.key-values={\
'vd11' : { \
'credential_issuer': '${mosip.certify.identifier}', \
'credential_endpoint': '${mosip.certify.domain.url}${server.servlet.path}/issuance/vd11/credential', \
'credentials_supported': {\
{\
'format': 'ldp_vc',\
'id': 'MOSIPVerifiableCredential', \
'scope' : 'mosip_identity_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'cryptographic_suites_supported': {'RsaSignature2018'},\
'proof_types_supported': {'jwt'},\
'credential_definition': {\
'type': {'VerifiableCredential','MOSIPVerifiableCredential'},\
'credentialSubject': {\
'fullName': { 'display': {{'name': 'Full Name', 'locale': 'en' }}},\
'phone': { 'display': {{'name': 'Phone Number', 'locale': 'en' }}},\
'dateOfBirth': { 'display': {{'name': 'DOB', 'locale': 'en' }}},\
'gender': { 'display': {{'name': 'Gender', 'locale': 'en' }}},\
'residenceStatus': { 'display': {{'name': 'Residence Status', 'locale': 'en' }}},\
'email': { 'display': {{'name': 'Email Id', 'locale': 'en' }}},\
'region': { 'display': {{'name': 'Region', 'locale': 'en' }}},\
'province': { 'display': {{'name': 'Province', 'locale': 'en' }}},\
'city': { 'display': {{'name': 'City', 'locale': 'en' }}},\
'UIN': { 'display': {{'name': 'UIN', 'locale': 'en' }}},\
'VID': { 'display': {{'name': 'VID', 'locale': 'en' }}},\
'postalCode': { 'display': {{'name': 'Postal Code', 'locale': 'en' }}}\
}\
},\
'display': {{'name': 'MOSIP National ID', \
'locale': 'en', \
'logo': {'url': 'https://${mosip.api.public.host}/inji/mosip-logo.png','alt_text': 'a square logo of a MOSIP'},\
'background_color': '#f8efea',\
'text_color': '#000000'}}\
}\
}\
},\
'vd12' : {\
'credential_issuer': '${mosip.certify.identifier}', \
'authorization_servers': {'${mosip.certify.authorization.url}'}, \
'credential_endpoint': '${mosip.certify.domain.url}${server.servlet.path}/issuance/vd12/credential', \
'display': {{'name': 'MOSIP National ID', 'locale': 'en'}},\
'credentials_supported' : { \
'MosipVerifiableCredential' : {\
'format': 'ldp_vc',\
'scope' : 'mosip_identity_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'cryptographic_suites_supported': {'RsaSignature2018'},\
'proof_types_supported': {'jwt'},\
'credential_definition': {\
'type': {'VerifiableCredential','MOSIPVerifiableCredential'},\
'credentialSubject': {\
'fullName': { 'display': {{'name': 'Full Name', 'locale': 'en' }}},\
'phone': { 'display': {{'name': 'Phone Number', 'locale': 'en' }}},\
'dateOfBirth': { 'display': {{'name': 'DOB', 'locale': 'en' }}},\
'gender': { 'display': {{'name': 'Gender', 'locale': 'en' }}},\
'residenceStatus': { 'display': {{'name': 'Residence Status', 'locale': 'en' }}},\
'email': { 'display': {{'name': 'Email Id', 'locale': 'en' }}},\
'region': { 'display': {{'name': 'Region', 'locale': 'en' }}},\
'province': { 'display': {{'name': 'Province', 'locale': 'en' }}},\
'city': { 'display': {{'name': 'City', 'locale': 'en' }}},\
'UIN': { 'display': {{'name': 'UIN', 'locale': 'en' }}},\
'VID': { 'display': {{'name': 'VID', 'locale': 'en' }}},\
'postalCode': { 'display': {{'name': 'Postal Code', 'locale': 'en' }}}\
}\
},\
'display': {{'name': 'MOSIP National ID', \
'locale': 'en', \
'logo': {'url': 'https://${mosip.api.public.host}/inji/mosip-logo.png','alt_text': 'a square logo of a MOSIP'},\
'background_color': '#f8efea',\
'text_color': '#000000'}},\
'order' : {'fullName','phone','gender','residenceStatus','email','region','province','city','UIN','postalCode'}\
}\
}\
},\
'latest' : {\
'credential_issuer': '${mosip.certify.identifier}', \
'authorization_servers': {'${mosip.certify.authorization.url}'}, \
'credential_endpoint': '${mosip.certify.domain.url}${server.servlet.path}/issuance/credential', \
'display': {{'name': 'MOSIP National ID', 'locale': 'en'}},\
'credential_configurations_supported' : { \
'MOSIPVerifiableCredential_ldp' : {\
'format': 'ldp_vc',\
'scope' : 'mosip_identity_vc_ldp',\
'cryptographic_binding_methods_supported': {'did:jwk'},\
'credential_signing_alg_values_supported': {'RsaSignature2018'},\
'proof_types_supported': {'jwt': {'proof_signing_alg_values_supported': {'RS256', 'PS256'}}},\
'credential_definition': {\
'type': {'VerifiableCredential','MOSIPVerifiableCredential'},\
'credentialSubject': {\
'fullName': { 'display': {{'name': 'Full Name', 'locale': 'en' }}},\
'phone': { 'display': {{'name': 'Phone Number', 'locale': 'en' }}},\
'dateOfBirth': { 'display': {{'name': 'DOB', 'locale': 'en' }}},\
'gender': { 'display': {{'name': 'Gender', 'locale': 'en' }}},\
'residenceStatus': { 'display': {{'name': 'Residence Status', 'locale': 'en' }}},\
'email': { 'display': {{'name': 'Email Id', 'locale': 'en' }}},\
'region': { 'display': {{'name': 'Region', 'locale': 'en' }}},\
'province': { 'display': {{'name': 'Province', 'locale': 'en' }}},\
'city': { 'display': {{'name': 'City', 'locale': 'en' }}},\
'UIN': { 'display': {{'name': 'UIN', 'locale': 'en' }}},\
'VID': { 'display': {{'name': 'VID', 'locale': 'en' }}},\
'postalCode': { 'display': {{'name': 'Postal Code', 'locale': 'en' }}}\
}},\
'display': {{'name': 'MOSIP National ID', \
'locale': 'en', \
'logo': {'url': 'https://${mosip.api.public.host}/inji/mosip-logo.png','alt_text': 'a square logo of a MOSIP'},\
'background_color': '#f8efea',\
'background_image': { 'uri': 'https://${mosip.api.public.host}/inji/mosip-logo.png' }, \
'text_color': '#000000'}},\
'order' : {'fullName','phone','gender','residenceStatus','email','region','province','city','UIN','postalCode'}\
}\
}\
}\
}