Module Builder.Libp2pKeypair

type struct_t = [
| `Libp2pKeypair_fb61e5f7d6a0208e
]
val has_private_key : t -> bool
val private_key_get : t -> string
val private_key_set : t -> string -> unit
val has_public_key : t -> bool
val public_key_get : t -> string
val public_key_set : t -> string -> unit
val has_peer_id : t -> bool
val peer_id_get : t -> PeerId.t
val peer_id_set_reader : t -> PeerId.struct_t reader_t -> PeerId.t
val peer_id_set_builder : t -> PeerId.t -> PeerId.t
val peer_id_init : t -> PeerId.t
val of_message : Capnp.Message.rw message_t -> t
val to_message : t -> Capnp.Message.rw message_t
val to_reader : t -> struct_t reader_t
val init_root : ?message_size:int -> unit -> t
val init_pointer : pointer_t -> t