Expand description
Parsing and processing of RRDP responses.
This module provides the scaffolding for client-side processing of the RPKI Repository Delta Protocol (RRDP) as defined in RFC 8182.
Processing is done in two parts. The RRDP notification file is parsed into
a value of type NotificationFile
. Processing of snapshot and delta
files is done incrementally via the ProcessSnapshot
and
ProcessDelta
traits since these files can become rather big.
The module does not provide an HTTP client. Rather, it relies on the
std::io::Read
trait for processing. As such, it is also not compatible
with async processing.
A note on terminology: to avoid confusion, the term ‘file’ refers to the RRDP data itself, i.e., the notification, snapshot, and delta files. The repository’s content synchronized using RRDP also consists of a set of files, which we will refer to as ‘objects.’
Structs§
- A digest was of the wrong algorithm.
- An RRDP delta.
- The serial, URI and HASH of a delta in a
NotificationFile
. - A hash over RRDP data.
- The RRDP Update Notification File.
- A reader providing the content of an object.
- An error happened while parsing a hash.
- Am RPKI object to be published for the first time.
- An RRDP snapshot.
- An RPKI object to be updated with new content.
- The URI of an RRDP file and a SHA-256 hash over its content.
- An RPKI object is to be delete.
Enums§
- A single element of a RRDP delta.
- An error happened when parsing the delta list of a notification file.
- An error occurred while processing RRDP data.
Traits§
- A type that can process an RRDP delta.
- A type that can process an RRDP snapshot.
Type Aliases§
- The URI and HASH of the current snapshot for a
NotificationFile
.