ssi 1.7.0
ssi: ^1.7.0 copied to clipboard
Affinidi SSI library for Dart provides a comprehensive suite of tools and libraries for implementing Self-Sovereign Identity (SSI) solutions.
Dart SSI Examples #
Check the code snippets to learn how to integrate this package with your project.
Wallet and DID #
1. Create a Wallet #
Create a Hierarchical Deterministic wallet with BIP32 support - view example.
Create a Non-Hierarchical Deterministic wallet with a P256 key type - view example.
2. Resolve DID Document #
Resolve the DID Document from one of the supported methods to extract information such as public key information - view example.
3. Create a DID Signer #
Create a DID signer using the BIP32 wallet - view example.
Verifiable Credential (VC) Data Model V1 #
1. Create and Sign Verifiable Credential (VC) #
Create a Verifiable Credential with a mutable data using Data Model V1 - view example.
Create a Verifiable Credential with a mutable data in JWT format - view example.
2. Verify VC Expiry and Integrity #
Verify the expiration of the Verifiable Credential - view example.
Verify the integrity of the Verifiable Credential - view example.
Verify JWT VC string - view example.
3. Create Data Model #
Create a data model using V1 - view example.
4. Parse VC String #
Parse a Data Model V1 VC string - view example.
Parse a JWT VC string - view example.
Verifiable Credential (VC) Data Model V2 #
1. Create and Sign Verifiable Credential (VC) #
Create a Verifiable Credential with a mutable data using Data Model V2 - view example.
2. Verify VC Expiry and Integrity #
Verify the expiration of the Verifiable Credential - view example.
Verify the integrity of the Verifiable Credential - view example.
3. Create and Sign SD-JWT #
Create a SD-JWT with a mutable data - view example.
4. Create Data Model #
Create a data model using V2 - view example.
5. Parse VC String #
Parse a Data Model V2 VC string - view example.
Verifiable Presentation (VP) Data Model V1 #
1. Create and Sign Verifiable Presentation (VP) #
Create a Verifiable Presentation with a mutable presentation using VP Data Model V1 - view example.
2. Verify VP Expiry and Integrity #
Verify the expiration of the Verifiable Credential - view example.
Verify the integrity of the Verifiable Credential - view example.
3. Verify VP with Custom Challenge #
Verify the VP with specific domain and challenge using Data Model V1 - view example.
4. Parse VP String #
Parse a Data Model V1 VP string - view example.
Verifiable Presentation (VP) Data Model V2 #
1. Create and Sign Verifiable Presentation (VP) #
Create a Verifiable Presentation with a mutable presentation using VP Data Model V2 - view example.
2. Verify VP Expiry and Integrity #
Verify the expiration of the Verifiable Credential - view example.
Verify the integrity of the Verifiable Credential - view example.
3. Verify VP with Custom Challenge #
Verify the VP with specific domain and challenge using Data Model V2 - view example.
4. Create Data Model #
Create a data model using V2 - view example.
5. Parse VP String #
Parse a Data Model V2 VP string - view example.