Method Nettle.ECC_Curve()->ECDSA()->set_private_key()


Method set_private_key

void set_private_key(Gmp.mpz|int k)

Description

Set the private key (and corresponding public key).

Note

Throws errors if the key isn't valid for the curve.