This commit is contained in:
parent
df181b590d
commit
4475f4f3d4
3 changed files with 36 additions and 49 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