Module libp2p::tls::certificate

source ·
Available on crate feature tls only.
Expand description

X.509 certificate handling for libp2p

This module handles generation, signing, and verification of certificates.

Structs

Functions

  • Generates a self-signed TLS certificate that includes a libp2p-specific certificate extension containing the public key of the given keypair.
  • Attempts to parse the provided bytes as a P2pCertificate.