Skip to main content

KeyManagementSystem.sharedSecret() method

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>