Module client

Module client 

Source
Expand description

Module for handling client operations.

Structs§

FromIotaClientError
The error that results from a failed attempt at creating an IdentityClient from a given [IotaClient].
IdentityClient
A client for interacting with the IOTA Identity framework.
IdentityClientReadOnly
An [IotaClient] enriched with identity-related functionalities.
IotaKeySignature
KeyId
Mirrored types from identity_storage::KeyId
MakeUpdateDidDocTxError
IdentityClient::publish_did_update error.
NoSigner
A marker type indicating the absence of a signer.
PublishDidDocument
Publishes a new DID Document on-chain. An crate::rebased::migration::OnChainIdentity will be created to contain the provided document.
QueryControlledDidsError
Error that might occur when querying an address for its controlled DIDs.
ShorthandDidUpdate
The actual Transaction type returned by IdentityClient::publish_did_update.

Enums§

FromIotaClientErrorKind
Types of failure for FromIotaClientError.
MakeUpdateDidDocTxErrorKind
Types of failure for MakeUpdateDidDocTxError.

Functions§

get_object_id_from_did
Extracts the object ID from the given IotaDID.
get_sender_public_key
Utility function that returns the key’s bytes of a JWK encoded public ed25519 key.