Skip to content

Conversation

@harini12km
Copy link

Formatted for readability

Signed-off-by: Harini K M <[email protected]>
Piyush7034 added a commit that referenced this pull request Jul 21, 2025
…n API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Piyush7034 added a commit that referenced this pull request Jul 30, 2025
…n API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Piyush7034 added a commit that referenced this pull request Jul 30, 2025
…n API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Piyush7034 added a commit that referenced this pull request Aug 1, 2025
…n API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Piyush7034 added a commit that referenced this pull request Aug 6, 2025
* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Piyush7034 added a commit that referenced this pull request Aug 6, 2025
* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Piyush7034 added a commit that referenced this pull request Aug 6, 2025
* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Piyush7034 added a commit that referenced this pull request Aug 6, 2025
* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Piyush7034 added a commit that referenced this pull request Aug 6, 2025
* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Piyush7034 added a commit that referenced this pull request Dec 2, 2025
* MOSIP-35628: Check and report CAPTCHA status only once during test execution. (inji#370)

* MOSIP-40258

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-28246 Removed unused variables from injicertify module

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-28246 Removed commented unused variables

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628 API - Capture info in the report whether Captcha is enabled on the target env or not

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628 Changed SNAPSHOT version

Signed-off-by: SradhaMohanty5899 <[email protected]>

* DSD-8335

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed previously added dependancy

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed danubtech repository from Pom

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Check and report CAPTCHA status only once during test execution.

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed getValueFromEsignetActuator() method

Signed-off-by: SradhaMohanty5899 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1116] Add the Ledger search api. (inji#368)

* Adding the Ledger search api.

Signed-off-by: Nandeesh <[email protected]>

* updated the PR with validation changes.

Signed-off-by: Nandeesh <[email protected]>

* Changed the key names in the CredentialLedgerSearchRequest as per specs.

Signed-off-by: Nandeesh <[email protected]>

* Resolved the comments by modified the service code and adding the testcases.

Signed-off-by: Nandeesh <[email protected]>

* Removed unused dependency and print statements.

Signed-off-by: Nandeesh <[email protected]>

* Resolved the comments by modifying the LedgerIssuanceTableCustomRepositoryImpl file.

Signed-off-by: Nandeesh <[email protected]>

* fix: resolve ApplicationContext failure in RenderingCredentialTemplateRepositoryTest by providing ObjectMapper bean

Signed-off-by: Nandeesh <[email protected]>

---------

Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (inji#395)

* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Sradha Mohanty <[email protected]>
Co-authored-by: Nandeesh778 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Jack <[email protected]>
# Conflicts:
#	README.md
#	api-test/pom.xml
#	certify-core/src/main/java/io/mosip/certify/core/dto/CredentialConfigurationDTO.java
#	certify-core/src/main/java/io/mosip/certify/core/spi/CredentialLedgerService.java
#	certify-core/src/main/java/io/mosip/certify/core/spi/CredentialStatusService.java
#	certify-service/src/main/java/io/mosip/certify/controller/CredentialLedgerController.java
#	certify-service/src/main/java/io/mosip/certify/controller/CredentialStatusController.java
#	certify-service/src/main/java/io/mosip/certify/credential/SDJWT.java
#	certify-service/src/main/java/io/mosip/certify/credential/W3CJsonLD.java
#	certify-service/src/main/java/io/mosip/certify/proof/JwtProofValidator.java
#	certify-service/src/main/java/io/mosip/certify/repository/LedgerIssuanceTableCustomRepositoryImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/CertifyIssuanceServiceImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/CredentialConfigurationServiceImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/CredentialLedgerServiceImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/CredentialStatusServiceImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/StatusListCredentialService.java
#	certify-service/src/main/java/io/mosip/certify/services/StatusListUpdateBatchJob.java
#	certify-service/src/main/java/io/mosip/certify/utils/CredentialConfigMapper.java
#	certify-service/src/main/java/io/mosip/certify/utils/CredentialUtils.java
#	certify-service/src/main/java/io/mosip/certify/utils/DIDDocumentUtil.java
#	certify-service/src/main/java/io/mosip/certify/utils/VCIssuanceUtil.java
#	certify-service/src/main/java/io/mosip/certify/validators/credentialconfigvalidators/LdpVcCredentialConfigValidator.java
#	certify-service/src/main/java/io/mosip/certify/validators/credentialconfigvalidators/MsoMdocCredentialConfigValidator.java
#	certify-service/src/main/java/io/mosip/certify/validators/credentialconfigvalidators/SdJwtCredentialConfigValidator.java
#	certify-service/src/main/java/io/mosip/certify/vcformatters/VelocityTemplatingEngineImpl.java
#	certify-service/src/main/resources/application-local.properties
#	certify-service/src/test/java/io/mosip/certify/credential/SDJWTTest.java
#	certify-service/src/test/java/io/mosip/certify/credential/W3CJsonLDTest.java
#	certify-service/src/test/java/io/mosip/certify/services/CertifyIssuanceServiceImplTest.java
#	certify-service/src/test/java/io/mosip/certify/services/CredentialConfigurationServiceImplTest.java
#	certify-service/src/test/java/io/mosip/certify/services/CredentialStatusServiceImplTest.java
#	certify-service/src/test/java/io/mosip/certify/utils/DIDDocumentUtilTest.java
#	certify-service/src/test/java/io/mosip/certify/validators/credentialconfigvalidators/LdpVcCredentialConfigValidatorTest.java
#	certify-service/src/test/java/io/mosip/certify/validators/credentialconfigvalidators/MsoMdocCredentialConfigValidatorTest.java
#	certify-service/src/test/java/io/mosip/certify/validators/credentialconfigvalidators/SdJwtCredentialConfigValidatorTest.java
#	certify-service/src/test/resources/application-test.properties
#	db_scripts/inji_certify/ddl/certify-credential_status_transaction.sql
#	db_upgrade_script/mosip_certify/sql/0.11.0_to_0.12.0_rollback.sql
#	db_upgrade_script/mosip_certify/sql/0.11.0_to_0.12.0_upgrade.sql
#	deploy/redis/install.sh
#	docker-compose/docker-compose-injistack/Add-New-Usecase-Using-PostgresPlugin.md
#	docker-compose/docker-compose-injistack/README.md
#	docker-compose/docker-compose-injistack/certify_init.sql
#	docker-compose/docker-compose-injistack/config/certify-csvdp-farmer.properties
#	docker-compose/docker-compose-injistack/config/certify-default.properties
#	docs/postman-collections/inji-certify-with-mock-identity.postman_collection.json
#	docs/postman-collections/inji-certify-with-mock-mdoc-vci.postman_collection.json
#	docs/postman-collections/inji-certify-with-sunbird-insurance.postman_collection.json
Piyush7034 added a commit that referenced this pull request Dec 4, 2025
* [INJICERT-981] rebase with develop (inji#398)

* MOSIP-35628: Check and report CAPTCHA status only once during test execution. (inji#370)

* MOSIP-40258

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-28246 Removed unused variables from injicertify module

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-28246 Removed commented unused variables

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628 API - Capture info in the report whether Captcha is enabled on the target env or not

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628 Changed SNAPSHOT version

Signed-off-by: SradhaMohanty5899 <[email protected]>

* DSD-8335

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed previously added dependancy

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed danubtech repository from Pom

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Check and report CAPTCHA status only once during test execution.

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed getValueFromEsignetActuator() method

Signed-off-by: SradhaMohanty5899 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1116] Add the Ledger search api. (inji#368)

* Adding the Ledger search api.

Signed-off-by: Nandeesh <[email protected]>

* updated the PR with validation changes.

Signed-off-by: Nandeesh <[email protected]>

* Changed the key names in the CredentialLedgerSearchRequest as per specs.

Signed-off-by: Nandeesh <[email protected]>

* Resolved the comments by modified the service code and adding the testcases.

Signed-off-by: Nandeesh <[email protected]>

* Removed unused dependency and print statements.

Signed-off-by: Nandeesh <[email protected]>

* Resolved the comments by modifying the LedgerIssuanceTableCustomRepositoryImpl file.

Signed-off-by: Nandeesh <[email protected]>

* fix: resolve ApplicationContext failure in RenderingCredentialTemplateRepositoryTest by providing ObjectMapper bean

Signed-off-by: Nandeesh <[email protected]>

---------

Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (inji#395)

* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Sradha Mohanty <[email protected]>
Co-authored-by: Nandeesh778 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Jack <[email protected]>
# Conflicts:
#	README.md
#	api-test/pom.xml
#	certify-core/src/main/java/io/mosip/certify/core/dto/CredentialConfigurationDTO.java
#	certify-core/src/main/java/io/mosip/certify/core/spi/CredentialLedgerService.java
#	certify-core/src/main/java/io/mosip/certify/core/spi/CredentialStatusService.java
#	certify-service/src/main/java/io/mosip/certify/controller/CredentialLedgerController.java
#	certify-service/src/main/java/io/mosip/certify/controller/CredentialStatusController.java
#	certify-service/src/main/java/io/mosip/certify/credential/SDJWT.java
#	certify-service/src/main/java/io/mosip/certify/credential/W3CJsonLD.java
#	certify-service/src/main/java/io/mosip/certify/proof/JwtProofValidator.java
#	certify-service/src/main/java/io/mosip/certify/repository/LedgerIssuanceTableCustomRepositoryImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/CertifyIssuanceServiceImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/CredentialConfigurationServiceImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/CredentialLedgerServiceImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/CredentialStatusServiceImpl.java
#	certify-service/src/main/java/io/mosip/certify/services/StatusListCredentialService.java
#	certify-service/src/main/java/io/mosip/certify/services/StatusListUpdateBatchJob.java
#	certify-service/src/main/java/io/mosip/certify/utils/CredentialConfigMapper.java
#	certify-service/src/main/java/io/mosip/certify/utils/CredentialUtils.java
#	certify-service/src/main/java/io/mosip/certify/utils/DIDDocumentUtil.java
#	certify-service/src/main/java/io/mosip/certify/utils/VCIssuanceUtil.java
#	certify-service/src/main/java/io/mosip/certify/validators/credentialconfigvalidators/LdpVcCredentialConfigValidator.java
#	certify-service/src/main/java/io/mosip/certify/validators/credentialconfigvalidators/MsoMdocCredentialConfigValidator.java
#	certify-service/src/main/java/io/mosip/certify/validators/credentialconfigvalidators/SdJwtCredentialConfigValidator.java
#	certify-service/src/main/java/io/mosip/certify/vcformatters/VelocityTemplatingEngineImpl.java
#	certify-service/src/main/resources/application-local.properties
#	certify-service/src/test/java/io/mosip/certify/credential/SDJWTTest.java
#	certify-service/src/test/java/io/mosip/certify/credential/W3CJsonLDTest.java
#	certify-service/src/test/java/io/mosip/certify/services/CertifyIssuanceServiceImplTest.java
#	certify-service/src/test/java/io/mosip/certify/services/CredentialConfigurationServiceImplTest.java
#	certify-service/src/test/java/io/mosip/certify/services/CredentialStatusServiceImplTest.java
#	certify-service/src/test/java/io/mosip/certify/utils/DIDDocumentUtilTest.java
#	certify-service/src/test/java/io/mosip/certify/validators/credentialconfigvalidators/LdpVcCredentialConfigValidatorTest.java
#	certify-service/src/test/java/io/mosip/certify/validators/credentialconfigvalidators/MsoMdocCredentialConfigValidatorTest.java
#	certify-service/src/test/java/io/mosip/certify/validators/credentialconfigvalidators/SdJwtCredentialConfigValidatorTest.java
#	certify-service/src/test/resources/application-test.properties
#	db_scripts/inji_certify/ddl/certify-credential_status_transaction.sql
#	db_upgrade_script/mosip_certify/sql/0.11.0_to_0.12.0_rollback.sql
#	db_upgrade_script/mosip_certify/sql/0.11.0_to_0.12.0_upgrade.sql
#	deploy/redis/install.sh
#	docker-compose/docker-compose-injistack/Add-New-Usecase-Using-PostgresPlugin.md
#	docker-compose/docker-compose-injistack/README.md
#	docker-compose/docker-compose-injistack/certify_init.sql
#	docker-compose/docker-compose-injistack/config/certify-csvdp-farmer.properties
#	docker-compose/docker-compose-injistack/config/certify-default.properties
#	docs/postman-collections/inji-certify-with-mock-identity.postman_collection.json
#	docs/postman-collections/inji-certify-with-mock-mdoc-vci.postman_collection.json
#	docs/postman-collections/inji-certify-with-sunbird-insurance.postman_collection.json

* [INJICERT-981] Implement mDOC template processing and data provider integration (inji#412)

* feat: implement mDOC template processing and data provider integration

- Add DataProviderPlugin integration for raw business data fetching
- Implement Velocity template engine processing for mDOC structure
- Add sequential digestID assignment (0, 1, 2...) for credential elements
- Organize data into proper ISO 18013-5 namespaces
- Support custom namespace templates (e.g., org.mosip.farmer)
- Generate unsigned mDOC JSON structure with validityInfo and docType
- Maintain existing interface compatibility with no breaking changes
- Add support for system metadata (_docType, _issuer) template variables

Signed-off-by: amaydixit11 <[email protected]>

* Update pom.xml

Signed-off-by: Amay Dixit <[email protected]>

* Use @Autowired ObjectMapper instead of creating new instance in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* throw CertifyException instead of returning empty string in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* cleaned up commented code

Signed-off-by: amaydixit11 <[email protected]>

* Removed the Redundant MDocVCFormatter.java and migrated the mdoc logic into the existing VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Deleted a duplicated config

Signed-off-by: amaydixit11 <[email protected]>

* Resolved Issues while migration from separate mdoc formatter to VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Runtime Dependency removed from pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Removed Redundant MDocConstants.java file and Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* Removed Debug logs

Signed-off-by: amaydixit11 <[email protected]>

---------

Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>

* [INJICERT-981] Implement COSE signing and CBOR encoding for mDOC credentials  (inji#444)

* feat: implement mDOC template processing and data provider integration

- Add DataProviderPlugin integration for raw business data fetching
- Implement Velocity template engine processing for mDOC structure
- Add sequential digestID assignment (0, 1, 2...) for credential elements
- Organize data into proper ISO 18013-5 namespaces
- Support custom namespace templates (e.g., org.mosip.farmer)
- Generate unsigned mDOC JSON structure with validityInfo and docType
- Maintain existing interface compatibility with no breaking changes
- Add support for system metadata (_docType, _issuer) template variables

Signed-off-by: amaydixit11 <[email protected]>

* Update pom.xml

Signed-off-by: Amay Dixit <[email protected]>

* Use @Autowired ObjectMapper instead of creating new instance in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* throw CertifyException instead of returning empty string in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* cleaned up commented code

Signed-off-by: amaydixit11 <[email protected]>

* Removed the Redundant MDocVCFormatter.java and migrated the mdoc logic into the existing VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Deleted a duplicated config

Signed-off-by: amaydixit11 <[email protected]>

* Resolved Issues while migration from separate mdoc formatter to VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Add cryptographically secure random salts (24 bytes each)
Calculate SHA-256 digest of each CBOR-encoded element
Create Mobile Security Object (MSO) with digest mapping

Signed-off-by: amaydixit11 <[email protected]>

* Implemented AddProof Method and Integrated Cose Signing Method from KeyManager

Signed-off-by: amaydixit11 <[email protected]>

* Runtime Dependency removed from pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* code cleanup

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Removed Redundant MDocConstants.java file and Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* Removed Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* rollback application-local.properties

Signed-off-by: amaydixit11 <[email protected]>

* Added MDocUtilsTest.java

Signed-off-by: amaydixit11 <[email protected]>

* Added MDocCredentialTest.java

Signed-off-by: amaydixit11 <[email protected]>

* Changes in VelocityTemplatingEngineImplTest.java

Signed-off-by: amaydixit11 <[email protected]>

* replaced logic with CSV Data provider plugin

Signed-off-by: amaydixit11 <[email protected]>

* replaced logic with CSV Data provider plugin

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Fixed MSO Structure

Signed-off-by: amaydixit11 <[email protected]>

* Fixed Device Key Structure

Signed-off-by: amaydixit11 <[email protected]>

* Improved Test Coverage

Signed-off-by: amaydixit11 <[email protected]>

* Added Config for Version and DigestAlgorithm

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup for Signing

Signed-off-by: amaydixit11 <[email protected]>

* Changed Exception to CertifyException

Signed-off-by: amaydixit11 <[email protected]>

* Changed Valididity literals to constant values

Signed-off-by: amaydixit11 <[email protected]>

* Made functions private, changed literals to constants

Signed-off-by: amaydixit11 <[email protected]>

* Fixes

Signed-off-by: amaydixit11 <[email protected]>

* Migrated signMSO method to a separate dedicated proof generator

Signed-off-by: amaydixit11 <[email protected]>

* Migrated signMSO method to a separate dedicated proof generator

Signed-off-by: amaydixit11 <[email protected]>

* Dead code cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Improved Tests

Signed-off-by: amaydixit11 <[email protected]>

* Logs cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Fixed tests

Signed-off-by: amaydixit11 <[email protected]>

* Fixed tests

Signed-off-by: amaydixit11 <[email protected]>

* Added more Constants

Signed-off-by: amaydixit11 <[email protected]>

* Reverted changes in CertifyServiceApplication

Signed-off-by: amaydixit11 <[email protected]>

* Improved Test Coverage for CertifyIssuanceServiceImplTest

Signed-off-by: amaydixit11 <[email protected]>

* Removed Dead code

Signed-off-by: amaydixit11 <[email protected]>

* Removed CoseSign1ProofGenerator.java and reverted to implementation within MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Replaced @Injectmocks with Constructor Injection

Signed-off-by: amaydixit11 <[email protected]>

* Rename MDocUtils to MDocProcessor

Signed-off-by: amaydixit11 <[email protected]>

* Altered MsoMdocCredentialRequestValidator to fit the new change that claims are not used in the request anymore

Signed-off-by: amaydixit11 <[email protected]>

* updated pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* updated scanBasePackages in CertifyServiceApplication to include io.mosip.kernel.signature.builder package

Signed-off-by: amaydixit11 <[email protected]>

* added cbor in dependencies

Signed-off-by: amaydixit11 <[email protected]>

* Fixed MDocCredentialTest to reflect the fact that InjectMocks aren't being used anymore

Signed-off-by: amaydixit11 <[email protected]>

* Fixed Tests for MsoMdocCredentialRequestValidatorTest with empty claims

Signed-off-by: amaydixit11 <[email protected]>

* Added h2database dependency

Signed-off-by: amaydixit11 <[email protected]>

---------

Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>

* [INJICERT-1276] Rebase mdoc with develop

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] Remove unnecessary changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] AI Fixes as per AI review comments

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] Add proper exception handling and error message

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>
Co-authored-by: Sradha Mohanty <[email protected]>
Co-authored-by: Nandeesh778 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Jack <[email protected]>
Co-authored-by: Amay Dixit <[email protected]>
Piyush7034 added a commit that referenced this pull request Jan 2, 2026
* [INJICERT-990] Rebase with develop (#400)

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (#395)

* Fix status list db scripts (#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (#381)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on #379 criticial PR (#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

---------

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [INJICERT-990] Add Authorization Server endpoint with logic and unit tests (#422)

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Update authorization URL in application-local.properties to match actual oauth url

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS Metadata Configuration to application-test.properties

- Introduced new properties for OAuth AS metadata including issuer, token endpoint, JWKS URI, supported grant types, response types, and authentication methods.
- Added interactive authorization endpoint configuration.

Signed-off-by: Anmol Mangaraj <[email protected]>

---------

Signed-off-by: Anmol Mangaraj <[email protected]>

* [INJICERT-990] Sync feature branch with develop branch (#470)

* INJICERT-1113 - Data integrity testcases (#371)

* mosip-39006- mosipid usecase Negative testcases

Signed-off-by: Likhitha R L <[email protected]>

* added unique identifier and description

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mosip-41108

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* Injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113-data integirty testcases

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1120

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT- 1178 , Fixed Failures (#406)

* mosip-39006- mosipid usecase Negative testcases

Signed-off-by: Likhitha R L <[email protected]>

* added unique identifier and description

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mosip-41108

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* Injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113-data integirty testcases

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1120

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1178

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1178

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* injicert-1178 (#408)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Merge pull request #404 from Infosys/develop-update

[INJICERT-1169] [INJICERT-1060] Move keymanager and sd jwt disclosure fix to develop.

Signed-off-by: jackjain <[email protected]>

* Injicert-1104 - added positive flow testcases for revocation flow (#416)

* INJICERT-1104

Signed-off-by: Nandhukumar <[email protected]>

* INJICERT-1104 - added positive flow testcases for revocation flow

Signed-off-by: Nandhukumar <[email protected]>

* INJICERT-1104 - updated property files

Signed-off-by: Nandhukumar <[email protected]>

---------

Signed-off-by: Nandhukumar <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Move status endpoint fix, api docs and read me changes from release to develop branch. (#419)

* [INJICERT-1145] Fix status-list and credential-status url endpoints (#414)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1123] Add missing description for fields in API documentation (#375)

* [INJICERT-1123] Add missing description for fields in API documentation for existing endpoints

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1123] Adding signatureCryptoSuite field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1123] Implement changes based on code review feedback

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1151][INJICERT-1152] fix issues in upgrade/rollback sql scripts, Add step-by-step migration guide (#413)

* [INJICERT-1152] Fix issues with DB upgrade and rollback sql scripts

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1151] Add step-by-step migration guide for upgrade from 0.11.0 to 0.12.0

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1152] Add deprecated properties in migration guide and refactor the steps to run db upgrade script

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1153] Add docs for newly added features, update docker-compose setup ReadMe and update postman collections  (#411)

* [INJICERT-1153] Add documentation for Issuer onboarding, data integrity proof, sd-jwt and vc revocation support, modify the docker-compose setup ReadMe file to indicate optional steps

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Add credential status and ledger endpoint to postman collection, modify the well-known URL in existing collections

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Add sequence diagram for sd-jwt, data integrity proof and vc revocation documentation

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Fix sequence diagrams as per review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1153]  Update ReadMe file for inji-certify repository as per 0.12.0 release changes (#418)

* [INJICERT-1153] Update ReadMe file for inji-certify repository as per latest changes

Signed-off-by: jackjain <[email protected]>

* [(INJICERT-1153] fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT-1200 (#425)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Rebase
[INJICERT-1164] Upgrade web to 0.13.1 and mimoto to 0.18.1

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1175] Fix for sd-jwt stucture containing list and nested objects

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1179][INJICERT-1182] Save credentialStatusPurpose value in credential-configuration from API request, introduce config to define allowed purpose values and introduce request validation for the field in credential update endpoint

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1182] Fix failing unit test

Signed-off-by: jackjain <[email protected]>

* [INICERT-1171] [INJICERT-1172] Remove keychooser and code duplication from services and utils (#415)

* [INJICERT-1172] Remove keychooser from certify issuance service

Signed-off-by: Piyush7034 <[email protected]>

# Conflicts:
#	certify-service/src/main/resources/application-local.properties
#	certify-service/src/test/java/io/mosip/certify/services/CredentialConfigurationServiceImplTest.java

* [INJICERT-1171] Remove duplicate code from statusListCredentialService

Signed-off-by: Piyush7034 <[email protected]>

# Conflicts:
#	certify-service/src/main/java/io/mosip/certify/services/StatusListCredentialService.java

* [INJCIERT-1172] Revert some changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1192] Remove credentialId as new uuid in ledger

Signed-off-by: Piyush7034 <[email protected]>

* Add config for status list ref id and rename keychooser to keyAliasMapper

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1172] Rebase with develop

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1176] Fix issue with ES256 did key proof_jwt validation

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1164] Update credential template and fix nginx for web (#430)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1215] Upgrade certify and plugin versions (#431)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-00] Adding placeholder db scripts for version upgrade from 0.12.0 to 0.12.1 (#435)

Signed-off-by: jackjain <[email protected]>

* INJICERT-1104 -Revocation APIs automation (Ledger search, update status & status credential list) (#428)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Injicert- 1176 , Injicert-1218 - Added support for did:key with ES256K and ES256 and updated the JTI generation logic to use a unique UUID. (#439)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT-1221 - Updated the logic of the Ledger Search API and Credential Config API in accordance with the changes specified in INJICERT-1172 and INJICERT-1192 (#443)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Refactor credential configuration service to convert to entity only after validation passes (#446)

Signed-off-by: jackjain <[email protected]>

* MOSIP-43117 - Added Misp policy file in config folder (#450)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* MOSIP-43117

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [MOSIP-43103] Updated bitnami images for develop

Signed-off-by: Abhi <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Mosip-43120 (#451)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [MOSIP-43104] Updated install.sh (#452)

Signed-off-by: Rakshith B <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1173] Decouple ledger entries from status list while vc issuance (#438)

* [INJICERT-1173] Decoupled ledger from credential status

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Add unit tests for certifyIssuance and credentialStatusService

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Add unit tests for credential status list service

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Remove credentialId from vcFormatter and restructure credentialStatusDetail setter

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] [INJICERT-1207] Update status-search to remove ledger dependency (#441)

* [INJICERT-1173] Decoupled ledger from credential status

Signed-off-by: Piyush7034 <[email protected]>

rebase complete#

* [INJICERT-1173] Add unit tests for certifyIssuance and credentialStatusService
Rebase complete

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1207] Remove credentialId from updateStatus search criteria

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1207] Update CredentialStatusServiceImpl unit tests

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Update issuance and expiration date type in ledger

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1217] Fix for ledger search when credentialId is empty

Signed-off-by: Piyush7034 <[email protected]>

* Remove ledger dependency from update status

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add upgrade db-scripts

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add v2 apis for ledger search and status update

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Fix unit tests for update status changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add new update status request v2 dto

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Resolve review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Change authorization url type from list to string (#457)

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Update docker image with develop for latest develop changes (#459)

* [INJICERT-1193] [INJICERT-1207] Add docker compose changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Update mosipdev to mosipqa

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1237] Expose keymanager csr endpoint (#460)

* [INJICERT-1237] Expose keymanager csr endpoint

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Update general exception to certify exception

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Add generate csr endpoint details in api docs

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Fix organizationUnit field name

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1245] Update postman collections

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Fix collections local endpoints

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Merge pull request #442 from tw-mosip/INJICERT-1214

[INJICERT-1214] Fix issue with encoding of BitStringStatusList

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>
Signed-off-by: Nandhukumar <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Abhi <[email protected]>
Signed-off-by: Rakshith B <[email protected]>
Co-authored-by: likhitharl <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Co-authored-by: Nandhukumar <[email protected]>
Co-authored-by: Abhi <[email protected]>
Co-authored-by: Rakshith B <[email protected]>

* [INJICERT-990] Presentation During Issuance (#403)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* [INJICERT-990] Rebase with develop (#400)

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (#395)

* Fix status list db scripts (#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (#381)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on #379 criticial PR (#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

---------

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement Interactive Authorization Request (IAR) functionality with OpenID4VP support, including service, controller, DTOs, and configuration updates.

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add unit tests for Interactive Authorization Request (IAR) endpoint in OAuthAuthorizationController

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Fix missing newline at end of file in OAuthAuthorizationControllerTest

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor IAR and OpenID4VP request handling: remove unused parameters and dependencies

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement Interactive Authorization Request (IAR) enhancements: add session management, response handling, and database support

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Remove unused mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement OAuth 2.0 Token Request and Response handling: add processTokenRequest method, DTOs, and database support

Signed-off-by: anmol5936 <[email protected]>

* Integrate Verify Service for VP Request and Verification: refactor IAR session handling, add new DTOs, and update database schema

Signed-off-by: anmol5936 <[email protected]>

* Refactor IAR constants and service implementation: remove unused response modes, add configuration validation, and implement mock VP verification logic

Signed-off-by: anmol5936 <[email protected]>

* feat: Enhance presentation definition configuration and add debug endpoints

- Updated `certify-default.properties` to include new OAuth and debug URL exclusions.
- Added `certify-config.json` for presentation definition configuration.
- Implemented `VerifiableClaimsConfig` DTO to match the new configuration structure.
- Created `VpVerifierRequest` and `VpVerifierResponse` classes for future use.
- Developed `PresentationDefinitionDebugController` for testing presentation definitions and credential types.
- Introduced `PresentationDefinitionConfigService` to manage loading and caching of presentation definitions from JSON.
- Added default configuration creation logic when the config file is not found.
- Implemented fallback mechanisms for presentation definitions based on essential claims.

Signed-off-by: anmol5936 <[email protected]>

* Refactor PresentationDefinitionConfigService to enforce mandatory configuration loading and remove default creation logic

- Removed default credential type configuration and associated logic.
- Updated error handling to throw runtime exceptions when configuration is missing or invalid.
- Eliminated fallback presentation definition creation, ensuring strict adherence to provided configurations.
- Enhanced logging for better visibility into configuration issues.

Refactor VpParsingUtil to improve error handling and remove fallback mechanisms

- Updated methods to throw runtime exceptions on failure instead of returning fallback values.
- Improved logging to capture specific error messages for better debugging.

Update application-local.properties and certify-default.properties for enhanced configurability

- Added new properties for VP verification service endpoints and response modes.
- Introduced mappings for scope to credential type and session/token prefixes.

Add initial certify-config.json for verifiable claims configuration

- Introduced a comprehensive JSON configuration for verifiable claims, including various credential types and their definitions.

Signed-off-by: anmol5936 <[email protected]>

* [INJICERT-990] Add Authorization Server endpoint with logic and unit tests (#422)

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Update authorization URL in application-local.properties to match actual oauth url

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS Metadata Configuration to application-test.properties

- Introduced new properties for OAuth AS metadata including issuer, token endpoint, JWKS URI, supported grant types, response types, and authentication methods.
- Added interactive authorization endpoint configuration.

Signed-off-by: Anmol Mangaraj <[email protected]>

---------

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* git commit -s -m "refactor: remove unused constants and streamline IAR processing logic"

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): unified request handling with validation and DTOs for authorization & presentation flows

- Add a unified IAR request handler to consolidate authorization and presentation flows
- Introduce request validation layer and type-safe DTOs for incoming/outgoing payloads
- Centralize parsing, error handling and logging to reduce duplicated logic
- Update callers to use the new handler and adjust endpoint wiring
- Add/adjust unit tests and API docs to reflect new DTOs and validation rules

BREAKING CHANGE: IAR endpoint handler API changed — callers must pass the new DTOs.
Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* feat: Add presentationDefinitionId to VerifyVpRequest and responseUri to IarSession; remove unused PresentationDefinitionConfigService and VpParsingUtil

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Enhance IAR and OAuth token handling with new properties and validation

- Added GRANT_TYPE_AUTHORIZATION_CODE constant to IarConstants for OAuth 2.0.
- Updated IarRequest and UnifiedIarRequest DTOs to replace scope with authorization_details for better compliance with OpenID4VCI.
- Introduced validation for OAuthTokenRequest using @Valid annotation and removed manual validation logic.
- Enhanced IarServiceImpl to support new authorization details and PKCE validation.
- Updated application-local.properties with new OAuth token and authorization code configurations.
- Modified database schema to include redirect_uri, code_challenge, and code_challenge_method in IarSession.

This commit improves the handling of authorization requests and token generation, aligning with OAuth 2.0 and OpenID4VCI specifications.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Enhance OAuth error handling and session management

- Introduced new exception handling for OAuth controller to manage various error scenarios, including invalid requests and client authentication failures.
- Added atomic update for marking authorization codes as used in the IarSession to prevent race conditions.
- Updated IarSession entity to include a timestamp for when the authorization code was used.
- Refactored IarServiceImpl to improve validation logic for authorization codes and PKCE compliance.
- Enhanced application properties for better configuration management of session and authorization code prefixes.

This commit improves the robustness of the OAuth 2.0 implementation, ensuring better error handling and session integrity.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Refactor constants and DTOs for clarity and OAuth 2.0 compliance

- Renamed IarConstants for consistency.
- Updated DTOs: added vct, replaced credentialDefinition, removed unused fields.
- Simplified request/validation logic.
- Improved error handling and session management.
- Ensured alignment with OAuth 2.0 and OpenID4VCI specs.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): unify IAR DTOs and service for auth & presentation handling

- Merged IarRequest and IarPresentationRequest into a single DTO.
- Added VP presentation fields for OpenID4VCI compliance.
- Refactored IarService to use InteractiveAuthorizationRequest.
- Removed deprecated UnifiedIarRequest and OpenId4VpRequest.
- Updated OAuth-related configs and metadata.

Signed-off-by: anmol5936 <[email protected]>

* refactor(iar): streamline IAR constants and DTOs for improved clarity and compliance

- Removed unused IarConstants and UnifiedIarValidator classes.
- Updated IarConstants to use IarStatus and InteractionType enums for better type safety.
- Refactored IarRequest and IarResponse DTOs to utilize new constants.
- Enhanced OAuthTokenRequestValidator to improve validation logic.
- Updated application properties for better configuration management.

This commit enhances the maintainability and clarity of the IAR implementation, ensuring better alignment with OAuth 2.0 and OpenID4VCI specifications.

Signed-off-by: anmol5936 <[email protected]>

* refactor(iar): remove unused DTOs and update IarService for improved handling

- Deleted IarPresentationRequest and IarPresentationResponse DTOs as they are no longer needed.
- Updated IarRequest to reflect changes in handling VP presentation responses.
- Refactored IarService to replace references to removed DTOs with IarAuthorizationRequest and IarAuthorizationResponse.
- Enhanced OAuthTokenResponse to ignore unnecessary pro…
Piyush7034 added a commit that referenced this pull request Jan 2, 2026
Rebased commit

* [INJICERT-981] rebase with develop (inji#398)

* MOSIP-35628: Check and report CAPTCHA status only once during test execution. (inji#370)

* MOSIP-40258

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-28246 Removed unused variables from injicertify module

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-28246 Removed commented unused variables

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628 API - Capture info in the report whether Captcha is enabled on the target env or not

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628 Changed SNAPSHOT version

Signed-off-by: SradhaMohanty5899 <[email protected]>

* DSD-8335

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed previously added dependancy

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed danubtech repository from Pom

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Check and report CAPTCHA status only once during test execution.

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed getValueFromEsignetActuator() method

Signed-off-by: SradhaMohanty5899 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1116] Add the Ledger search api. (inji#368)

* Adding the Ledger search api.

Signed-off-by: Nandeesh <[email protected]>

* updated the PR with validation changes.

Signed-off-by: Nandeesh <[email protected]>

* Changed the key names in the CredentialLedgerSearchRequest as per specs.

Signed-off-by: Nandeesh <[email protected]>

* Resolved the comments by modified the service code and adding the testcases.

Signed-off-by: Nandeesh <[email protected]>

* Removed unused dependency and print statements.

Signed-off-by: Nandeesh <[email protected]>

* Resolved the comments by modifying the LedgerIssuanceTableCustomRepositoryImpl file.

Signed-off-by: Nandeesh <[email protected]>

* fix: resolve ApplicationContext failure in RenderingCredentialTemplateRepositoryTest by providing ObjectMapper bean

Signed-off-by: Nandeesh <[email protected]>

---------

Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (inji#395)

* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Sradha Mohanty <[email protected]>
Co-authored-by: Nandeesh778 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Jack <[email protected]>

* [INJICERT-981] Implement mDOC template processing and data provider integration (inji#412)

* feat: implement mDOC template processing and data provider integration

- Add DataProviderPlugin integration for raw business data fetching
- Implement Velocity template engine processing for mDOC structure
- Add sequential digestID assignment (0, 1, 2...) for credential elements
- Organize data into proper ISO 18013-5 namespaces
- Support custom namespace templates (e.g., org.mosip.farmer)
- Generate unsigned mDOC JSON structure with validityInfo and docType
- Maintain existing interface compatibility with no breaking changes
- Add support for system metadata (_docType, _issuer) template variables

Signed-off-by: amaydixit11 <[email protected]>

* Update pom.xml

Signed-off-by: Amay Dixit <[email protected]>

* Use @Autowired ObjectMapper instead of creating new instance in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* throw CertifyException instead of returning empty string in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* cleaned up commented code

Signed-off-by: amaydixit11 <[email protected]>

* Removed the Redundant MDocVCFormatter.java and migrated the mdoc logic into the existing VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Deleted a duplicated config

Signed-off-by: amaydixit11 <[email protected]>

* Resolved Issues while migration from separate mdoc formatter to VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Runtime Dependency removed from pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Removed Redundant MDocConstants.java file and Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* Removed Debug logs

Signed-off-by: amaydixit11 <[email protected]>

---------

Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>

* [INJICERT-981] Implement COSE signing and CBOR encoding for mDOC credentials  (inji#444)

* feat: implement mDOC template processing and data provider integration

- Add DataProviderPlugin integration for raw business data fetching
- Implement Velocity template engine processing for mDOC structure
- Add sequential digestID assignment (0, 1, 2...) for credential elements
- Organize data into proper ISO 18013-5 namespaces
- Support custom namespace templates (e.g., org.mosip.farmer)
- Generate unsigned mDOC JSON structure with validityInfo and docType
- Maintain existing interface compatibility with no breaking changes
- Add support for system metadata (_docType, _issuer) template variables

Signed-off-by: amaydixit11 <[email protected]>

* Update pom.xml

Signed-off-by: Amay Dixit <[email protected]>

* Use @Autowired ObjectMapper instead of creating new instance in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* throw CertifyException instead of returning empty string in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* cleaned up commented code

Signed-off-by: amaydixit11 <[email protected]>

* Removed the Redundant MDocVCFormatter.java and migrated the mdoc logic into the existing VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Deleted a duplicated config

Signed-off-by: amaydixit11 <[email protected]>

* Resolved Issues while migration from separate mdoc formatter to VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Add cryptographically secure random salts (24 bytes each)
Calculate SHA-256 digest of each CBOR-encoded element
Create Mobile Security Object (MSO) with digest mapping

Signed-off-by: amaydixit11 <[email protected]>

* Implemented AddProof Method and Integrated Cose Signing Method from KeyManager

Signed-off-by: amaydixit11 <[email protected]>

* Runtime Dependency removed from pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* code cleanup

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Removed Redundant MDocConstants.java file and Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* Removed Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* rollback application-local.properties

Signed-off-by: amaydixit11 <[email protected]>

* Added MDocUtilsTest.java

Signed-off-by: amaydixit11 <[email protected]>

* Added MDocCredentialTest.java

Signed-off-by: amaydixit11 <[email protected]>

* Changes in VelocityTemplatingEngineImplTest.java

Signed-off-by: amaydixit11 <[email protected]>

* replaced logic with CSV Data provider plugin

Signed-off-by: amaydixit11 <[email protected]>

* replaced logic with CSV Data provider plugin

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Fixed MSO Structure

Signed-off-by: amaydixit11 <[email protected]>

* Fixed Device Key Structure

Signed-off-by: amaydixit11 <[email protected]>

* Improved Test Coverage

Signed-off-by: amaydixit11 <[email protected]>

* Added Config for Version and DigestAlgorithm

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup for Signing

Signed-off-by: amaydixit11 <[email protected]>

* Changed Exception to CertifyException

Signed-off-by: amaydixit11 <[email protected]>

* Changed Valididity literals to constant values

Signed-off-by: amaydixit11 <[email protected]>

* Made functions private, changed literals to constants

Signed-off-by: amaydixit11 <[email protected]>

* Fixes

Signed-off-by: amaydixit11 <[email protected]>

* Migrated signMSO method to a separate dedicated proof generator

Signed-off-by: amaydixit11 <[email protected]>

* Migrated signMSO method to a separate dedicated proof generator

Signed-off-by: amaydixit11 <[email protected]>

* Dead code cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Improved Tests

Signed-off-by: amaydixit11 <[email protected]>

* Logs cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Fixed tests

Signed-off-by: amaydixit11 <[email protected]>

* Fixed tests

Signed-off-by: amaydixit11 <[email protected]>

* Added more Constants

Signed-off-by: amaydixit11 <[email protected]>

* Reverted changes in CertifyServiceApplication

Signed-off-by: amaydixit11 <[email protected]>

* Improved Test Coverage for CertifyIssuanceServiceImplTest

Signed-off-by: amaydixit11 <[email protected]>

* Removed Dead code

Signed-off-by: amaydixit11 <[email protected]>

* Removed CoseSign1ProofGenerator.java and reverted to implementation within MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Replaced @Injectmocks with Constructor Injection

Signed-off-by: amaydixit11 <[email protected]>

* Rename MDocUtils to MDocProcessor

Signed-off-by: amaydixit11 <[email protected]>

* Altered MsoMdocCredentialRequestValidator to fit the new change that claims are not used in the request anymore

Signed-off-by: amaydixit11 <[email protected]>

* updated pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* updated scanBasePackages in CertifyServiceApplication to include io.mosip.kernel.signature.builder package

Signed-off-by: amaydixit11 <[email protected]>

* added cbor in dependencies

Signed-off-by: amaydixit11 <[email protected]>

* Fixed MDocCredentialTest to reflect the fact that InjectMocks aren't being used anymore

Signed-off-by: amaydixit11 <[email protected]>

* Fixed Tests for MsoMdocCredentialRequestValidatorTest with empty claims

Signed-off-by: amaydixit11 <[email protected]>

* Added h2database dependency

Signed-off-by: amaydixit11 <[email protected]>

---------

Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>

* [INJICERT-1276] Rebase mdoc with develop

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] Remove unnecessary changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] AI Fixes as per AI review comments

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] Add proper exception handling and error message

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>
Co-authored-by: Sradha Mohanty <[email protected]>
Co-authored-by: Nandeesh778 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Jack <[email protected]>
Co-authored-by: Amay Dixit <[email protected]>
Piyush7034 added a commit that referenced this pull request Jan 2, 2026
Rebased commit

* [INJICERT-990] Rebase with develop (#400)

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (#395)

* Fix status list db scripts (#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (#381)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on #379 criticial PR (#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

---------

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [INJICERT-990] Add Authorization Server endpoint with logic and unit tests (#422)

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Update authorization URL in application-local.properties to match actual oauth url

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS Metadata Configuration to application-test.properties

- Introduced new properties for OAuth AS metadata including issuer, token endpoint, JWKS URI, supported grant types, response types, and authentication methods.
- Added interactive authorization endpoint configuration.

Signed-off-by: Anmol Mangaraj <[email protected]>

---------

Signed-off-by: Anmol Mangaraj <[email protected]>

* [INJICERT-990] Sync feature branch with develop branch (#470)

* INJICERT-1113 - Data integrity testcases (#371)

* mosip-39006- mosipid usecase Negative testcases

Signed-off-by: Likhitha R L <[email protected]>

* added unique identifier and description

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mosip-41108

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* Injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113-data integirty testcases

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1120

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT- 1178 , Fixed Failures (#406)

* mosip-39006- mosipid usecase Negative testcases

Signed-off-by: Likhitha R L <[email protected]>

* added unique identifier and description

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mosip-41108

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* Injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113-data integirty testcases

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1120

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1178

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1178

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* injicert-1178 (#408)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Merge pull request #404 from Infosys/develop-update

[INJICERT-1169] [INJICERT-1060] Move keymanager and sd jwt disclosure fix to develop.

Signed-off-by: jackjain <[email protected]>

* Injicert-1104 - added positive flow testcases for revocation flow (#416)

* INJICERT-1104

Signed-off-by: Nandhukumar <[email protected]>

* INJICERT-1104 - added positive flow testcases for revocation flow

Signed-off-by: Nandhukumar <[email protected]>

* INJICERT-1104 - updated property files

Signed-off-by: Nandhukumar <[email protected]>

---------

Signed-off-by: Nandhukumar <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Move status endpoint fix, api docs and read me changes from release to develop branch. (#419)

* [INJICERT-1145] Fix status-list and credential-status url endpoints (#414)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1123] Add missing description for fields in API documentation (#375)

* [INJICERT-1123] Add missing description for fields in API documentation for existing endpoints

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1123] Adding signatureCryptoSuite field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1123] Implement changes based on code review feedback

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1151][INJICERT-1152] fix issues in upgrade/rollback sql scripts, Add step-by-step migration guide (#413)

* [INJICERT-1152] Fix issues with DB upgrade and rollback sql scripts

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1151] Add step-by-step migration guide for upgrade from 0.11.0 to 0.12.0

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1152] Add deprecated properties in migration guide and refactor the steps to run db upgrade script

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1153] Add docs for newly added features, update docker-compose setup ReadMe and update postman collections  (#411)

* [INJICERT-1153] Add documentation for Issuer onboarding, data integrity proof, sd-jwt and vc revocation support, modify the docker-compose setup ReadMe file to indicate optional steps

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Add credential status and ledger endpoint to postman collection, modify the well-known URL in existing collections

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Add sequence diagram for sd-jwt, data integrity proof and vc revocation documentation

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Fix sequence diagrams as per review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1153]  Update ReadMe file for inji-certify repository as per 0.12.0 release changes (#418)

* [INJICERT-1153] Update ReadMe file for inji-certify repository as per latest changes

Signed-off-by: jackjain <[email protected]>

* [(INJICERT-1153] fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT-1200 (#425)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Rebase
[INJICERT-1164] Upgrade web to 0.13.1 and mimoto to 0.18.1

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1175] Fix for sd-jwt stucture containing list and nested objects

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1179][INJICERT-1182] Save credentialStatusPurpose value in credential-configuration from API request, introduce config to define allowed purpose values and introduce request validation for the field in credential update endpoint

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1182] Fix failing unit test

Signed-off-by: jackjain <[email protected]>

* [INICERT-1171] [INJICERT-1172] Remove keychooser and code duplication from services and utils (#415)

* [INJICERT-1172] Remove keychooser from certify issuance service

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1171] Remove duplicate code from statusListCredentialService

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-1172] Revert some changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1192] Remove credentialId as new uuid in ledger

Signed-off-by: Piyush7034 <[email protected]>

* Add config for status list ref id and rename keychooser to keyAliasMapper

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1172] Rebase with develop

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1176] Fix issue with ES256 did key proof_jwt validation

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1164] Update credential template and fix nginx for web (#430)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1215] Upgrade certify and plugin versions (#431)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-00] Adding placeholder db scripts for version upgrade from 0.12.0 to 0.12.1 (#435)

Signed-off-by: jackjain <[email protected]>

* INJICERT-1104 -Revocation APIs automation (Ledger search, update status & status credential list) (#428)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Injicert- 1176 , Injicert-1218 - Added support for did:key with ES256K and ES256 and updated the JTI generation logic to use a unique UUID. (#439)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT-1221 - Updated the logic of the Ledger Search API and Credential Config API in accordance with the changes specified in INJICERT-1172 and INJICERT-1192 (#443)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Refactor credential configuration service to convert to entity only after validation passes (#446)

Signed-off-by: jackjain <[email protected]>

* MOSIP-43117 - Added Misp policy file in config folder (#450)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* MOSIP-43117

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [MOSIP-43103] Updated bitnami images for develop

Signed-off-by: Abhi <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Mosip-43120 (#451)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [MOSIP-43104] Updated install.sh (#452)

Signed-off-by: Rakshith B <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1173] Decouple ledger entries from status list while vc issuance (#438)

* [INJICERT-1173] Decoupled ledger from credential status

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Add unit tests for certifyIssuance and credentialStatusService

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Add unit tests for credential status list service

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Remove credentialId from vcFormatter and restructure credentialStatusDetail setter

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] [INJICERT-1207] Update status-search to remove ledger dependency (#441)

* [INJICERT-1173] Decoupled ledger from credential status

Signed-off-by: Piyush7034 <[email protected]>

rebase complete#

* [INJICERT-1173] Add unit tests for certifyIssuance and credentialStatusService
Rebase complete

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1207] Remove credentialId from updateStatus search criteria

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1207] Update CredentialStatusServiceImpl unit tests

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Update issuance and expiration date type in ledger

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1217] Fix for ledger search when credentialId is empty

Signed-off-by: Piyush7034 <[email protected]>

* Remove ledger dependency from update status

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add upgrade db-scripts

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add v2 apis for ledger search and status update

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Fix unit tests for update status changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add new update status request v2 dto

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Resolve review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Change authorization url type from list to string (#457)

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Update docker image with develop for latest develop changes (#459)

* [INJICERT-1193] [INJICERT-1207] Add docker compose changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Update mosipdev to mosipqa

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1237] Expose keymanager csr endpoint (#460)

* [INJICERT-1237] Expose keymanager csr endpoint

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Update general exception to certify exception

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Add generate csr endpoint details in api docs

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Fix organizationUnit field name

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1245] Update postman collections

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Fix collections local endpoints

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Merge pull request #442 from tw-mosip/INJICERT-1214

[INJICERT-1214] Fix issue with encoding of BitStringStatusList

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>
Signed-off-by: Nandhukumar <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Abhi <[email protected]>
Signed-off-by: Rakshith B <[email protected]>
Co-authored-by: likhitharl <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Co-authored-by: Nandhukumar <[email protected]>
Co-authored-by: Abhi <[email protected]>
Co-authored-by: Rakshith B <[email protected]>

* [INJICERT-990] Presentation During Issuance (#403)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* [INJICERT-990] Rebase with develop (#400)

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (#395)

* Fix status list db scripts (#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (#381)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on #379 criticial PR (#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

---------

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement Interactive Authorization Request (IAR) functionality with OpenID4VP support, including service, controller, DTOs, and configuration updates.

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add unit tests for Interactive Authorization Request (IAR) endpoint in OAuthAuthorizationController

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Fix missing newline at end of file in OAuthAuthorizationControllerTest

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor IAR and OpenID4VP request handling: remove unused parameters and dependencies

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement Interactive Authorization Request (IAR) enhancements: add session management, response handling, and database support

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Remove unused mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement OAuth 2.0 Token Request and Response handling: add processTokenRequest method, DTOs, and database support

Signed-off-by: anmol5936 <[email protected]>

* Integrate Verify Service for VP Request and Verification: refactor IAR session handling, add new DTOs, and update database schema

Signed-off-by: anmol5936 <[email protected]>

* Refactor IAR constants and service implementation: remove unused response modes, add configuration validation, and implement mock VP verification logic

Signed-off-by: anmol5936 <[email protected]>

* feat: Enhance presentation definition configuration and add debug endpoints

- Updated `certify-default.properties` to include new OAuth and debug URL exclusions.
- Added `certify-config.json` for presentation definition configuration.
- Implemented `VerifiableClaimsConfig` DTO to match the new configuration structure.
- Created `VpVerifierRequest` and `VpVerifierResponse` classes for future use.
- Developed `PresentationDefinitionDebugController` for testing presentation definitions and credential types.
- Introduced `PresentationDefinitionConfigService` to manage loading and caching of presentation definitions from JSON.
- Added default configuration creation logic when the config file is not found.
- Implemented fallback mechanisms for presentation definitions based on essential claims.

Signed-off-by: anmol5936 <[email protected]>

* Refactor PresentationDefinitionConfigService to enforce mandatory configuration loading and remove default creation logic

- Removed default credential type configuration and associated logic.
- Updated error handling to throw runtime exceptions when configuration is missing or invalid.
- Eliminated fallback presentation definition creation, ensuring strict adherence to provided configurations.
- Enhanced logging for better visibility into configuration issues.

Refactor VpParsingUtil to improve error handling and remove fallback mechanisms

- Updated methods to throw runtime exceptions on failure instead of returning fallback values.
- Improved logging to capture specific error messages for better debugging.

Update application-local.properties and certify-default.properties for enhanced configurability

- Added new properties for VP verification service endpoints and response modes.
- Introduced mappings for scope to credential type and session/token prefixes.

Add initial certify-config.json for verifiable claims configuration

- Introduced a comprehensive JSON configuration for verifiable claims, including various credential types and their definitions.

Signed-off-by: anmol5936 <[email protected]>

* [INJICERT-990] Add Authorization Server endpoint with logic and unit tests (#422)

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Update authorization URL in application-local.properties to match actual oauth url

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS Metadata Configuration to application-test.properties

- Introduced new properties for OAuth AS metadata including issuer, token endpoint, JWKS URI, supported grant types, response types, and authentication methods.
- Added interactive authorization endpoint configuration.

Signed-off-by: Anmol Mangaraj <[email protected]>

---------

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* git commit -s -m "refactor: remove unused constants and streamline IAR processing logic"

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): unified request handling with validation and DTOs for authorization & presentation flows

- Add a unified IAR request handler to consolidate authorization and presentation flows
- Introduce request validation layer and type-safe DTOs for incoming/outgoing payloads
- Centralize parsing, error handling and logging to reduce duplicated logic
- Update callers to use the new handler and adjust endpoint wiring
- Add/adjust unit tests and API docs to reflect new DTOs and validation rules

BREAKING CHANGE: IAR endpoint handler API changed — callers must pass the new DTOs.
Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* feat: Add presentationDefinitionId to VerifyVpRequest and responseUri to IarSession; remove unused PresentationDefinitionConfigService and VpParsingUtil

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Enhance IAR and OAuth token handling with new properties and validation

- Added GRANT_TYPE_AUTHORIZATION_CODE constant to IarConstants for OAuth 2.0.
- Updated IarRequest and UnifiedIarRequest DTOs to replace scope with authorization_details for better compliance with OpenID4VCI.
- Introduced validation for OAuthTokenRequest using @Valid annotation and removed manual validation logic.
- Enhanced IarServiceImpl to support new authorization details and PKCE validation.
- Updated application-local.properties with new OAuth token and authorization code configurations.
- Modified database schema to include redirect_uri, code_challenge, and code_challenge_method in IarSession.

This commit improves the handling of authorization requests and token generation, aligning with OAuth 2.0 and OpenID4VCI specifications.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Enhance OAuth error handling and session management

- Introduced new exception handling for OAuth controller to manage various error scenarios, including invalid requests and client authentication failures.
- Added atomic update for marking authorization codes as used in the IarSession to prevent race conditions.
- Updated IarSession entity to include a timestamp for when the authorization code was used.
- Refactored IarServiceImpl to improve validation logic for authorization codes and PKCE compliance.
- Enhanced application properties for better configuration management of session and authorization code prefixes.

This commit improves the robustness of the OAuth 2.0 implementation, ensuring better error handling and session integrity.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Refactor constants and DTOs for clarity and OAuth 2.0 compliance

- Renamed IarConstants for consistency.
- Updated DTOs: added vct, replaced credentialDefinition, removed unused fields.
- Simplified request/validation logic.
- Improved error handling and session management.
- Ensured alignment with OAuth 2.0 and OpenID4VCI specs.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): unify IAR DTOs and service for auth & presentation handling

- Merged IarRequest and IarPresentationRequest into a single DTO.
- Added VP presentation fields for OpenID4VCI compliance.
- Refactored IarService to use InteractiveAuthorizationRequest.
- Removed deprecated UnifiedIarRequest and OpenId4VpRequest.
- Updated OAuth-related configs and metadata.

Signed-off-by: anmol5936 <[email protected]>

* refactor(iar): streamline IAR constants and DTOs for improved clarity and compliance

- Removed unused IarConstants and UnifiedIarValidator classes.
- Updated IarConstants to use IarStatus and InteractionType enums for better type safety.
- Refactored IarRequest and IarResponse DTOs to utilize new constants.
- Enhanced OAuthTokenRequestValidator to improve validation logic.
- Updated application properties for better configuration management.

This commit enhances the maintainability and clarity of the IAR implementation, ensuring better alignment with OAuth 2.0 and OpenID4VCI specifications.

Signed-off-by: anmol5936 <[email protected]>

* refactor(iar): remove unused DTOs and update IarService for improved handling

- Deleted IarPresentationRequest and IarPresentationResponse DTOs as they are no longer needed.
- Updated IarRequest to reflect changes in handling VP presentation responses.
- Refactored IarService to replace references to removed DTOs with IarAuthorizationRequest and IarAuthorizationResponse.
- Enhanced OAuthTokenResponse to ignore unnecessary properties.

This commit streamlines the IAR implementation, ensuring better clarity and compliance with OpenID4VCI specifications.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Enhance configuration validation and HTTP client setting…
Piyush7034 added a commit that referenced this pull request Jan 2, 2026
Rebased commit

* [INJICERT-981] rebase with develop (inji#398)

* MOSIP-35628: Check and report CAPTCHA status only once during test execution. (inji#370)

* MOSIP-40258

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-28246 Removed unused variables from injicertify module

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-28246 Removed commented unused variables

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628 API - Capture info in the report whether Captcha is enabled on the target env or not

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628

Signed-off-by: SradhaMohanty5899 <[email protected]>

* MOSIP-35628 Changed SNAPSHOT version

Signed-off-by: SradhaMohanty5899 <[email protected]>

* DSD-8335

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed previously added dependancy

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed danubtech repository from Pom

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Check and report CAPTCHA status only once during test execution.

Signed-off-by: SradhaMohanty5899 <[email protected]>

* Removed getValueFromEsignetActuator() method

Signed-off-by: SradhaMohanty5899 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1116] Add the Ledger search api. (inji#368)

* Adding the Ledger search api.

Signed-off-by: Nandeesh <[email protected]>

* updated the PR with validation changes.

Signed-off-by: Nandeesh <[email protected]>

* Changed the key names in the CredentialLedgerSearchRequest as per specs.

Signed-off-by: Nandeesh <[email protected]>

* Resolved the comments by modified the service code and adding the testcases.

Signed-off-by: Nandeesh <[email protected]>

* Removed unused dependency and print statements.

Signed-off-by: Nandeesh <[email protected]>

* Resolved the comments by modifying the LedgerIssuanceTableCustomRepositoryImpl file.

Signed-off-by: Nandeesh <[email protected]>

* fix: resolve ApplicationContext failure in RenderingCredentialTemplateRepositoryTest by providing ObjectMapper bean

Signed-off-by: Nandeesh <[email protected]>

---------

Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (inji#395)

* Fix status list db scripts (inji#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (inji#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (inji#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (inji#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (inji#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (inji#381)

* Mosip 41674 migration changes (inji#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (inji#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (inji#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (inji#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (inji#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (inji#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on inji#379 criticial PR (inji#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (inji#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (inji#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (inji#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (inji#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Sradha Mohanty <[email protected]>
Co-authored-by: Nandeesh778 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Jack <[email protected]>

* [INJICERT-981] Implement mDOC template processing and data provider integration (inji#412)

* feat: implement mDOC template processing and data provider integration

- Add DataProviderPlugin integration for raw business data fetching
- Implement Velocity template engine processing for mDOC structure
- Add sequential digestID assignment (0, 1, 2...) for credential elements
- Organize data into proper ISO 18013-5 namespaces
- Support custom namespace templates (e.g., org.mosip.farmer)
- Generate unsigned mDOC JSON structure with validityInfo and docType
- Maintain existing interface compatibility with no breaking changes
- Add support for system metadata (_docType, _issuer) template variables

Signed-off-by: amaydixit11 <[email protected]>

* Update pom.xml

Signed-off-by: Amay Dixit <[email protected]>

* Use @Autowired ObjectMapper instead of creating new instance in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* throw CertifyException instead of returning empty string in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* cleaned up commented code

Signed-off-by: amaydixit11 <[email protected]>

* Removed the Redundant MDocVCFormatter.java and migrated the mdoc logic into the existing VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Deleted a duplicated config

Signed-off-by: amaydixit11 <[email protected]>

* Resolved Issues while migration from separate mdoc formatter to VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Runtime Dependency removed from pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Removed Redundant MDocConstants.java file and Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* Removed Debug logs

Signed-off-by: amaydixit11 <[email protected]>

---------

Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>

* [INJICERT-981] Implement COSE signing and CBOR encoding for mDOC credentials  (inji#444)

* feat: implement mDOC template processing and data provider integration

- Add DataProviderPlugin integration for raw business data fetching
- Implement Velocity template engine processing for mDOC structure
- Add sequential digestID assignment (0, 1, 2...) for credential elements
- Organize data into proper ISO 18013-5 namespaces
- Support custom namespace templates (e.g., org.mosip.farmer)
- Generate unsigned mDOC JSON structure with validityInfo and docType
- Maintain existing interface compatibility with no breaking changes
- Add support for system metadata (_docType, _issuer) template variables

Signed-off-by: amaydixit11 <[email protected]>

* Update pom.xml

Signed-off-by: Amay Dixit <[email protected]>

* Use @Autowired ObjectMapper instead of creating new instance in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* throw CertifyException instead of returning empty string in MDocCredential

Signed-off-by: amaydixit11 <[email protected]>

* cleaned up commented code

Signed-off-by: amaydixit11 <[email protected]>

* Removed the Redundant MDocVCFormatter.java and migrated the mdoc logic into the existing VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Deleted a duplicated config

Signed-off-by: amaydixit11 <[email protected]>

* Resolved Issues while migration from separate mdoc formatter to VelocityTemplatingEngineImpl

Signed-off-by: amaydixit11 <[email protected]>

* Add cryptographically secure random salts (24 bytes each)
Calculate SHA-256 digest of each CBOR-encoded element
Create Mobile Security Object (MSO) with digest mapping

Signed-off-by: amaydixit11 <[email protected]>

* Implemented AddProof Method and Integrated Cose Signing Method from KeyManager

Signed-off-by: amaydixit11 <[email protected]>

* Runtime Dependency removed from pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* migrated application-local.properties config fields for mDoc to credential_config table

Signed-off-by: amaydixit11 <[email protected]>

* code cleanup

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* remove the instantiation of objectMapper and used @Autowired in MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Removed Redundant MDocConstants.java file and Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* Removed Debug logs

Signed-off-by: amaydixit11 <[email protected]>

* rollback application-local.properties

Signed-off-by: amaydixit11 <[email protected]>

* Added MDocUtilsTest.java

Signed-off-by: amaydixit11 <[email protected]>

* Added MDocCredentialTest.java

Signed-off-by: amaydixit11 <[email protected]>

* Changes in VelocityTemplatingEngineImplTest.java

Signed-off-by: amaydixit11 <[email protected]>

* replaced logic with CSV Data provider plugin

Signed-off-by: amaydixit11 <[email protected]>

* replaced logic with CSV Data provider plugin

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Fixed MSO Structure

Signed-off-by: amaydixit11 <[email protected]>

* Fixed Device Key Structure

Signed-off-by: amaydixit11 <[email protected]>

* Improved Test Coverage

Signed-off-by: amaydixit11 <[email protected]>

* Added Config for Version and DigestAlgorithm

Signed-off-by: amaydixit11 <[email protected]>

* Code Cleanup for Signing

Signed-off-by: amaydixit11 <[email protected]>

* Changed Exception to CertifyException

Signed-off-by: amaydixit11 <[email protected]>

* Changed Valididity literals to constant values

Signed-off-by: amaydixit11 <[email protected]>

* Made functions private, changed literals to constants

Signed-off-by: amaydixit11 <[email protected]>

* Fixes

Signed-off-by: amaydixit11 <[email protected]>

* Migrated signMSO method to a separate dedicated proof generator

Signed-off-by: amaydixit11 <[email protected]>

* Migrated signMSO method to a separate dedicated proof generator

Signed-off-by: amaydixit11 <[email protected]>

* Dead code cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Improved Tests

Signed-off-by: amaydixit11 <[email protected]>

* Logs cleanup

Signed-off-by: amaydixit11 <[email protected]>

* Fixed tests

Signed-off-by: amaydixit11 <[email protected]>

* Fixed tests

Signed-off-by: amaydixit11 <[email protected]>

* Added more Constants

Signed-off-by: amaydixit11 <[email protected]>

* Reverted changes in CertifyServiceApplication

Signed-off-by: amaydixit11 <[email protected]>

* Improved Test Coverage for CertifyIssuanceServiceImplTest

Signed-off-by: amaydixit11 <[email protected]>

* Removed Dead code

Signed-off-by: amaydixit11 <[email protected]>

* Removed CoseSign1ProofGenerator.java and reverted to implementation within MDocUtils

Signed-off-by: amaydixit11 <[email protected]>

* Replaced @Injectmocks with Constructor Injection

Signed-off-by: amaydixit11 <[email protected]>

* Rename MDocUtils to MDocProcessor

Signed-off-by: amaydixit11 <[email protected]>

* Altered MsoMdocCredentialRequestValidator to fit the new change that claims are not used in the request anymore

Signed-off-by: amaydixit11 <[email protected]>

* updated pom.xml

Signed-off-by: amaydixit11 <[email protected]>

* updated scanBasePackages in CertifyServiceApplication to include io.mosip.kernel.signature.builder package

Signed-off-by: amaydixit11 <[email protected]>

* added cbor in dependencies

Signed-off-by: amaydixit11 <[email protected]>

* Fixed MDocCredentialTest to reflect the fact that InjectMocks aren't being used anymore

Signed-off-by: amaydixit11 <[email protected]>

* Fixed Tests for MsoMdocCredentialRequestValidatorTest with empty claims

Signed-off-by: amaydixit11 <[email protected]>

* Added h2database dependency

Signed-off-by: amaydixit11 <[email protected]>

---------

Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>

* [INJICERT-1276] Rebase mdoc with develop

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] Remove unnecessary changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] AI Fixes as per AI review comments

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1276] Add proper exception handling and error message

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: SradhaMohanty5899 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Nandeesh <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Signed-off-by: amaydixit11 <[email protected]>
Signed-off-by: Amay Dixit <[email protected]>
Co-authored-by: Sradha Mohanty <[email protected]>
Co-authored-by: Nandeesh778 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Jack <[email protected]>
Co-authored-by: Amay Dixit <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Piyush7034 added a commit that referenced this pull request Jan 2, 2026
Rebased commit

* [INJICERT-990] Rebase with develop (#400)

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (#395)

* Fix status list db scripts (#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (#381)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on #379 criticial PR (#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

---------

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [INJICERT-990] Add Authorization Server endpoint with logic and unit tests (#422)

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Update authorization URL in application-local.properties to match actual oauth url

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS Metadata Configuration to application-test.properties

- Introduced new properties for OAuth AS metadata including issuer, token endpoint, JWKS URI, supported grant types, response types, and authentication methods.
- Added interactive authorization endpoint configuration.

Signed-off-by: Anmol Mangaraj <[email protected]>

---------

Signed-off-by: Anmol Mangaraj <[email protected]>

* [INJICERT-990] Sync feature branch with develop branch (#470)

* INJICERT-1113 - Data integrity testcases (#371)

* mosip-39006- mosipid usecase Negative testcases

Signed-off-by: Likhitha R L <[email protected]>

* added unique identifier and description

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mosip-41108

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* Injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113-data integirty testcases

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1120

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT- 1178 , Fixed Failures (#406)

* mosip-39006- mosipid usecase Negative testcases

Signed-off-by: Likhitha R L <[email protected]>

* added unique identifier and description

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mosip-39006

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mdoc testcases

Signed-off-by: Likhitha R L <[email protected]>

* mosip-41108

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* Mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* mosip-40426

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* Injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1048

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113-data integirty testcases

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1120

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1113

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1145

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1178

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1178

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* injicert-1178 (#408)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Merge pull request #404 from Infosys/develop-update

[INJICERT-1169] [INJICERT-1060] Move keymanager and sd jwt disclosure fix to develop.

Signed-off-by: jackjain <[email protected]>

* Injicert-1104 - added positive flow testcases for revocation flow (#416)

* INJICERT-1104

Signed-off-by: Nandhukumar <[email protected]>

* INJICERT-1104 - added positive flow testcases for revocation flow

Signed-off-by: Nandhukumar <[email protected]>

* INJICERT-1104 - updated property files

Signed-off-by: Nandhukumar <[email protected]>

---------

Signed-off-by: Nandhukumar <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Move status endpoint fix, api docs and read me changes from release to develop branch. (#419)

* [INJICERT-1145] Fix status-list and credential-status url endpoints (#414)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1123] Add missing description for fields in API documentation (#375)

* [INJICERT-1123] Add missing description for fields in API documentation for existing endpoints

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1123] Adding signatureCryptoSuite field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1123] Implement changes based on code review feedback

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1151][INJICERT-1152] fix issues in upgrade/rollback sql scripts, Add step-by-step migration guide (#413)

* [INJICERT-1152] Fix issues with DB upgrade and rollback sql scripts

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1151] Add step-by-step migration guide for upgrade from 0.11.0 to 0.12.0

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1152] Add deprecated properties in migration guide and refactor the steps to run db upgrade script

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1153] Add docs for newly added features, update docker-compose setup ReadMe and update postman collections  (#411)

* [INJICERT-1153] Add documentation for Issuer onboarding, data integrity proof, sd-jwt and vc revocation support, modify the docker-compose setup ReadMe file to indicate optional steps

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Add credential status and ledger endpoint to postman collection, modify the well-known URL in existing collections

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Add sequence diagram for sd-jwt, data integrity proof and vc revocation documentation

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1153] Fix sequence diagrams as per review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1153]  Update ReadMe file for inji-certify repository as per 0.12.0 release changes (#418)

* [INJICERT-1153] Update ReadMe file for inji-certify repository as per latest changes

Signed-off-by: jackjain <[email protected]>

* [(INJICERT-1153] fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT-1200 (#425)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Rebase
[INJICERT-1164] Upgrade web to 0.13.1 and mimoto to 0.18.1

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1175] Fix for sd-jwt stucture containing list and nested objects

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1179][INJICERT-1182] Save credentialStatusPurpose value in credential-configuration from API request, introduce config to define allowed purpose values and introduce request validation for the field in credential update endpoint

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1182] Fix failing unit test

Signed-off-by: jackjain <[email protected]>

* [INICERT-1171] [INJICERT-1172] Remove keychooser and code duplication from services and utils (#415)

* [INJICERT-1172] Remove keychooser from certify issuance service

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1171] Remove duplicate code from statusListCredentialService

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-1172] Revert some changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1192] Remove credentialId as new uuid in ledger

Signed-off-by: Piyush7034 <[email protected]>

* Add config for status list ref id and rename keychooser to keyAliasMapper

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1172] Rebase with develop

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1176] Fix issue with ES256 did key proof_jwt validation

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1164] Update credential template and fix nginx for web (#430)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1215] Upgrade certify and plugin versions (#431)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-00] Adding placeholder db scripts for version upgrade from 0.12.0 to 0.12.1 (#435)

Signed-off-by: jackjain <[email protected]>

* INJICERT-1104 -Revocation APIs automation (Ledger search, update status & status credential list) (#428)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Injicert- 1176 , Injicert-1218 - Added support for did:key with ES256K and ES256 and updated the JTI generation logic to use a unique UUID. (#439)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* INJICERT-1221 - Updated the logic of the Ledger Search API and Credential Config API in accordance with the changes specified in INJICERT-1172 and INJICERT-1192 (#443)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Refactor credential configuration service to convert to entity only after validation passes (#446)

Signed-off-by: jackjain <[email protected]>

* MOSIP-43117 - Added Misp policy file in config folder (#450)

* INJICERT-1200

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1104

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1218

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* injicert-1221

Signed-off-by: Likhitha R L <[email protected]>

* MOSIP-43117

Signed-off-by: Likhitha R L <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [MOSIP-43103] Updated bitnami images for develop

Signed-off-by: Abhi <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Mosip-43120 (#451)

Signed-off-by: Likhitha R L <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [MOSIP-43104] Updated install.sh (#452)

Signed-off-by: Rakshith B <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1173] Decouple ledger entries from status list while vc issuance (#438)

* [INJICERT-1173] Decoupled ledger from credential status

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Add unit tests for certifyIssuance and credentialStatusService

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Add unit tests for credential status list service

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1173] Remove credentialId from vcFormatter and restructure credentialStatusDetail setter

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] [INJICERT-1207] Update status-search to remove ledger dependency (#441)

* [INJICERT-1173] Decoupled ledger from credential status

Signed-off-by: Piyush7034 <[email protected]>

rebase complete#

* [INJICERT-1173] Add unit tests for certifyIssuance and credentialStatusService
Rebase complete

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1207] Remove credentialId from updateStatus search criteria

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1207] Update CredentialStatusServiceImpl unit tests

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Update issuance and expiration date type in ledger

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1217] Fix for ledger search when credentialId is empty

Signed-off-by: Piyush7034 <[email protected]>

* Remove ledger dependency from update status

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add upgrade db-scripts

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add v2 apis for ledger search and status update

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Fix unit tests for update status changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Add new update status request v2 dto

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Resolve review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Change authorization url type from list to string (#457)

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1193] Update docker image with develop for latest develop changes (#459)

* [INJICERT-1193] [INJICERT-1207] Add docker compose changes

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1193] Update mosipdev to mosipqa

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* [INJICERT-1237] Expose keymanager csr endpoint (#460)

* [INJICERT-1237] Expose keymanager csr endpoint

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Update general exception to certify exception

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Add generate csr endpoint details in api docs

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Fix organizationUnit field name

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1245] Update postman collections

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1237] Fix collections local endpoints

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Merge pull request #442 from tw-mosip/INJICERT-1214

[INJICERT-1214] Fix issue with encoding of BitStringStatusList

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: Likhitha R L <[email protected]>
Signed-off-by: jackjain <[email protected]>
Signed-off-by: Nandhukumar <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Abhi <[email protected]>
Signed-off-by: Rakshith B <[email protected]>
Co-authored-by: likhitharl <[email protected]>
Co-authored-by: Likhitha R L <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Co-authored-by: Nandhukumar <[email protected]>
Co-authored-by: Abhi <[email protected]>
Co-authored-by: Rakshith B <[email protected]>

* [INJICERT-990] Presentation During Issuance (#403)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* [INJICERT-990] Rebase with develop (#400)

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [INJICERT-1145] rebasing develop with latest release changes (#395)

* Fix status list db scripts (#367)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1120] Remove vc sign config dependency and fix vc request (#372)

* [INJICERT-1120] Move vcSignCryptoSuite from config to vc type table

Signed-off-by: Piyush7034 <[email protected]>

* Change sdJwtVct to vct in credentialRequest

Signed-off-by: Piyush7034 <[email protected]>

* Rename vcSignCryptoSuite to signatureCryptoSuite

Signed-off-by: Piyush7034 <[email protected]>

* Update did.json with all verification methods

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJCIERT-988] Update credential-provider doc link in the docker-compose readme

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1135] Add credetial status to vc type and set credentialStatus from code (#376)

* [INJICERT-1035] Add credetial status to vc type and set credentialStatus from code

Signed-off-by: Piyush7034 <[email protected]>

* Add enum for credential status purpose

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>

* [INJICERT-1135] Add list type for credential status

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1138] Add missing scripts for docker-compose setup (#374)

* Update docker compose init scripts

Signed-off-by: Piyush7034 <[email protected]>

* Remove multiple vc types for farmer vc

Signed-off-by: Piyush7034 <[email protected]>

* Add new usec case setup md file for docker-compose (#364)

Signed-off-by: Piyush7034 <[email protected]>

* Fix script in new-usecase md file

Signed-off-by: Piyush7034 <[email protected]>

* Update Postgres-plugin-usecase.md file

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] [MOSIP-41674] Update plugin version and migration changes (#381)

* Mosip 41674 migration changes (#366)

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

* [MOSIP-41674] central sonatype migration changes

Signed-off-by: techno-467 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1144] Update plugin version to 0.5.0-SNAPSHOT

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: techno-467 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1140][INJICERT-1141][INJICERT-1142] Credential Configuration API contract changes (#380)

* Renaming credentials/configurations to credential-configuration

Signed-off-by: jackjain <[email protected]>

* Rename fields in CredentialConfigurationDTO, context to contextURLs, credentialType to credentialTypes and order to credentialFieldsDisplayOrder

Signed-off-by: jackjain <[email protected]>

* Update postman collection as per the renaming in credential configuration endpoint and request DTO

Signed-off-by: jackjain <[email protected]>

* Adding .DS_Store file in gitignore

Signed-off-by: jackjain <[email protected]>

* Add structured object instead of generic Map for display field in credential configuration DTO

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1141] Autoassign binding, signing and proof values for config apis (#1)

* Add configurations for proof, binding methods and credential sign algos

Signed-off-by: Piyush7034 <[email protected]>

* Auto assign proor, binding methods and signing alg values for config api

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Adding structured object for credentialSubject field in credential configuration DTO, renaming the field to credentialSubjectDefinition

Signed-off-by: jackjain <[email protected]>

* Renaming display field to metaDataDisplay, order to displayOrder in credential configuration

Signed-off-by: jackjain <[email protected]>

* Adding a structured object for claims field in credential configuration

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1142] Fix mapping issues for entity and dto (#2)

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: jackjain <[email protected]>

* Updating postman collection as per renaming done in credential configuration DTO fields

Signed-off-by: jackjain <[email protected]>

* Fix review comments

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Co-authored-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add custom serializable CertificateResponseDTO class

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add code review changes (#383)

* [INJICERT-1145] Add code review changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove unwanted code

Signed-off-by: Piyush7034 <[email protected]>

* Removed jsonld vc signer

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add review comment changes

Signed-off-by: Piyush7034 <[email protected]>

* Remove exisiting transaction from update credential status

Signed-off-by: Piyush7034 <[email protected]>

* Fixed services review comments

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Critical Code Review fixes (#386)

* Adding WellKnownController, deprecating well-known endpoints in issuance and removing well-known endpoint from credential-config controller

Signed-off-by: jackjain <[email protected]>

* Adding validation for signatureCryptoSuite for ldp_vc and mso_mdoc formats, adding validation for signatureAlgo for sd-jwt format

Signed-off-by: jackjain <[email protected]>

* removing the missed condition for signatureCryptoSuite field

Signed-off-by: jackjain <[email protected]>

* Add separate fields for sdJWT and mso_mdoc claims in credential config request/response, storing the same in separate columns in DB

Signed-off-by: jackjain <[email protected]>

* Using credentialConfigKeyId instead of ID in update, fetch and delete credential-configurations endpoints

Signed-off-by: jackjain <[email protected]>

* Make signature crypto suite mandatory in credential-configuration request

Signed-off-by: jackjain <[email protected]>

* Move CredentialConfigMapper to util package

Signed-off-by: jackjain <[email protected]>

* Refactor parameter name for validateCredentialConfiguration method

Signed-off-by: jackjain <[email protected]>

* Remove suspension status purpose from properties file

Signed-off-by: jackjain <[email protected]>

* Removed cryptographic_binding_methods_supported, credential_signing_alg_values_supported and proof_types_supported from credential configuration request/response

Signed-off-by: jackjain <[email protected]>

* Add handling for sdJWT VC format in the CacheKeyGenerator

Signed-off-by: jackjain <[email protected]>

* Remove unused code related to issuer metadata fetch in VCIssuance and Certify services

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Add credential-ledger service and controller (#387)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Changes to singatureCryptoSuite validation and well-know derivation of credential_signing_alg_values_supported field (#389)

* make singatureCryptoSuite non-mandatory for sdJwt format and fix derivation of credential_signing_alg_values_supported when singatureCryptoSuite field is missing incase of sdJWT

Signed-off-by: jackjain <[email protected]>

* fix unit test failure and add handling for missing signature algo for Data integrity proof scenario

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Remaining changes on #379 criticial PR (#390)

* [INJICERT-1145] Removed stuff related to c4gt

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Host did keys for credential config entries only

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Move status list code from certify-service to status-list service

Signed-off-by: Piyush7034 <[email protected]>

* CHeck for all certificates

Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] DID fix for data-integrity crypto suites (#391)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Removed year from verification method name (#392)

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Update docker-compose after LSH (#393)

Signed-off-by: Piyush7034 <[email protected]>

* Revert c4gt template files

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update DMP_2024.yml

Signed-off-by: Piyush7034 <[email protected]>

* Update c4gt_community.yml

Signed-off-by: Piyush7034 <[email protected]>

* Change release to develop for certify-service-with-plugins for dockerfile

Signed-off-by: Piyush7034 <[email protected]>

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup (#396)

* [INJICERT-1145] Adding cachePrefix via RedisCacheConfig setup

Signed-off-by: jackjain <[email protected]>

* [INJICERT-1145] Rename the config for redis key prefix and refactor RedisCacheConfig code

Signed-off-by: jackjain <[email protected]>

---------

Signed-off-by: jackjain <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>

---------

Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-42546] updated readme

Signed-off-by: Rakshithb1 <[email protected]>

---------

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: Piyush7034 <[email protected]>
Signed-off-by: Vishwa <[email protected]>
Signed-off-by: techno-467 <[email protected]>
Signed-off-by: jackjain <[email protected]>
Co-authored-by: Rakshithb1 <[email protected]>
Co-authored-by: Praful Rakhade <[email protected]>
Co-authored-by: Prafulrakhade <[email protected]>
Co-authored-by: Jack <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement Interactive Authorization Request (IAR) functionality with OpenID4VP support, including service, controller, DTOs, and configuration updates.

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Add unit tests for Interactive Authorization Request (IAR) endpoint in OAuthAuthorizationController

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Fix missing newline at end of file in OAuthAuthorizationControllerTest

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Refactor IAR and OpenID4VP request handling: remove unused parameters and dependencies

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement Interactive Authorization Request (IAR) enhancements: add session management, response handling, and database support

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Remove unused mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* Implement OAuth 2.0 Token Request and Response handling: add processTokenRequest method, DTOs, and database support

Signed-off-by: anmol5936 <[email protected]>

* Integrate Verify Service for VP Request and Verification: refactor IAR session handling, add new DTOs, and update database schema

Signed-off-by: anmol5936 <[email protected]>

* Refactor IAR constants and service implementation: remove unused response modes, add configuration validation, and implement mock VP verification logic

Signed-off-by: anmol5936 <[email protected]>

* feat: Enhance presentation definition configuration and add debug endpoints

- Updated `certify-default.properties` to include new OAuth and debug URL exclusions.
- Added `certify-config.json` for presentation definition configuration.
- Implemented `VerifiableClaimsConfig` DTO to match the new configuration structure.
- Created `VpVerifierRequest` and `VpVerifierResponse` classes for future use.
- Developed `PresentationDefinitionDebugController` for testing presentation definitions and credential types.
- Introduced `PresentationDefinitionConfigService` to manage loading and caching of presentation definitions from JSON.
- Added default configuration creation logic when the config file is not found.
- Implemented fallback mechanisms for presentation definitions based on essential claims.

Signed-off-by: anmol5936 <[email protected]>

* Refactor PresentationDefinitionConfigService to enforce mandatory configuration loading and remove default creation logic

- Removed default credential type configuration and associated logic.
- Updated error handling to throw runtime exceptions when configuration is missing or invalid.
- Eliminated fallback presentation definition creation, ensuring strict adherence to provided configurations.
- Enhanced logging for better visibility into configuration issues.

Refactor VpParsingUtil to improve error handling and remove fallback mechanisms

- Updated methods to throw runtime exceptions on failure instead of returning fallback values.
- Improved logging to capture specific error messages for better debugging.

Update application-local.properties and certify-default.properties for enhanced configurability

- Added new properties for VP verification service endpoints and response modes.
- Introduced mappings for scope to credential type and session/token prefixes.

Add initial certify-config.json for verifiable claims configuration

- Introduced a comprehensive JSON configuration for verifiable claims, including various credential types and their definitions.

Signed-off-by: anmol5936 <[email protected]>

* [INJICERT-990] Add Authorization Server endpoint with logic and unit tests (#422)

* WIP: Update certify-service pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS metadata endpoint and configuration

- Added OAuthASMetadataDTO for OAuth 2.0 Authorization Server metadata
- Implemented OAuthASMetadataService to handle metadata generation
- Added /.well-known/oauth-authorization-server endpoint in WellKnownController
- Updated application-local.properties with OAuth AS configuration properties

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add comprehensive unit tests for OAuth AS metadata functionality

- Add OAuthASMetadataServiceTest with 7 test cases covering service logic
- Update WellKnownControllerTest with OAuth AS metadata endpoint test
- All 14 tests passing with comprehensive coverage

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata to replace authorization challenge endpoint with interactive authorization endpoint

Signed-off-by: Anmol Mangaraj <[email protected]>

* Refactor OAuth AS Metadata: Replace DTO and service with Authorization Server equivalents, update controller and tests accordingly

Signed-off-by: Anmol Mangaraj <[email protected]>

* Remove mock-certify-plugin dependency from pom.xml

Signed-off-by: Anmol Mangaraj <[email protected]>

* Update authorization URL in application-local.properties to match actual oauth url

Signed-off-by: Anmol Mangaraj <[email protected]>

* Add OAuth AS Metadata Configuration to application-test.properties

- Introduced new properties for OAuth AS metadata including issuer, token endpoint, JWKS URI, supported grant types, response types, and authentication methods.
- Added interactive authorization endpoint configuration.

Signed-off-by: Anmol Mangaraj <[email protected]>

---------

Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* git commit -s -m "refactor: remove unused constants and streamline IAR processing logic"

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): unified request handling with validation and DTOs for authorization & presentation flows

- Add a unified IAR request handler to consolidate authorization and presentation flows
- Introduce request validation layer and type-safe DTOs for incoming/outgoing payloads
- Centralize parsing, error handling and logging to reduce duplicated logic
- Update callers to use the new handler and adjust endpoint wiring
- Add/adjust unit tests and API docs to reflect new DTOs and validation rules

BREAKING CHANGE: IAR endpoint handler API changed — callers must pass the new DTOs.
Signed-off-by: Anmol Mangaraj <[email protected]>
Signed-off-by: anmol5936 <[email protected]>

* feat: Add presentationDefinitionId to VerifyVpRequest and responseUri to IarSession; remove unused PresentationDefinitionConfigService and VpParsingUtil

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Enhance IAR and OAuth token handling with new properties and validation

- Added GRANT_TYPE_AUTHORIZATION_CODE constant to IarConstants for OAuth 2.0.
- Updated IarRequest and UnifiedIarRequest DTOs to replace scope with authorization_details for better compliance with OpenID4VCI.
- Introduced validation for OAuthTokenRequest using @Valid annotation and removed manual validation logic.
- Enhanced IarServiceImpl to support new authorization details and PKCE validation.
- Updated application-local.properties with new OAuth token and authorization code configurations.
- Modified database schema to include redirect_uri, code_challenge, and code_challenge_method in IarSession.

This commit improves the handling of authorization requests and token generation, aligning with OAuth 2.0 and OpenID4VCI specifications.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Enhance OAuth error handling and session management

- Introduced new exception handling for OAuth controller to manage various error scenarios, including invalid requests and client authentication failures.
- Added atomic update for marking authorization codes as used in the IarSession to prevent race conditions.
- Updated IarSession entity to include a timestamp for when the authorization code was used.
- Refactored IarServiceImpl to improve validation logic for authorization codes and PKCE compliance.
- Enhanced application properties for better configuration management of session and authorization code prefixes.

This commit improves the robustness of the OAuth 2.0 implementation, ensuring better error handling and session integrity.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Refactor constants and DTOs for clarity and OAuth 2.0 compliance

- Renamed IarConstants for consistency.
- Updated DTOs: added vct, replaced credentialDefinition, removed unused fields.
- Simplified request/validation logic.
- Improved error handling and session management.
- Ensured alignment with OAuth 2.0 and OpenID4VCI specs.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): unify IAR DTOs and service for auth & presentation handling

- Merged IarRequest and IarPresentationRequest into a single DTO.
- Added VP presentation fields for OpenID4VCI compliance.
- Refactored IarService to use InteractiveAuthorizationRequest.
- Removed deprecated UnifiedIarRequest and OpenId4VpRequest.
- Updated OAuth-related configs and metadata.

Signed-off-by: anmol5936 <[email protected]>

* refactor(iar): streamline IAR constants and DTOs for improved clarity and compliance

- Removed unused IarConstants and UnifiedIarValidator classes.
- Updated IarConstants to use IarStatus and InteractionType enums for better type safety.
- Refactored IarRequest and IarResponse DTOs to utilize new constants.
- Enhanced OAuthTokenRequestValidator to improve validation logic.
- Updated application properties for better configuration management.

This commit enhances the maintainability and clarity of the IAR implementation, ensuring better alignment with OAuth 2.0 and OpenID4VCI specifications.

Signed-off-by: anmol5936 <[email protected]>

* refactor(iar): remove unused DTOs and update IarService for improved handling

- Deleted IarPresentationRequest and IarPresentationResponse DTOs as they are no longer needed.
- Updated IarRequest to reflect changes in handling VP presentation responses.
- Refactored IarService to replace references to removed DTOs with IarAuthorizationRequest and IarAuthorizationResponse.
- Enhanced OAuthTokenResponse to ignore unnecessary properties.

This commit streamlines the IAR implementation, ensuring better clarity and compliance with OpenID4VCI specifications.

Signed-off-by: anmol5936 <[email protected]>

* feat(iar): Enhance configuration validation and HTTP client setting…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant