rename api_sig.ml
This commit is contained in:
parent
153ee78260
commit
325ca30fed
6 changed files with 8 additions and 8 deletions
|
|
@ -22,7 +22,7 @@
|
|||
- number is "float", but we probably want int everywhere instead
|
||||
- numeric values capped at 2^53 -1 inclusive because json *)
|
||||
open Crypto
|
||||
open Bin_signature
|
||||
open Api_sig
|
||||
open Jsont.Object
|
||||
|
||||
let encode_exn jsont v = Jsont_bytesrw.encode_string jsont v |> Result.get_ok
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ let mk_future_denom ~key
|
|||
DenominationKey.of_rsa RsaDenominationKey.{ age_mask; rsa_pub= pub }
|
||||
in
|
||||
let denom_secmod_sig =
|
||||
let open Bin_signature.DenominationKeyAnnouncementPS in
|
||||
let open Api_sig.DenominationKeyAnnouncementPS in
|
||||
let h_denom_pub = h_pub in
|
||||
let h_section_name = Bin_type.Hash_64_cstr.hash section_name in
|
||||
let anchor_time = stamp_start in
|
||||
|
|
@ -53,7 +53,7 @@ let mk_future_signkey ~key
|
|||
({ pub; priv= _; stamp_start; stamp_expire; stamp_end; master_sig= _ } :
|
||||
Signkey.t) =
|
||||
let signkey_secmod_sig =
|
||||
let open Bin_signature.SigningKeyAnnouncementPS in
|
||||
let open Api_sig.SigningKeyAnnouncementPS in
|
||||
let exchange_pub = pub in
|
||||
let anchor_time = stamp_start in
|
||||
let duration =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue