Skip to main content

Module backend_identity

Module backend_identity 

Source
Expand description

Direct daemon-identity substrate for an existing endpoint.

This is intentionally a small facade over the frozen v1 identity probe, sidecar, and sans-I/O endpoint mux. It does not adopt the broker client or daemon runtime, and it leaves endpoint naming and application payloads to the caller. Narrow direct-daemon identity substrate.

A daemon that already owns its endpoint and legacy/application payloads can persist its launch identity, answer the frozen v1 nonce probe on that same endpoint, and later verify it without adopting the running-process broker. Endpoint spelling, product naming, payload decoding, and lifecycle policy deliberately remain caller-owned.

Re-exports§

pub use crate::broker::backend_lifecycle::probe::endpoint_probe_request_from_frame;
pub use crate::broker::backend_lifecycle::probe::endpoint_probe_response_frame;
pub use crate::broker::backend_lifecycle::probe::handle_endpoint_probe;
pub use crate::broker::backend_lifecycle::probe::read_endpoint_probe_request;
pub use crate::broker::backend_lifecycle::probe::write_endpoint_probe_response;
pub use crate::broker::backend_lifecycle::probe::EndpointProbeRequest;
pub use crate::broker::backend_lifecycle::probe::EndpointProbeServerError;
pub use crate::broker::backend_sdk::read_daemon_identity_file;
pub use crate::broker::backend_sdk::remove_daemon_identity_file;
pub use crate::broker::backend_sdk::try_read_daemon_identity_file;
pub use crate::broker::backend_sdk::write_daemon_identity_file;
pub use crate::broker::backend_sdk::BackendEndpointMux;
pub use crate::broker::backend_sdk::LegacyClassification;
pub use crate::broker::backend_sdk::MuxError;
pub use crate::broker::backend_sdk::MuxPoll;
pub use crate::frame_v1::encode_framed;
pub use crate::frame_v1::read_frame;
pub use crate::frame_v1::read_frame_with_cap;
pub use crate::frame_v1::try_decode_framed;
pub use crate::frame_v1::write_frame;
pub use crate::frame_v1::DecodedFramed;
pub use crate::frame_v1::FramingError;
pub use crate::frame_v1::BACKEND_HANDLE_PROBE_PAYLOAD_PROTOCOL;
pub use crate::frame_v1::ENVELOPE_VERSION;
pub use crate::frame_v1::FRAME_HEADER_BYTES;
pub use crate::frame_v1::MAX_FRAME_BYTES;
pub use crate::frame_v1::MAX_HELLO_BYTES;
pub use crate::frame_v1::PROTOCOL_VERSION;

Structs§

BackendHandle
A verified handle to a running backend daemon.
Connection
A fresh IPC connection to a verified backend daemon.
DaemonProcess
A backend daemon identity with fixed-width fields suitable for verification.
Endpoint
Frame
Every control-plane frame on a broker connection.

Enums§

BackendHandleError
Errors returned by BackendHandle.
DaemonIdentityHashPolicy
Hash material recorded when constructing a current daemon identity.
EndpointNameError
Errors from the broker v1 broker::v1::Endpoint smart constructors.
FrameKind
IdentityError
Errors returned while normalizing daemon identity.
PayloadEncoding