All-In-One SSI infrastructure toolkit
Important: Please be informed that, beginning from December 2023, the SSI Kit will no longer receive new features. Furthermore, the SSI Kit is planned for discontinuation by the end of Q3 2024.
However, all functionalities offered by the SSI Kit will be integrated into our new libraries, APIs, and apps in the walt.id identity repo. Giving you more modularity, flexibility and ease-of-use to build end-to-end digital identity and wallet solutions.
For any clarification or queries, feel free to contact us as we aim to make this transition as smooth as possible.
Check out the Official Documentation, to dive deeper into the architecture and configuration options available.
A library written in Kotlin/Java to manage Keys, DIDs and VCs. Functions can be used via Maven/Gradle or a REST api.
fun main() {
// Load services
ServiceMatrix("service-matrix.properties")
// Create DIDs
val issuerDid = DidService.create(DidMethod.ebsi)
val holderDid = DidService.create(DidMethod.key)
// Issue VC with LD_PROOF and JWT format (for show-casing both formats)
val vcJson = Signatory.getService().issue(
templateIdOrFilename = "VerifiableId",
config = ProofConfig(issuerDid = issuerDid, subjectDid = holderDid, proofType = ProofType.LD_PROOF)
)
val vcJwt = Signatory.getService().issue(
templateIdOrFilename = "Europass",
config = ProofConfig(issuerDid = issuerDid, subjectDid = holderDid, proofType = ProofType.JWT)
)
// Present VC in JSON-LD and JWT format (for show-casing both formats)
val vpJson = Custodian.getService().createPresentation(listOf(vcJson), holderDid)
val vpJwt = Custodian.getService().createPresentation(listOf(vcJwt), holderDid)
// Verify VPs, using Signature, JsonSchema and a custom policy
val resJson = Auditor.getService().verify(vpJson, listOf(SignaturePolicy(), JsonSchemaPolicy()))
val resJwt = Auditor.getService().verify(vpJwt, listOf(SignaturePolicy(), JsonSchemaPolicy()))
println("JSON verification result: ${resJson.policyResults}")
println("JWT verification result: ${resJwt.policyResults}")
}
Licensed under the Apache License, Version 2.0.