DIDManager class

Agent plugin that implements IDIDManager interface

Signature:
export declare class DIDManager implements IAgentPlugin
Implements: [IAgentPlugin](/docs/api/core.iagentplugin)

Constructors

ConstructorModifiersDescription
(constructor)(options)Constructs a new instance of the DIDManager class

Properties

PropertyModifiersTypeDescription
methodsIDIDManagerPlugin methods
schemaany

Methods

MethodModifiersDescription
didManagerAddKey({ did, key, options }, context)Adds a key to a DID Document
didManagerAddService({ did, service, options }, context)Adds a service to a DID Document
didManagerCreate(args, context)Creates and returns a new identifier
didManagerDelete({ did }, context)Deletes identifier
didManagerFind(args)Returns a list of managed identifiers
didManagerGet({ did })Returns a specific identifier
didManagerGetByAlias({ alias, provider })Returns a specific identifier by alias
didManagerGetOrCreate({ provider, alias, kms, options }, context)Returns an existing identifier or creates a new one for a specific alias
didManagerGetProviders()Returns a list of available identifier providers
didManagerImport(identifier, context)Imports identifier
didManagerRemoveKey({ did, kid, options }, context)Removes a key from a DID Document
didManagerRemoveService({ did, id, options }, context)Removes a service from a DID Document
didManagerSetAlias({ did, alias }, context)Sets identifier alias