pub struct FleetOptions<'a> {
pub trusted_roots: &'a BTreeMap<String, Vec<u8>>,
pub revoked: &'a [String],
pub now_iso: &'a str,
pub clock_skew_seconds: i64,
pub require_action: Option<&'a str>,
pub require_target: Option<&'a str>,
pub require_resource: Option<&'a str>,
pub check_status: bool,
pub status_lists: Option<&'a Map<String, Value>>,
}Expand description
How a fleet chain is verified.
Fields§
§trusted_roots: &'a BTreeMap<String, Vec<u8>>The accepted roots: DID to Ed25519 public key. The first credential’s
issuer must be here. Its DIDs are the trusted starting points of any
embedded delegation chain, and its keys resolve later issuers and
embedded grants before a did:key is decoded.
revoked: &'a [String]Revoked identifiers: device DIDs and credential ids. A chain whose issuer, credential id or delegatee is listed is refused.
now_iso: &'a strThe current instant (protocol time).
clock_skew_seconds: i64The allowed clock drift, 0 to 120 seconds.
require_action: Option<&'a str>An exact intent.action the leaf must carry.
require_target: Option<&'a str>An exact intent.target the leaf must carry.
require_resource: Option<&'a str>An exact intent.resource the leaf must carry.
check_status: boolCheck the credentialStatus of every credential and embedded grant
that carries one (the reference’s default).
status_lists: Option<&'a Map<String, Value>>The status lists the caller fetched, keyed by statusListCredential
URL. None refuses any credential that carries a status entry while
check_status is on.