Skip to content

revocation

Structs


firma_sidecar::enforcement::revocation::BloomLruRevocationStore

Section titled “firma_sidecar::enforcement::revocation::BloomLruRevocationStore”

Struct

Two-layer revocation store: atomic bloom filter + LRU cache.

Methods:

  • fn new(cfg: RevocationConfig) -> Self - Construct a new revocation store with the given configuration.

Trait Implementations:

  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • RevocationStore
    • fn is_revoked(self: &Self, token_id: &TokenId) -> Result<bool, TokenError>
    • fn add_revocation(self: &Self, token_id: &TokenId) -> Result<(), TokenError>

firma_sidecar::enforcement::revocation::RevocationConfig

Section titled “firma_sidecar::enforcement::revocation::RevocationConfig”

Struct

Configuration for [BloomLruRevocationStore].

Traits: Copy

Trait Implementations:

  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Clone
    • fn clone(self: &Self) -> RevocationConfig
  • Default
    • fn default() -> Self
  • From
    • fn from(config: RevocationConfig) -> Self