Skip to main content

KeyManagementSystem.sharedSecret() method

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>