AddKeyActionData
@hyperledger/identus-sdk v8.0.0
@hyperledger/identus-sdk / overview / AddKeyActionData
Type Alias: AddKeyActionData
AddKeyActionData = {
id:string;publicKey:PublicKey;purpose:PrismDIDKeyUsageType; }
Defined in: packages/lib/sdk/src/castor/methods/prism/index.ts:54
Add a new public key to the DID Document.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | Verification method id, unique within the Document. | packages/lib/sdk/src/castor/methods/prism/index.ts:56 |
publicKey | PublicKey | The public key material to add. | packages/lib/sdk/src/castor/methods/prism/index.ts:60 |
purpose | PrismDIDKeyUsageType | The key usage this key fulfils. | packages/lib/sdk/src/castor/methods/prism/index.ts:58 |