Skip to main content

IKeyManager.keyManagerSign() method

Generates a signature according to the algorithm specified.

Signature:

keyManagerSign(args: IKeyManagerSignArgs): Promise<string>;

Parameters

Parameter

Type

Description

args

IKeyManagerSignArgs

The input to the signing method, including data to be signed, key reference and algorithm to use.

**Returns:**

Promise<string>

Exceptions

Error("not_supported") if the KMS does not support the operation or if the key does not match the algorithm.