Module Upsycle_router.Util_crypto_io

include module type of Util_crypto_io
module UCrypto = Util_crypto
module Uio = Util_io
module UString = Util_pure.String
val key_printing_short : bool Stdlib.ref
val set_key_printing_short : bool -> unit
val pp_privkey_25519 : Stdlib.Format.formatter -> Mirage_crypto_ec.Ed25519.priv -> unit
val pp_privkey_none : Stdlib.Format.formatter -> unit -> unit
val pp_pubkey_25519 : Stdlib.Format.formatter -> Mirage_crypto_ec.Ed25519.pub -> unit
val pubkey_of_certfile : ?print_stderr:bool -> ?complain:bool -> string list -> string -> (string, [> `Msg of string ]) Stdlib.result
val pubkey_of_certfile_exn : ?print_stderr:bool -> string list -> string -> string
val key_of_keyfile : ?print_stderr:bool -> ?complain:bool -> [< `Priv | `Pub ] -> string list -> string -> (string, [> `Msg of string ]) Stdlib.result
val key_of_keyfile_exn : ?print_stderr:bool -> [< `Priv | `Pub ] -> string list -> string -> string
val pubkey_of_keyfile_exn : ?print_stderr:bool -> string list -> string -> string
val privkey_of_keyfile_exn : ?print_stderr:bool -> string list -> string -> string
val init : unit -> unit
val generate_key_pair : ?g:Mirage_crypto_rng.g -> unit -> Mirage_crypto_ec.Ed25519.priv * Mirage_crypto_ec.Ed25519.pub
val generate_key_pair_base64 : ?g:Mirage_crypto_rng.g -> unit -> string * string