package brr

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

RSA-PSS parameters.

type t

The type for RsaPssParams objects.

val v : ?name:Jstr.t -> salt_length:int -> unit -> algo

v ~name ~salt_length is an signature parameter object with given properties. name defaults to "RSA-PSS".

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 salt_length : t -> int

salt_length a is the byte length of the name of the random salt to use.