Mavryk_signer_backends.Encrypted
module Make (C : sig ... end) : Mavryk_client_base.Client_keys.SIGNER
module Make_aggregate
(C : sig ... end) :
Mavryk_client_base.Client_keys.AGGREGATE_SIGNER
val decrypt :
Mavryk_client_base.Client_context.io_wallet ->
?name:string ->
Mavryk_client_base.Client_keys.sk_uri ->
Mavryk_crypto.Signature.secret_key Mavryk_base.TzPervasives.tzresult Lwt.t
val decrypt_aggregate :
Mavryk_client_base.Client_context.io_wallet ->
?name:string ->
Mavryk_client_base.Client_keys.aggregate_sk_uri ->
Mavryk_crypto.Aggregate_signature.secret_key
Mavryk_base.TzPervasives.tzresult
Lwt.t
val decrypt_all :
Mavryk_client_base.Client_context.io_wallet ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
val decrypt_list :
Mavryk_client_base.Client_context.io_wallet ->
string list ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
val encrypt :
Mavryk_crypto.Signature.secret_key ->
bytes ->
Mavryk_client_base.Client_keys.sk_uri Mavryk_base.TzPervasives.tzresult Lwt.t
Encrypts a secret key using the given password
val prompt_twice_and_encrypt :
Mavryk_client_base.Client_context.io ->
Mavryk_crypto.Signature.secret_key ->
Mavryk_client_base.Client_keys.sk_uri Mavryk_base.TzPervasives.tzresult Lwt.t
Prompts password twice to user for confirmation and returns the corresponding encrypted secret key
val prompt_twice_and_encrypt_aggregate :
Mavryk_client_base.Client_context.io ->
Mavryk_crypto.Aggregate_signature.secret_key ->
Mavryk_client_base.Client_keys.aggregate_sk_uri
Mavryk_base.TzPervasives.tzresult
Lwt.t
prompt_twice_and_encrypt_aggregate cctxt sk
Prompts password twice to user for confirmation and returns the corresponding encrypted aggregate secret key
val encrypt_sapling_key :
Mavryk_client_base.Client_context.io ->
Mavryk_sapling.Core.Wallet.Spending_key.t ->
Mavryk_client_base.Client_keys.sapling_uri Mavryk_base.TzPervasives.tzresult
Lwt.t
val decrypt_sapling_key :
Mavryk_client_base.Client_context.io ->
Mavryk_client_base.Client_keys.sapling_uri ->
Mavryk_sapling.Core.Wallet.Spending_key.t Mavryk_base.TzPervasives.tzresult
Lwt.t