Skip to main content

KeyManagementSystem.sign() method

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>