Skip to main content

Class: AddKeysCommand

Hierarchy

  • BaseCommand

    AddKeysCommand

Constructors

constructor

new AddKeysCommand(stores, events)

Parameters

NameType
storesNamedRegistry
eventsNamedRegistry

Inherited from

BaseCommand.constructor

Defined in

node_modules/klayr-framework/dist-node/modules/base_command.d.ts:9

Properties

config

config: DidModuleConfig

Defined in

packages/klayr-did-module/dist/commands/add_keys_command.d.ts:44


events

Protected events: NamedRegistry

Inherited from

BaseCommand.events

Defined in

node_modules/klayr-framework/dist-node/modules/base_command.d.ts:6


schema

schema: Object

Type declaration

NameType
$idstring
properties{ keys: { fieldNumber: number ; items: { properties: { publicKey: { dataType: string ; fieldNumber: number } ; relationship: { fieldNumber: number ; items: { dataType: string } ; type: string } } ; required: string[] ; type: string } ; type: string } ; signature: { dataType: string ; fieldNumber: number } ; signer: { dataType: string ; fieldNumber: number } ; target: { dataType: string ; fieldNumber: number } }
properties.keys{ fieldNumber: number ; items: { properties: { publicKey: { dataType: string ; fieldNumber: number } ; relationship: { fieldNumber: number ; items: { dataType: string } ; type: string } } ; required: string[] ; type: string } ; type: string }
properties.keys.fieldNumbernumber
properties.keys.items{ properties: { publicKey: { dataType: string ; fieldNumber: number } ; relationship: { fieldNumber: number ; items: { dataType: string } ; type: string } } ; required: string[] ; type: string }
properties.keys.items.properties{ publicKey: { dataType: string ; fieldNumber: number } ; relationship: { fieldNumber: number ; items: { dataType: string } ; type: string } }
properties.keys.items.properties.publicKey{ dataType: string ; fieldNumber: number }
properties.keys.items.properties.publicKey.dataTypestring
properties.keys.items.properties.publicKey.fieldNumbernumber
properties.keys.items.properties.relationship{ fieldNumber: number ; items: { dataType: string } ; type: string }
properties.keys.items.properties.relationship.fieldNumbernumber
properties.keys.items.properties.relationship.items{ dataType: string }
properties.keys.items.properties.relationship.items.dataTypestring
properties.keys.items.properties.relationship.typestring
properties.keys.items.requiredstring[]
properties.keys.items.typestring
properties.keys.typestring
properties.signature{ dataType: string ; fieldNumber: number }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string ; fieldNumber: number }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string ; fieldNumber: number }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Overrides

BaseCommand.schema

Defined in

packages/klayr-did-module/dist/commands/add_keys_command.d.ts:4


stores

Protected stores: NamedRegistry

Inherited from

BaseCommand.stores

Defined in

node_modules/klayr-framework/dist-node/modules/base_command.d.ts:5

Accessors

name

get name(): string

Returns

string

Inherited from

BaseCommand.name

Defined in

node_modules/klayr-framework/dist-node/modules/base_command.d.ts:8

Methods

execute

execute(_context): Promise<void>

Parameters

NameType
_contextCommandExecuteContext<AddKeysParam>

Returns

Promise<void>

Overrides

BaseCommand.execute

Defined in

packages/klayr-did-module/dist/commands/add_keys_command.d.ts:47


init

init(_moduleConfig): Promise<void>

Parameters

NameType
_moduleConfigDidModuleConfig

Returns

Promise<void>

Defined in

packages/klayr-did-module/dist/commands/add_keys_command.d.ts:45


verify

verify(_context): Promise<VerificationResult>

Parameters

NameType
_contextCommandVerifyContext<AddKeysParam>

Returns

Promise<VerificationResult>

Overrides

BaseCommand.verify

Defined in

packages/klayr-did-module/dist/commands/add_keys_command.d.ts:46