AbstractKeyManagementSystem.sign() method
Signature:
abstract sign(args: {
keyRef: Pick<IKey, 'kid'>;
algorithm?: string;
data: Uint8Array;
[x: string]: any;
}): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
args | { keyRef: Pick<IKey, 'kid'>; algorithm?: string; data: Uint8Array; [x: string]: any; } |
Returns:
Promise<string>