Skip to main content

Module endpoint

Module endpoint 

Source
Expand description

Library-first endpoint API for embedding FIPS in applications.

This module exposes a no-system-TUN runtime shape for apps that want to own peer admission and local routing policy while reusing FIPS connectivity.

Re-exports§

pub use crate::node::FIPS_ENDPOINT_DIRECT_PACKET_QUEUE_MAX_PACKETS;
pub use crate::node::FIPS_ENDPOINT_DIRECT_PACKET_RUN_MAX_PACKETS;
pub use crate::node::FipsEndpointDirectDeliveryError;
pub use crate::node::FipsEndpointDirectPacketBatch;
pub use crate::node::FipsEndpointDirectPacketRun;
pub use crate::node::FipsEndpointDirectReceiver;
pub use crate::node::FipsEndpointDirectSink;

Structs§

FipsEndpoint
A running embedded FIPS endpoint.
FipsEndpointBuilder
Builder for an embedded FIPS endpoint.
FipsEndpointMessage
Source-attributed endpoint data delivered to an embedded application.
FipsEndpointOutboundDatagram
One owned outbound FSP DataPacket service payload.
FipsEndpointPeer
Authenticated FIPS peer state visible to an embedded application.
FipsEndpointRelayStatus
Live Nostr relay state visible to an embedded application.
FipsEndpointServiceDatagram
Authenticated FSP DataPacket service payload delivered to an embedder.
FipsEndpointServiceReceiver
Port-scoped receiver for one registered FSP service.
RecentPeer
Authentication recency and reusable endpoints for one remote identity.
RecentPeerEndpoint
One previously authenticated, restart-safe transport endpoint.
RecentPeers
Store-agnostic version-1 recent-peer document.
UpdatePeersOutcome
Reports what changed in response to FipsEndpoint::update_peers.

Enums§

FipsEndpointError
Errors returned by the endpoint API.
LocalServiceRegistrationError
Errors specific to capability-advertised local service registration.
RecentPeerTransport
Transport kinds allowed in the version-1 recent-peer schema.
RecentPeersError
Validation or JSON codec error for a recent-peer document.

Constants§

RECENT_PEERS_MAX_ENDPOINTS_PER_PEER
Maximum number of restart endpoints retained for one remote identity.
RECENT_PEERS_MAX_PEERS
Maximum number of remote identities retained in one cache.
RECENT_PEERS_VERSION
Current recent-peers JSON schema version.

Type Aliases§

FipsEndpointData
Endpoint data bytes delivered by FIPS.