This commit is contained in:
parent
0016410697
commit
4b24cd9800
1 changed files with 36 additions and 0 deletions
|
|
@ -338,6 +338,42 @@ module type Offline_signing = sig
|
|||
val secm_esign_pubkey : string option
|
||||
end
|
||||
|
||||
(* The following options must be in the section "[taler-exchange-secmod-{rsa|cs|eddsa}]". *)
|
||||
module type Secmod = sig
|
||||
(*
|
||||
How long do we generate denomination and signing keys ahead of time?
|
||||
*)
|
||||
val lookahead_sign : duration
|
||||
|
||||
(*
|
||||
How much should validity periods for coins overlap?
|
||||
Should be long enough to avoid problems with
|
||||
wallets picking one key and then due to network latency
|
||||
another key being valid. The ``DURATION_WITHDRAW`` period
|
||||
must be longer than this value.
|
||||
*)
|
||||
val overlap_duration : duration
|
||||
|
||||
(*
|
||||
Where should the security module store its long-term private key?
|
||||
*)
|
||||
val sm_priv_key : file_path
|
||||
|
||||
(*
|
||||
Where should the security module store the private keys it manages?
|
||||
*)
|
||||
val key_dir : dir_path
|
||||
|
||||
(*
|
||||
On which path should the security module listen for signing requests?
|
||||
*)
|
||||
val unixpath : not_relevant
|
||||
end
|
||||
|
||||
module type Secmod_rsa = Secmod
|
||||
module type Secmod_cs = Secmod
|
||||
module type Secmod_eddsa = Secmod
|
||||
|
||||
(* -- ********************************** -- *)
|
||||
let currency = `Eur
|
||||
let currency_to_string = function `Eur -> "EUR"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue