Skip to main content

IKeyManagerSignArgs interface

Input arguments for keyManagerSign

Signature:

export interface IKeyManagerSignArgs

Properties

PropertyModifiersTypeDescription
algorithm?string

(Optional) The algorithm to use for signing. This must be one of the algorithms supported by the KMS for this key type.

The algorithm used here should match one of the names listed in IKey.meta.algorithms

datastringData to sign
encoding?'utf-8' | 'base16' | 'base64' | 'hex'(Optional) If the data is a "string" then you can specify which encoding is used. Default is "utf-8"
keyRefstringThe key handle, as returned during keyManagerCreateKey