Crate janus_messages

Source
Expand description

Messages defined by the Distributed Aggregation Protocol with serialization and deserialization support.

Modules§

Structs§

  • DAP protocol message representing a helper’s response to the leader’s request to provide an encrypted aggregate of its share of data for a given batch interval.
  • DAP message representing the additional associated data for an aggregate share encryption operation.
  • DAP protocol message representing a request from the leader to a helper to provide an encrypted aggregate of its share of data for a given batch interval.
  • DAP protocol message representing a request to continue an aggregation job.
  • DAP protocol message representing an identifier for an aggregation job.
  • DAP protocol message representing an aggregation job initialization request from leader to helper.
  • DAP protocol message representing the response to an aggregation job initialization or continuation request.
  • Type representing the step of an aggregation job.
  • DAP protocol message representing an ID uniquely identifying a batch, for fixed-size tasks.
  • DAP protocol message identifying a batch of interest.
  • DAP protocol message representing a leader’s response to the collector’s request to provide aggregate shares for a given query.
  • DAP protocol message representing an identifier for a collection.
  • DAP protocol message representing a request from the collector to the leader to provide aggregate shares for a given batch.
  • DAP protocol message representing a duration with a resolution of seconds.
  • DAP protocol message representing an arbitrary extension included in a client report.
  • DAP protocol message representing an HPKE ciphertext.
  • DAP protocol message representing an HPKE config.
  • DAP protocol message representing an identifier for an HPKE config.
  • DAP protocol message representing a list of HPKE configurations.
  • DAP protocol message representing an HPKE public key.
  • DAP message representing the additional associated data for an input share encryption operation.
  • DAP protocol message representing a half-open interval of time with a resolution of seconds; the start of the interval is included while the end of the interval is excluded.
  • DAP protocol message representing a partial batch selector, identifying a batch of interest in cases where some query types can infer the selector.
  • DAP protocol message representing the plaintext of an input share.
  • DAP protocol message representing a request to continue preparation of a report share for aggregation.
  • DAP protocol message representing information required to initialize preparation of a report for aggregation.
  • DAP protocol message representing the response to a preparation step in a VDAF evaluation.
  • Represents a query for a specific batch identifier, received from a Collector as part of the collection flow.
  • DAP protocol message representing a client report.
  • DAP protocol message representing an ID uniquely identifying a client report.
  • Checksum over DAP report IDs, defined in §4.4.4.3.
  • DAP protocol message representing client report metadata.
  • DAP protocol message representing one aggregator’s share of a single client report.
  • DAP protocol message representing an identifier for a DAP task.
  • DAP protocol message representing an instant in time with a resolution of seconds.
  • Wire-representation of an ASCII-encoded URL with minimum length 1 and maximum length 2^16 - 1.

Enums§

  • Errors returned by functions and methods in this module
  • DAP protocol message representing the type of an extension included in a client report.
  • DAP protocol message representing a fixed-size query.
  • DAP protocol message representing an HPKE AEAD.
  • DAP protocol message representing an HPKE key derivation function.
  • DAP protocol message representing an HPKE key encapsulation mechanism.
  • DAP protocol message representing an error while preparing a report share for aggregation.
  • DAP protocol message representing result-type-specific data associated with a preparation step in a VDAF evaluation. Included in a PrepareResp message.
  • DAP protocol message representing the different roles that participants can adopt.