{"id":38724269,"url":"https://github.com/danubetech/data-integrity-java","last_synced_at":"2026-01-17T11:14:05.311Z","repository":{"id":279185980,"uuid":"937255074","full_name":"danubetech/data-integrity-java","owner":"danubetech","description":" Java implementation of Data Integrity","archived":false,"fork":false,"pushed_at":"2025-12-13T13:35:08.000Z","size":268,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-15T02:10:52.625Z","etag":null,"topics":["shared-libraries"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danubetech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-22T17:45:37.000Z","updated_at":"2025-12-13T13:35:12.000Z","dependencies_parsed_at":"2025-02-24T09:25:33.768Z","dependency_job_id":"c69b1703-851b-473b-8e65-b1baca7aa1af","html_url":"https://github.com/danubetech/data-integrity-java","commit_stats":null,"previous_names":["danubetech/data-integrity-java"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/danubetech/data-integrity-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danubetech%2Fdata-integrity-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danubetech%2Fdata-integrity-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danubetech%2Fdata-integrity-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danubetech%2Fdata-integrity-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danubetech","download_url":"https://codeload.github.com/danubetech/data-integrity-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danubetech%2Fdata-integrity-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28506682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shared-libraries"],"created_at":"2026-01-17T11:14:04.594Z","updated_at":"2026-01-17T11:14:05.301Z","avatar_url":"https://github.com/danubetech.png","language":"Java","readme":"# data-integrity-java\n\n## Information\n\n**This library is a direct continuation of our earlier library [ld-signatures-java](https://github.com/weboftrustinfo/ld-signatures-java).**\n\nIt provides an implementation of the following proof types for [Data Integrity](https://www.w3.org/TR/vc-data-integrity/):\n\n - [DataIntegrityProof](https://www.w3.org/TR/vc-data-integrity/)\n - [JsonWebSignature2020](https://w3c-ccg.github.io/lds-jws2020/)\n - [Ed25519Signature2018](https://w3c-ccg.github.io/lds-ed25519-2018/)\n - [Ed25519Signature2020](https://www.w3.org/community/reports/credentials/CG-FINAL-di-eddsa-2020-20220724/)\n - [EcdsaSecp256k1Signature2019](https://w3c-ccg.github.io/lds-ecdsa-secp256k1-2019/)\n - [EcdsaSecp256r1Signature2019](https://www.w3.org/community/reports/credentials/CG-FINAL-di-ecdsa-2019-20220724/)\n - [EcdsaSecp384r1Signature2019](https://www.w3.org/community/reports/credentials/CG-FINAL-di-ecdsa-2019-20220724/)\n - [RsaSignature2018](https://w3c-ccg.github.io/lds-rsa2018/)\n - [JcsEd25519Signature2020](https://identity.foundation/JcsEd25519Signature2020/)\n - JcsEcdsaSecp256k1Signature2019\n\nFor [DataIntegrityProof](https://www.w3.org/TR/vc-data-integrity/), this implementation supports the following cryptosuites:\n\n- [eddsa-rdfc-2022](https://www.w3.org/TR/vc-di-eddsa/)\n- [eddsa-jcs-2022](https://www.w3.org/TR/vc-di-eddsa/)\n- [ecdsa-rdfc-2019](https://www.w3.org/TR/vc-di-ecdsa/)\n- [ecdsa-jcs-2019](https://www.w3.org/TR/vc-di-ecdsa/)\n- [bip340-rdfc-2025](https://dcdpr.github.io/data-integrity-schnorr-secp256k1/)\n- [bip340-jcs-2025](https://dcdpr.github.io/data-integrity-schnorr-secp256k1/)\n\n## Maven\n\nBuild:\n\n\tmvn clean install\n\nDependency:\n\n\t\u003crepositories\u003e\n\t\t\u003crepository\u003e\n\t\t\t\u003cid\u003edanubetech-maven-public\u003c/id\u003e\n\t\t\t\u003curl\u003ehttps://repo.danubetech.com/repository/maven-public/\u003c/url\u003e\n\t\t\u003c/repository\u003e\n\t\u003c/repositories\u003e\n\n\t\u003cdependency\u003e\n\t\t\u003cgroupId\u003ecom.danubetech\u003c/groupId\u003e\n\t\t\u003cartifactId\u003edata-integrity-java\u003c/artifactId\u003e\n\t\t\u003cversion\u003e1.18-SNAPSHOT\u003c/version\u003e\n\t\u003c/dependency\u003e\n\n## Example\n\nExample JSON-LD document:\n\n\t{\n\t\t\"@context\": {\n\t\t\t\"schema\": \"http://schema.org/\",\n\t\t\t\"name\": \"schema:name\",\n\t\t\t\"homepage\": \"schema:url\",\n\t\t\t\"image\": \"schema:image\"\n\t\t},\n\t\t\"name\": \"Manu Sporny\",\n\t\t\"homepage\": \"https://manu.sporny.org/\",\n\t\t\"image\": \"https://manu.sporny.org/images/manu.png\"\n\t}\n\nExample code:\n\n    JsonLDObject jsonLdObject = JsonLDObject.fromJson(new FileReader(\"input.jsonld\"));\n\n    byte[] testEd25519PrivateKey = Hex.decodeHex(\"984b589e121040156838303f107e13150be4a80fc5088ccba0b0bdc9b1d89090de8777a28f8da1a74e7a13090ed974d879bf692d001cddee16e4cc9f84b60580\".toCharArray());\n\n    Ed25519Signature2018LdSigner signer = new Ed25519Signature2018LdSigner(testEd25519PrivateKey);\n    signer.setCreated(new Date());\n    signer.setProofPurpose(DataIntegrityKeywords.JSONLD_TERM_ASSERTIONMETHOD);\n    signer.setVerificationMethod(URI.create(\"https://example.com/jdoe/keys/1\"));\n    signer.setDomain(\"example.com\");\n    signer.setNonce(\"343s$FSFDa-\");\n    DataIntegrityProof dataIntegrityProof = signer.sign(jsonLdObject);\n\n    System.out.println(jsonLdObject.toJson(true));\n\nExample Linked Data Proof:\n\n\t{\n        \"type\": \"Ed25519Signature2018\",\n        \"created\": \"2020-10-15T09:42:46Z\",\n        \"domain\": \"example.com\",\n        \"nonce\" : \"343s$FSFDa-\",\n        \"proofPurpose\": \"assertionMethod\",\n        \"verificationMethod\": \"https://example.com/jdoe/keys/1\",\n        \"jws\": \"eyJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdLCJhbGciOiJFZERTQSJ9..8sFJcDtO_pYLjIkJNKfIOL3IOgm_bpbOqqr8ha0ZDa-e6XorbywVQmFCATNXPqMV10deru-zajF79tVelKo-Bw\"\n    }\n\n## About\n\nDanube Tech - https://danubetech.com/\n\n\u003cimg align=\"left\" src=\"https://raw.githubusercontent.com/danubetech/data-integrity-java/main/docs/logo-wot.png\"\u003e\n\nOriginally built during [Rebooting Web-of-Trust](http://www.weboftrust.info/) in Paris on April 21st 2017.\n\n\u003cbr clear=\"left\" /\u003e\n\n\u003cimg align=\"left\" height=\"70\" src=\"https://raw.githubusercontent.com/danubetech/data-integrity-java/main/docs/logo-ngi-essiflab.png\"\u003e\n\nThis software library is part of a project that has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 871932\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanubetech%2Fdata-integrity-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanubetech%2Fdata-integrity-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanubetech%2Fdata-integrity-java/lists"}