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

interface EcdsaGenerateKeyParams {
    algorithm: "ES256K";
}

Hierarchy (view full)

Properties

Properties

algorithm: "ES256K"

A string defining the type of key to generate. The value must be one of the following:

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