The EcdsaSignParams interface defines the algorithm-specific parameters that should be passed into the EcdsaAlgorithm.sign() method when using the ECDSA algorithm.

interface EcdsaSignParams {
    algorithm: "ES256K";
    data: Uint8Array;
    keyUri: string;
}

Hierarchy (view full)

Properties

Properties

algorithm: "ES256K"

Specifies the algorithm used for the signing operation. The value must be one of the following:

  • "ES256K": ECDSA using the secp256k1 curve and SHA-256.
data: Uint8Array

Data to be signed.

keyUri: string

Identifier for the signing private key in the KMS.