Module Crypto_algo.Rsa_hashed_import_params

RSA key import parameters.

type t

The type for RsaHashedImportParams objects.

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

v ~name ~hash is an import parameter object with 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 hash : t -> Jstr.t

hash a is the name of the digest function to use.