This EDC extension integrates the Claim Compliance Provider (CCP) with the EDC platform, tested with version 0.2.1
. This means that the send-claims
Endpoint is called to retrieve a list of W3C Verifiable Presentations.
For more information on the Claim Compliance Provider, see the Claim Compliance Provider Repository and the OpenAPI Specification.
This chapter describes interfaces of this integration service.
When an asset was created this asset should be passed to the CcpIntegrationForAssetService
, method callClaimComplianceProvider
.
- This method expects a
org.eclipse.edc.spi.CoreConstants.EDC_NAMESPACE
+claimsList
andorg.eclipse.edc.spi.CoreConstants.EDC_NAMESPACE
+gxParticipantCredentials
in the asset properties as base64 encoded strings.The current value of
org.eclipse.edc.spi.CoreConstants.EDC_NAMESPACE
ishttps://w3id.org/edc/v0.0.1/ns/
- These parameters are taken and forwarded to the Claim Compliance Provider
- For further information see javadoc of
CcpIntegrationForAssetService
- As a result an updated
Asset
is returned. - The
Asset
has an additional property:org.eclipse.edc.spi.CoreConstants.EDC_NAMESPACE
+claimComplianceProviderResponse
which contains the response of the Claim Compliance Provider as a string.
When a contract definition was created this contract definition should be passed to the CcpIntegrationForContractDefinitionService
, method getVerifiablePresentationsFromAssets
.
- This method expects one or more
Asset
s in aContractDefinition
having the asset propertyorg.eclipse.edc.spi.CoreConstants.EDC_NAMESPACE
+claimComplianceProviderResponse
. - All
claimComplianceProviderResponse
are retrieved from theAsset
s.
- As a result a list of
claimComplianceProviderResponse
s is returned.
Feel free to contribute to this project. You can do this by pushing a new branch and creating a pull request or by a fork of this repository with a pull request.
see LICENSE.