This commit is contained in:
swrup 2025-12-15 15:01:40 +01:00
parent 50a6137967
commit 8d30ce2c82
6 changed files with 78 additions and 66 deletions

View file

@ -1,10 +1,16 @@
open Bin_sig
type eddsa_priv = Crypto.EddsaPrivateKey.t
type eddsa_pub = Crypto.EddsaPublicKey.t
type h_denom_pub = Bin_type.DenominationHash.t
type t
val get_sm_key : t -> Signkey.t
val get_sm_key_priv : t -> eddsa_priv
val get_sm_key_pub : t -> eddsa_pub
val get_denoms : t -> Denomination.t list
val init : (module Pg.CONN) -> t
(* - management operations - *)
val add_master_signatures :
(module Pg.CONN) ->
@ -14,5 +20,3 @@ val add_master_signatures :
val revoke_denomination :
t -> h_denom_pub -> MasterDenominationKeyRevocation.t -> (unit, string) result
val init : (module Pg.CONN) -> t