Crate affinidi_did_resolver_cache_sdk

Source
Expand description

DID Universal Resolver Cache Client SDK

Used to easily connect to the DID Universal Resolver Cache.

§Crate features

As this crate can be used either natively or in a WASM environment, the following features are available:

  • local
    • default - Enables the local mode of the SDK. This is the default mode.
  • network
    • Enables the network mode of the SDK. This mode requires a run-time service address to connect to.
    • This feature is NOT supported in a WASM environment. Will cause a compile error if used in WASM.

Modules§

config
Handles the initial configuration for the DID Cache Client.
document
Extends the SSI Crate Document with new methods and functions
errors
Error types for the DID Cache Client SDK

Structs§

DIDCacheClient
DIDCacheClient is how you interact with the DID Universal Resolver Cache config: Configuration for the SDK cache: Local cache for resolved DIDs network_task: OPTIONAL: Task to handle network requests network_rx: OPTIONAL: Channel to listen for responses from the network task
ResolveResponse

Enums§

DIDMethod
DID Methods supported by the DID Universal Resolver Cache