fix sk init, use future_sk
This commit is contained in:
parent
77d5327745
commit
e55e2fac37
13 changed files with 453 additions and 524 deletions
13
src/api.ml
13
src/api.ml
|
|
@ -922,6 +922,19 @@ module SignKey = struct
|
|||
master_sig: ExchangeSigningKeyValidity.t;
|
||||
}
|
||||
|
||||
(* TODO rm one of them *)
|
||||
let of_signkey
|
||||
Signkey.
|
||||
{
|
||||
pub;
|
||||
stamp_start;
|
||||
stamp_expire;
|
||||
stamp_end;
|
||||
master_sig;
|
||||
revoked_sig= _;
|
||||
} =
|
||||
{ key= pub; stamp_start; stamp_expire; stamp_end; master_sig }
|
||||
|
||||
let jsont =
|
||||
let make key stamp_start stamp_expire stamp_end master_sig =
|
||||
{ key; stamp_start; stamp_expire; stamp_end; master_sig }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue