Skip to main content

Web3KeyManagementSystem.sharedSecret() method

This API is provided as a 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

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

Returns:

Promise<string>