selective_disclosure_jwt 1.1.0
selective_disclosure_jwt: ^1.1.0 copied to clipboard
A Dart SDK for working with Selective Disclosure JSON Web Tokens (SD-JWT) following the SD-JWT specification.
SD-JWT for Dart Examples #
Check the sample app and code snippets to learn how to integrate this package with your project.
1. Sample app for end-to-end implementation #
Set up and run the end-to-end sample implementation of the Affinidi SD-JWT for Dart with Flutter - view example.
2. Create and sign SD-JWT #
Create and sign the selected disclosures as SD-JWT - view example.
3. Create and sign a various disclosure structure #
Create and sign the nested disclosures as SD-JWT - view example.
Create and sign the array element disclosures as SD-JWT - view example.
4. Verify the SD-JWT #
Decode and verify the SD-JWT string often shared to your application - view example.
Decode and verify the SD-JWT serialised data - view example.
5. Create a Key-binding JWT (KB-JWT) #
Key-binding JWT ensures that only the intended holder can present the SD-JWT - view example.
6. Create an SD-JWT presentation #
Create the presentation of the selected disclosure - view example.
7. Use a custom algorithm #
If you wish to use another algorithm outside of the bundled algorithm from the package, you can extend and implement the following interface - view example.