Module Crypto_algo.Rsa_hashed_key_gen_params

RSA key generation parameters.

type t

The type for RsaHashedKeyGenParams objects.

val v : name:Jstr.t -> modulus_length:int -> public_exponent:big_integer -> hash:Jstr.t -> unit -> algo

v ~name ~modulus_length ~public_exponent ~hash 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 modulus_length : t -> int

modulus_length a is the bit length of the RSA modulus.

val public_exponent : t -> big_integer

public_exponent a is the public exponent.

val hash : t -> Jstr.t

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