Web3KeyManagementSystem.sign() method
This API is provided as a beta 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
Parameter | Type | Description |
---|---|---|
{ keyRef, algorithm, data, } | { keyRef: Pick<IKey, 'kid'>; algorithm?: string; data: Uint8Array; } |
Returns:
Promise<string>