AbstractKeyManagementSystem.signJWT() method
Warning: This API is now obsolete.
please use
sign({key, data})
instead, withUint8Array
data
Signature:
signJWT({ key, data }: {
key: Pick<IKey, 'kid'>;
data: string | Uint8Array;
}): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
{ key, data } | { key: Pick<IKey, 'kid'>; data: string | Uint8Array; } |
Returns:
Promise<string>