Method Nettle.ECC_Curve()->ECDSA()->set_private_key()
- Method
set_private_key
voidset_private_key(Gmp.mpz|intk)- Description
Set the private key (and corresponding public key).
- Note
Throws errors if the key isn't valid for the curve.
void set_private_key(Gmp.mpz|int k)
Set the private key (and corresponding public key).
Throws errors if the key isn't valid for the curve.