package brr

  1. Overview
  2. Docs
On This Page
  1. Properties
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

Properties

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.

OCaml

Innovation. Community. Security.