Module Crypto_algo.Ec_key_gen_params

ECDSA key generation parameters.

type t

The type for EcKeyGenParams objects.

val v : name:Jstr.t -> named_curve:Jstr.t -> unit -> algo

v ~name ~named_curve is a key generation algorithm with the given properties.

val of_algo : algo -> t

of_algo a is an unsafe conversion from a.


val name : t -> Jstr.t

name a is the algorithm to use.

val named_curve : t -> Jstr.t

named_curve a is the name of the ellipitic curve to use.