ligo/src/lib_signer_backends/encrypted.mli
Grégoire Henry f69d4a5186 Client: simplify Client_keys.SIGNER
We now use `Uri.t` to represent public and secret keys. The 'remote'
scheme is replaced by `https://`, `unix:///` and `tcp://`.
2018-05-26 15:34:16 +02:00

23 lines
988 B
OCaml

(**************************************************************************)
(* *)
(* Copyright (c) 2014 - 2017. *)
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
module Make(C : sig val cctxt: Client_context.prompter end) : Client_keys.SIGNER
val decrypt:
#Client_context.io_wallet ->
?name:string ->
Client_keys.sk_uri -> Signature.secret_key tzresult Lwt.t
val decrypt_all:
#Client_context.io_wallet -> unit tzresult Lwt.t
val encrypt:
#Client_context.io ->
Signature.secret_key -> Client_keys.sk_uri tzresult Lwt.t