Skip to content

revocation

Structs


firma_sidecar::authority_client::revocation::RevocationTask

Section titled “firma_sidecar::authority_client::revocation::RevocationTask”

Struct

Server-streaming task for revocation events.

Fields:

  • channel: tonic::transport::Channel - Shared Authority channel.
  • store: std::sync::Arc<dyn RevocationStore> - Store shared with Stage 1.
  • readiness: std::sync::Arc<crate::authority_client::readiness::ReadinessFlag> - Readiness writer.
  • backoff: crate::authority_client::backoff::ExponentialBackoff - Reconnect backoff.
  • cancel: tokio_util::sync::CancellationToken - Shutdown token.
  • fail_closed_on_disconnect: bool - Whether disconnects make the revocation cache not-ready.
  • readiness_grace_ms: u64 - Milliseconds after a successful connect before readiness flips.
  • last_event_time: Option<prost_types::Timestamp> - Last seen revocation timestamp for replay.

Methods:

  • fn run(self: Self) - Run the stream loop until cancelled.