-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[INJICERT-434] add preliminary VC 2.0 & VC 1.1 support via DataProvider plugin & VCFormatter + VCSigner #93
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vharsh
changed the title
[INJICERT-434] add preliminary version VC Data Model 2.0 support via DataProvider plugin
[INJICERT-434] add preliminary version VC Data Model 2.0 support via DataProvider plugin & VCFormatter + VCSigner
Sep 23, 2024
vharsh
changed the title
[INJICERT-434] add preliminary version VC Data Model 2.0 support via DataProvider plugin & VCFormatter + VCSigner
[INJICERT-434] add preliminary VC 2.0 support via DataProvider plugin & VCFormatter + VCSigner
Sep 23, 2024
vharsh
force-pushed
the
injicert-434
branch
2 times, most recently
from
September 30, 2024 07:39
7f61379
to
8f88ed5
Compare
jainhitesh9998
requested changes
Oct 15, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apart from this, add the mosip headers as well to the code
...fy-core/src/test/java/io/mosip/certify/core/templating/VelocityTemplatingEngineImplTest.java
Outdated
Show resolved
Hide resolved
certify-integration-api/src/main/java/io/mosip/certify/api/spi/DataProviderPlugin.java
Show resolved
Hide resolved
certify-service/src/main/java/io/mosip/certify/CertifyServiceApplication.java
Show resolved
Hide resolved
certify-service/src/main/java/io/mosip/certify/services/KeymanagerLibSigner.java
Outdated
Show resolved
Hide resolved
certify-service/src/main/java/io/mosip/certify/services/VCIPluginSelecter.java
Outdated
Show resolved
Hide resolved
certify-service/src/main/java/io/mosip/certify/services/VCIssuanceServiceImpl.java
Outdated
Show resolved
Hide resolved
certify-service/src/main/resources/application-local.properties
Outdated
Show resolved
Hide resolved
certify-service/src/main/resources/application-local.properties
Outdated
Show resolved
Hide resolved
certify-core/src/main/java/io/mosip/certify/core/entity/TemplateData.java
Show resolved
Hide resolved
Co-Authored by: Piyush7034 <[email protected]> Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Piyush Shukla <[email protected]>
* Velocity Engine 1.7 used for templating * Embedded mosip/keymanager used for key signing with RSASignature2018 * older issuance plugin(VCIssuancePlugin) compatibility is maintained w hack assuming VC2.0 is always generated by DataProvider+VCFormatter+VCSigner Co-Authored by: Piyush7034 <[email protected]> Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Co-Authored by: Hitesh Jain <[email protected]> Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Co-Authored by: Hitesh Jain <[email protected]> Signed-off-by: Harsh Vardhan <[email protected]>
* add config to point the VCI b/w VCIssuancePlugin & DataProviderPlugin Signed-off-by: Harsh Vardhan <[email protected]>
…expiry time Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Two use-cases are possible now: * CertifyPlugin: Uses DataProviderPlugin + VCFormatter + VCSigner to generate the credential by itself. With this, DataProviderPlugin will share the Credential data and formatting & signing will be done by Certify. * PluginIssuer: Uses VCIssuancePlugin, which will generate the credential all by itself and Certify will just deliver the Credential over the OpenID4VCI. Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
jainhitesh9998
approved these changes
Oct 17, 2024
Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
jainhitesh9998
approved these changes
Oct 17, 2024
vharsh
changed the title
[INJICERT-434] add preliminary VC 2.0 support via DataProvider plugin & VCFormatter + VCSigner
[INJICERT-434] add preliminary VC 2.0 & VC 1.1 support via DataProvider plugin & VCFormatter + VCSigner
Oct 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements Draft Spec: https://www.w3.org/TR/vc-data-model-2.0/
High level technical changes:
VCFormatter
interface, initially implemented using Velocity Templating Engine & maintaining a record of related VC Templates w.r.t VCcontext
&credentialType
.VCSigner
interface, initially implemented using the embedded keymanager library.VCIssuancePlugin
.End user visible changes
VCIssuance
interface, i.e. more flexibility for the Administrator.