-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalise
CredentialValidator
, PresentationValidator
to support …
…arbitrary DID Documents (#935) * Add dynamic dispatch traits * Implement Document for IotaDocument * Generalise CredentialValidator to use ValidatorDocument * Generalise PresentationValidator to use ValidatorDocument * Move validator module to identity_credential * Add CredentialValidator::extract_issuer, PresentationValidator::extract_holder * Fix tests, examples compilation * Fix identity_account_storage test compilation with no-default-features * Add unit test for presentation, credential validation with mixed DID Method issuers * Add extract_issuer, extract_holder to Wasm bindings * Update Wasm bindings * Remove old comments, unused imports * Switch parameters back to generics where possible * Change error type * Fix intra-doc links * Fix error documentation
- Loading branch information
Showing
39 changed files
with
1,331 additions
and
638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.