RuntimeLayout
Module: runtime_paths::RuntimeLayout
Section titled “Module: runtime_paths::RuntimeLayout”Contents
Section titled “Contents”Functions
authority_key- Return the default Authority Ed25519 signing-key path.generated_ca_cert- Return the long-lived Sidecar’s MITM CA certificate.resolve- Resolve a runtime layout from an optional explicit root and the process
firma_runtime_state::runtime_paths::RuntimeLayout::authority_key
Section titled “firma_runtime_state::runtime_paths::RuntimeLayout::authority_key”Function
Return the default Authority Ed25519 signing-key path.
fn authority_key(self: &Self) -> PathBuffirma_runtime_state::runtime_paths::RuntimeLayout::generated_ca_cert
Section titled “firma_runtime_state::runtime_paths::RuntimeLayout::generated_ca_cert”Function
Return the long-lived Sidecar’s MITM CA certificate.
Public material, like [RunEntryLayout::ca_cert]: a wrapped process
cannot verify an intercepted handshake without reading it.
fn generated_ca_cert(self: &Self) -> PathBuffirma_runtime_state::runtime_paths::RuntimeLayout::resolve
Section titled “firma_runtime_state::runtime_paths::RuntimeLayout::resolve”Function
Resolve a runtime layout from an optional explicit root and the process environment.
Resolution order is the explicit root, FIRMA_STATE_DIR, and then the
platform runtime-directory convention.
Errors
Section titled “Errors”Returns an error on Windows when neither LOCALAPPDATA nor TEMP is set.
fn resolve(flag: Option<PathBuf>) -> Result<Self>