Skip to main content

IKeyManagerSignArgs interface

Input arguments for keyManagerSign

Signature:

export interface IKeyManagerSignArgs

Properties

Property

Modifiers

Type

Description

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

data

string

Data 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"

keyRef

string

The key handle, as returned during keyManagerCreateKey