Module Mavryk_signer_backends.Unencrypted

include Mavryk_client_base.Client_keys.SIGNER
include Mavryk_client_base.Client_keys.COMMON_SIGNER with type public_key_hash = Mavryk_crypto.Signature.Public_key_hash.t and type public_key = Mavryk_crypto.Signature.Public_key.t and type secret_key = Mavryk_crypto.Signature.Secret_key.t and type signature = Mavryk_crypto.Signature.t and type pk_uri = Mavryk_client_base.Client_keys.pk_uri and type sk_uri = Mavryk_client_base.Client_keys.sk_uri
type signature = Mavryk_crypto.Signature.t
val scheme : string

scheme is the name of the scheme implemented by this signer module.

val title : string

title is a one-line human readable description of the signer.

val description : string

description is a multi-line human readable description of the signer, that should include the format of key specifications.

neuterize sk is the corresponding pk.

import_secret_key ~io pk is the function to be called when interactively importing a key-pair and returning the public key and its hash.

Some signer implementations improve long-term security by requiring human/manual validation while importing keys, the ~io argument can be used to prompt the user in such case.

public_key pk is the Ed25519 version of pk.

val public_key_hash : pk_uri -> (public_key_hash * public_key option) Mavryk_base.TzPervasives.tzresult Lwt.t

public_key_hash pk is the hash of pk. As some signers will query the full public key to obtain the hash, it can be optionally returned to reduce the amount of queries.

sign ?watermark sk data is signature obtained by signing data with sk.

deterministic_nonce sk data is a nonce obtained deterministically from data and sk.

deterministic_nonce_hash sk data is a nonce hash obtained deterministically from data and sk.

val supports_deterministic_nonces : sk_uri -> bool Mavryk_base.TzPervasives.tzresult Lwt.t

supports_deterministic_nonces indicates whether the deterministic_nonce functionality is supported.

module Aggregate : sig ... end