Skip to main content

AbstractKeyManagementSystem.signJWT() method

Warning: This API is now obsolete.

please use sign({key, data}) instead, with Uint8Array data

Signature:

signJWT({ key, data }: {
key: Pick<IKey, 'kid'>;
data: string | Uint8Array;
}): Promise<string>;

Parameters

ParameterTypeDescription
{ key, data }{ key: Pick<IKey, 'kid'>; data: string | Uint8Array; }

Returns:

Promise<string>