Skip to main content

AbstractKeyManagementSystem.sign() method

Signature:

abstract sign(args: {
keyRef: Pick<IKey, 'kid'>;
algorithm?: string;
data: Uint8Array;
[x: string]: any;
}): Promise<string>;

Parameters

ParameterTypeDescription
args{ keyRef: Pick<IKey, 'kid'>; algorithm?: string; data: Uint8Array; [x: string]: any; }

Returns:

Promise<string>