Crate ddoresolver_rs
source · [−]Modules
Structs
“Temporary” struct to extend did_key crate’s Document
with KeyAgreement
instead of string.
Enums
Traits
Universal trait for DID document parser methods.
Universal trait for DID document resolver.
Functions
Helper function to try resolve any document based on provided did_url
instead
of calling DdoResolver::resolve()
directly.
This function provides convenience but is dependant on resolver features enabled
and will have overhead comparing to direct trait call of specific resolver,
therefore should be used with consideration.
Output is Option: Some(Document)
or None
. Will never fail with error.
Helper function to try resolve any document based on provided did_url
instead
of calling DdoResolver::resolve()
directly.
This function provides convenience but is dependant on resolver features enabled
and will have overhead comparing to direct trait call of specific resolver,
therefore should be used with consideration.
Output is Document
or Error
.