Crate rpki

Crate rpki 

Source
Expand description

All things RPKI.

The Resource Public Key Infrastructure (RPKI) is an application of PKI to Internet routing security. It allows owners of IP address prefixes and AS numbers to publish cryptographically signed information about these resources. In particular, RPKI is currently used for route origin validation where these statements list the AS numbers that are allowed to originate routes for prefixes.

§Features

The crate uses the features to enable functionality that isn’t necessary for all use cases. Currently, the following features are defined:

  • "repository": support for creating, validating, and processing of repository objects, such as certificates, manifests, or ROAs;
  • "rrdp": support for the RRDP protocol for synchronising RPKI repositories;
  • "rtr": support for the RPKI-to-router protocol (RTR);
  • "slurm": support for local exceptions aka SLURM;
  • "serde-support": support for Serde serialization and deserialization for many of the crate’s types;
  • "softkeys": enables an OpenSSL-based signer for creating repository objects – enabling this feature also enables the "repository" feature;
  • "extra-debug": enables printing stack traces when parsing of a repository object fails – this feature should only be used during debugging and must not be enabled in release builds.

Modules§

ca
CA Support.
crypto
Signing related implementations.
dep
Re-exported dependencies.
oid
The object identifiers used in this crate.
repository
Processing the content of RPKI repositories.
resources
Types for AS and IP adress resources.
rrdp
Parsing and processing of RRDP responses.
rtr
RTR: the RPKI to Router Protocol.
slurm
Local exceptions for RPKI payload data.
uri
URIs.
util
xml
XML decoding and encoding.