Module indyrs::did

source · []

Functions

Retrieves abbreviated verkey if it is possible otherwise return full verkey.

Creates keys (signing and encryption keys) for a new DID (owned by the caller of the library). Identity’s DID must be either explicitly provided, or taken as the first 16 bit of verkey. Saves the Identity DID with keys in a secured Wallet, so that it can be used to sign and encrypt transactions.

Retrieves the meta information for the giving DID in the wallet.

Returns endpoint information for the given DID.

Retrieves the information about the giving DID in the wallet.

Returns ver key (key id) for the given DID.

Returns ver key (key id) for the given DID.

Retrieves the information about all DIDs stored in the wallet.

Update DID stored in the wallet to make fully qualified, or to do other DID maintenance. - If the DID has no method, a method will be appended (prepend did:peer to a legacy did) - If the DID has a method, a method will be updated (migrate did:peer to did:peer-new)

Apply temporary keys as main for an existing DID (owned by the caller of the library).

Generated temporary keys (signing and encryption keys) for an existing DID (owned by the caller of the library).

Saves/replaces the meta information for the giving DID in the wallet.

Set/replaces endpoint information for the given DID.

Saves their DID for a pairwise connection in a secured Wallet, so that it can be used to verify transaction. Updates DID associated verkey in case DID already exists in the Wallet.