rust_ipfs

Module p2p

Source
Expand description

P2P handling for IPFS nodes.

Modules§

Structs§

Enums§

Traits§

Functions§

  • Generates a TLS certificate that derives from libp2p Keypair with a salt. Note: If expire is true, it will produce a expired pem that can be appended for webrtc transport Additionally, this function does not generate deterministic certs yet due to CertificateParams::self_signed using ring rng. This may change in the future