Skip to main content

CreatePrismDIDWithKeys

@hyperledger/identus-sdk v8.1.3


@hyperledger/identus-sdk / overview / CreatePrismDIDWithKeys

Class: CreatePrismDIDWithKeys

Defined in: packages/lib/sdk/src/edge-agent/didFunctions/CreatePrismDIDWithKeys.ts:21

Handle the creation of a PrismDID

Calculate and use the latest Prism DID KeyPathIndex. Create the relevant PrivateKeys. Store the PrismDID plus Keys in Pluto

Param​

specify the Curve used for the included AuthenticationKey (default: ED25519)

Param​

specify the Curve used for an additional IssuingKey (maps to assertionMethod)

Extends​

Constructors​

Constructor​

new CreatePrismDIDWithKeys(...args: [CreatePrismDIDWithKeysArgs]): CreatePrismDIDWithKeys

Defined in: packages/lib/sdk/src/utils/tasks.ts:18

Parameters​

ParameterTypeDescription
...args[CreatePrismDIDWithKeysArgs]-

Returns​

CreatePrismDIDWithKeys

Inherited from​

Task<DID, Args>.constructor

Methods​

log()​

log(): unknown

Defined in: packages/lib/sdk/src/utils/tasks.ts:27

Returns​

unknown

Inherited from​

Task.log


run()​

run(ctx: AgentContext): Promise<DID>

Defined in: packages/lib/sdk/src/edge-agent/didFunctions/CreatePrismDIDWithKeys.ts:23

Parameters​

ParameterType
ctxAgentContext

Returns​

Promise<DID>

Overrides​

Task.run