Module Crypto_algo.Ec_key_import_params

ECDSA key import parameters.

type t

The type for EcKeyImportParams objects.

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

v ~name ~named_curve is an import parameter object with given properties.

val of_algo : algo -> t

of_algo a is an unsafe conversion from a.

Properties

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.