A string defining the type of key to generate. The value must be one of the following:
"ES256"
: ECDSA using the secp256r1 (P-256) curve and SHA-256."ES256K"
: ECDSA using the secp256k1 curve and SHA-256."secp256k1"
: ECDSA using the secp256k1 curve and SHA-256."secp256r1"
: ECDSA using the secp256r1 (P-256) curve and SHA-256.
The
EcdsaGenerateKeyParams
interface defines the algorithm-specific parameters that should be passed into thegenerateKey()
method when using the ECDSA algorithm.