Skip to main content

Web3KeyManagementSystem.sign() 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:

sign({ keyRef, algorithm, data, }: {
keyRef: Pick<IKey, 'kid'>;
algorithm?: string;
data: Uint8Array;
}): Promise<string>;

Parameters

ParameterTypeDescription
{ keyRef, algorithm, data, }{ keyRef: Pick<IKey, 'kid'>; algorithm?: string; data: Uint8Array; }

Returns:

Promise<string>