Skip to main content

Web3KeyManagementSystem.sharedSecret() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

sharedSecret(args: {
myKeyRef: Pick<IKey, 'kid'>;
theirKey: Pick<IKey, 'type' | 'publicKeyHex'>;
}): Promise<string>;

Parameters

Parameter

Type

Description

args

{ myKeyRef: Pick<IKey, 'kid'>; theirKey: Pick<IKey, 'type' | 'publicKeyHex'>; }

**Returns:**

Promise<string>