Uses of Class
io.keyko.nevermined.models.DID
-
-
Uses of DID in io.keyko.nevermined.api
Methods in io.keyko.nevermined.api that return types with arguments of type DID Modifier and Type Method Description List<DID>AssetsAPI. consumerAssets(String consumerAddress)List of Asset objects purchased by consumerAddressList<DID>AssetsAPI. ownerAssets(String ownerAddress)List of Asset objects published by ownerAddressMethods in io.keyko.nevermined.api with parameters of type DID Modifier and Type Method Description booleanProvenanceAPI. actedOnBehalf(String provenanceId, DID did, String delegateAgentId, String responsibleAgentId, String activityId, String signature, String attributes)Implements the W3C PROV Delegation actionbooleanProvenanceAPI. addDIDProvenanceDelegate(DID did, String delegate)Adds an address as delegate for a given DIDBooleanAssetsAPI. consume(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex, String basePath)Downloads an Asset previously ordered through a Service AgreementBooleanAssetsAPI. consume(String serviceAgreementId, DID did, int serviceDefinitionId, String basePath)Downloads an Asset previously ordered through a Service AgreementInputStreamAssetsAPI. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId)Gets the input stream of one file of the assetInputStreamAssetsAPI. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex)Gets the input stream of one file of the assetInputStreamAssetsAPI. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex, int rangeStart, int rangeEnd)Gets a range of bytes of the input stream of one file of the assetbooleanAgreementsAPI. create(DID did, String agreementId, int index, String consumerAddress)Create a service agreement.BooleanAssetsAPI. delegatePermissions(DID did, String subjectAddress)For a existing asset, the owner of the asset delegate to a subject read or access permissGatewayService.ServiceExecutionResultAssetsAPI. execute(String agreementId, DID did, int index, DID workflowDID)Executes a remote service associated with an asset and serviceAgreementIdList<ProvenanceEvent>ProvenanceAPI. getDIDProvenanceEvents(DID did)Search for ProvenanceAttributeRegistered events related with a specific DIDList<AssetMetadata.File>AssetsAPI. getMetadataFiles(DID did)Gets the list of the files that belongs to a DDOBooleanAssetsAPI. getPermissions(DID did, String subjectAddress)Check if an user has permissions in a specific DIDList<ProvenanceEvent>ProvenanceAPI. getProvenanceMethodEvents(ProvenanceEntry.ProvenanceMethod method, DID did)Search for provenance methods (used, wasGeneratedBy, etc.) given a DIDbooleanConditionsAPI. grantAccess(String agreementId, DID did, String grantee)Grant access to an address using the parity secret store.booleanConditionsAPI. grantServiceExecution(String agreementId, DID did, String grantee)Grant compute to an address using the parity secret store.booleanProvenanceAPI. isProvenanceDelegate(DID did, String delegate)Indicates if an address is a provenance delegate for a given DIDio.reactivex.Flowable<OrderResult>AssetsAPI. order(DID did, int serviceDefinitionId)Purchases an Asset represented by a DID.OrderResultAssetsAPI. orderDirect(DID did)Purchases an Asset represented by a DID.OrderResultAssetsAPI. orderDirect(DID did, int serviceDefinitionId)Purchases an Asset represented by a DID.OrderResultAssetsAPI. orderDirect(DID did, int serviceDefinitionId, Service.ServiceTypes serviceTypes)Purchases an Asset represented by a DID.OrderResultAssetsAPI. orderDirect(DID did, Service.ServiceTypes serviceTypes)Purchases an Asset represented by a DID.StringAssetsAPI. owner(DID did)Return the owner of the asset.BooleanAssetsAPI. ownerDownload(DID did, int serviceIndex, String basePath)Purchases an Asset represented by a DID.org.web3j.tuples.generated.Tuple2<String,String>AgreementsAPI. prepare(DID did, int serviceDefinitionId, Account consumerAccount)Prepare the service agreement.booleanProvenanceAPI. removeDIDProvenanceDelegate(DID did, String delegate)Remove an address as delegate for a given DIDDDOAssetsAPI. resolve(DID did)Gets a DDO from a DIDBooleanAssetsAPI. retire(DID did)Retire this did of MetadataBooleanAssetsAPI. revokePermissions(DID did, String subjectAddress)For a existing asset, the owner of the asset revoke the access grants of a subject.BooleanAssetsAPI. transferOwnership(DID did, String newOwnerAddress)Given a DID, transfer the ownership to a new owner.booleanProvenanceAPI. used(String provenanceId, DID did, String agentId, String activityId, String signature, String attributes)Implements the W3C PROV Usage actionbooleanProvenanceAPI. wasAssociatedWith(String provenanceId, DID did, String agentId, String activityId, String attributes)Implements the W3C PROV Association actionbooleanProvenanceAPI. wasDerivedFrom(String provenanceId, DID newEntityDid, DID usedEntityDid, String agentId, String activityId, String attributes)Implements the W3C PROV Derivation action -
Uses of DID in io.keyko.nevermined.api.impl
Methods in io.keyko.nevermined.api.impl that return types with arguments of type DID Modifier and Type Method Description List<DID>AssetsImpl. consumerAssets(String consumerAddress)List<DID>AssetsImpl. ownerAssets(String ownerAddress)Methods in io.keyko.nevermined.api.impl with parameters of type DID Modifier and Type Method Description booleanProvenanceImpl. actedOnBehalf(String provenanceId, DID did, String delegateAgentId, String responsibleAgentId, String activityId, String signature, String attributes)booleanProvenanceImpl. addDIDProvenanceDelegate(DID did, String delegate)BooleanAssetsImpl. consume(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex, String basePath)BooleanAssetsImpl. consume(String serviceAgreementId, DID did, int serviceDefinitionId, String basePath)InputStreamAssetsImpl. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId)InputStreamAssetsImpl. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex)InputStreamAssetsImpl. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex, int rangeStart, int rangeEnd)booleanAgreementsImpl. create(DID did, String agreementId, int index, String consumerAddress)BooleanAssetsImpl. delegatePermissions(DID did, String subjectAddress)GatewayService.ServiceExecutionResultAssetsImpl. execute(String agreementId, DID did, int index, DID workflowDID)List<ProvenanceEvent>ProvenanceImpl. getDIDProvenanceEvents(DID did)List<AssetMetadata.File>AssetsImpl. getMetadataFiles(DID did)BooleanAssetsImpl. getPermissions(DID did, String subjectAddress)List<ProvenanceEvent>ProvenanceImpl. getProvenanceMethodEvents(ProvenanceEntry.ProvenanceMethod method, DID did)booleanConditionsImpl. grantAccess(String agreementId, DID did, String grantee)booleanConditionsImpl. grantServiceExecution(String agreementId, DID did, String grantee)booleanProvenanceImpl. isProvenanceDelegate(DID did, String delegate)io.reactivex.Flowable<OrderResult>AssetsImpl. order(DID did, int serviceDefinitionId)OrderResultAssetsImpl. orderDirect(DID did)OrderResultAssetsImpl. orderDirect(DID did, int serviceDefinitionId)OrderResultAssetsImpl. orderDirect(DID did, int serviceDefinitionId, Service.ServiceTypes serviceTypes)OrderResultAssetsImpl. orderDirect(DID did, Service.ServiceTypes serviceTypes)StringAssetsImpl. owner(DID did)BooleanAssetsImpl. ownerDownload(DID did, int serviceIndex, String basePath)BooleanAssetsImpl. ownerDownload(DID did, int serviceIndex, String basePath, int fileIndex)org.web3j.tuples.generated.Tuple2<String,String>AgreementsImpl. prepare(DID did, int serviceDefinitionId, Account consumerAccount)booleanProvenanceImpl. removeDIDProvenanceDelegate(DID did, String delegate)DDOAssetsImpl. resolve(DID did)BooleanAssetsImpl. retire(DID did)BooleanAssetsImpl. revokePermissions(DID did, String subjectAddress)StringAgreementsImpl. sign(String agreementId, DID did, int serviceDefinitionId, Account consumerAccount)BooleanAssetsImpl. transferOwnership(DID did, String newOwnerAddress)booleanProvenanceImpl. used(String provenanceId, DID did, String agentId, String activityId, String signature, String attributes)booleanProvenanceImpl. wasAssociatedWith(String provenanceId, DID did, String agentId, String activityId, String attributes)booleanProvenanceImpl. wasDerivedFrom(String provenanceId, DID newEntityDid, DID usedEntityDid, String agentId, String activityId, String attributes) -
Uses of DID in io.keyko.nevermined.manager
Methods in io.keyko.nevermined.manager that return DID Modifier and Type Method Description DIDNeverminedManager. generateDID(DDO ddo)Given a DDO, returns a DID created using the ddoMethods in io.keyko.nevermined.manager that return types with arguments of type DID Modifier and Type Method Description private List<DID>AgreementsManager. getAccessAgreementsFulfilledByConsumer(String consumerAddress)private List<DID>AgreementsManager. getComputeAgreementsFulfilledByConsumer(String consumerAddress)List<DID>AgreementsManager. getConsumerAssets(String consumerAddress)List of Asset objects purchased by consumerAddressList<DID>AssetsManager. getOwnerAssets(String ownerAddress)List of Asset objects published by ownerAddressMethods in io.keyko.nevermined.manager with parameters of type DID Modifier and Type Method Description booleanNeverminedManager. access(String serviceAgreementId, DID did, int serviceIndex, int fileIndex, String basePath)Downloads an Asset previously ordered through a Service AgreementbooleanNeverminedManager. access(String serviceAgreementId, DID did, int serviceIndex, String basePath)Downloads an Asset previously ordered through a Service AgreementbooleanProvenanceManager. actedOnBehalf(String provenanceId, DID did, String delegateAgentId, String responsibleAgentId, String activityId, String signature, String attributes)booleanProvenanceManager. addDIDProvenanceDelegate(DID did, String delegate)private StringNeverminedManager. buildDestinationPath(String basePath, DID did, int fileIndex, AssetMetadata.File file)Constructs the final path where the file should be downloadedInputStreamNeverminedManager. consumeBinary(String serviceAgreementId, DID did, int serviceIndex, int fileIndex)Downloads a single file of an Asset previously ordered through a Service AgreementInputStreamNeverminedManager. consumeBinary(String serviceAgreementId, DID did, int serviceIndex, int fileIndex, Boolean isRangeRequest, Integer rangeStart, Integer rangeEnd)Downloads a single file of an Asset previously ordered through a Service Agreement.BooleanAssetsManager. deleteAsset(DID did)Retire the asset ddo from Metadata Api.booleanNeverminedManager. downloadAssetByOwner(DID did, int serviceIndex, String basePath)Purchases an Asset represented by a DID.booleanNeverminedManager. downloadAssetByOwner(DID did, int serviceIndex, String basePath, int fileIndex)Purchases an Asset represented by a DID.GatewayService.ServiceExecutionResultNeverminedManager. executeComputeService(String serviceAgreementId, DID did, int index, DID workflowDID)Executes a remote service associated with an asset and serviceAgreementIdprivate Map<String,Object>NeverminedManager. fetchAssetDataBeforeConsume(DID did, int serviceIndex)Gets the data needed to download an assetStringBaseManager. generateAccessGrantToken(String serviceAgreementId, DID did)Generate the Grant Token for the Access service.StringBaseManager. generateDownloadGrantToken(DID did)Generat the Grant Token for the Download service.StringBaseManager. generateExecuteGrantToken(String serviceAgreementId, DID workflowDid)Generate the Grant Token for the Execute service.private StringNeverminedManager. getAccessAccessToken(String serviceEndpoint, String serviceAgreementId, DID did)Get the Access Token for the Access service.StringAssetsManager. getDIDOwner(DID did)Get the owner of a did already registered.List<ProvenanceEvent>ProvenanceManager. getDIDProvenanceEvents(DID did)private StringNeverminedManager. getDownloadAccessToken(String serviceEndpoint, DID did)Get the Access Token for the Download service.private StringNeverminedManager. getExecuteAccessToken(String serviceEndpoint, String serviceAgreementId, DID workflowDID)Get the Access Token for the Execute service.BooleanAssetsManager. getPermission(DID did, String subjectAddress)List<ProvenanceEvent>ProvenanceManager. getProvenanceMethodEvents(ProvenanceEntry.ProvenanceMethod method, DID did)BooleanConditionsManager. grantAccess(String agreementId, DID did, String granteeAddress)Grant access to an address to consume a did.BooleanConditionsManager. grantCompute(String agreementId, DID did, String granteeAddress)Grant compute to an address.BooleanAssetsManager. grantPermission(DID did, String subjectAddress)booleanProvenanceManager. isProvenanceDelegate(DID did, String delegate)OrderResultNeverminedManager. purchaseAssetDirect(DID did)Purchases an Asset represented by a DID.OrderResultNeverminedManager. purchaseAssetDirect(DID did, int serviceIndex)Purchases an Asset represented by a DID.OrderResultNeverminedManager. purchaseAssetDirect(DID did, int serviceIndex, Service.ServiceTypes serviceType)Purchases an Asset represented by a DID.OrderResultNeverminedManager. purchaseAssetDirect(DID did, Service.ServiceTypes serviceType)Purchases an Asset represented by a DID.io.reactivex.Flowable<OrderResult>NeverminedManager. purchaseAssetFlowable(DID did, int serviceIndex)Purchases an Asset represented by a DID.booleanNeverminedManager. registerDID(DID did, String url, String checksum, List<String> providers)Given a DID and a Metadata API url, register on-chain the DID.booleanProvenanceManager. removeDIDProvenanceDelegate(DID did, String delegate)DDOBaseManager. resolveDID(DID did)Given a DID, fetch the on-chain url from the DIDRegistry.DDOBaseManager. resolveDIDFromEvent(DID did)Given a DID, scans the DIDRegistry events to resolve the Metadata API url and return the DDO foundBooleanAssetsManager. revokePermission(DID did, String subjectAddress)revoke the permission over an DID for a subject addressBooleanAssetsManager. transferOwnership(DID did, String newOwnerAddress)Transfer the ownsership of a DIDbooleanProvenanceManager. used(String provenanceId, DID did, String agentId, String activityId, String signature, String attributes)booleanProvenanceManager. wasAssociatedWith(String provenanceId, DID did, String agentId, String activityId, String attributes)booleanProvenanceManager. wasDerivedFrom(String provenanceId, DID newEntityDid, DID usedEntityDid, String agentId, String activityId, String attributes) -
Uses of DID in io.keyko.nevermined.models
Fields in io.keyko.nevermined.models declared as DID Modifier and Type Field Description private DIDDDO. didMethods in io.keyko.nevermined.models that return DID Modifier and Type Method Description static DIDDID. builder()static DIDDID. builder(String seed)static DIDDDO. generateDID()DIDDDO. getDid()static DIDDID. getFromHash(String hash)DIDDID. setDid(String did)DIDDID. setEmptyDID() -
Uses of DID in io.keyko.nevermined.models.contracts
Fields in io.keyko.nevermined.models.contracts declared as DID Modifier and Type Field Description DIDProvenanceEntry. didDIDProvenanceEvent. didDIDProvenanceEntry. relatedDidDIDProvenanceEvent. relatedDid -
Uses of DID in io.keyko.nevermined.models.gateway
Fields in io.keyko.nevermined.models.gateway declared as DID Modifier and Type Field Description DIDComputeStatus. did -
Uses of DID in io.keyko.nevermined.models.service
Fields in io.keyko.nevermined.models.service declared as DID Modifier and Type Field Description DIDAgreement. didConstructors in io.keyko.nevermined.models.service with parameters of type DID Constructor Description Agreement(DID did, String didOwner, String templateId, List<byte[]> conditions, String lastUpdateBy, BigInteger blockNumberUpdated) -
Uses of DID in io.keyko.nevermined.models.service.metadata
Fields in io.keyko.nevermined.models.service.metadata declared as DID Modifier and Type Field Description DIDWorkflow.Input. idDIDWorkflow.Transformation. id
-