Struct EnrollServer
pub struct EnrollServer {
pub bind_addr: SocketAddr,
pub acceptor: TlsAcceptor,
pub ca_cert_pem: String,
pub ca_key_pem: Zeroizing<String>,
pub ledger: Arc<CertLedger>,
pub pairing: Arc<PairingGuard>,
pub static_client_pins_configured: bool,
pub allow_unpaired_until: Option<DateTime<Utc>>,
pub relay_profile: RelayProfile,
pub bridge_ports: Option<BridgePortSet>,
pub relay_attempt_bucket: RelayAttemptBucket,
pub paircode_admin_data_dir: Option<PathBuf>,
}Fields§
§bind_addr: SocketAddr§acceptor: TlsAcceptorServer-authentication-only TLS acceptor (no client cert; this is the bootstrap surface, not the mTLS RPC plane).
ca_cert_pem: StringCA cert PEM (returned to the client and used for the SAS fingerprint).
ca_key_pem: Zeroizing<String>CA key PEM (decrypted), used only to sign CSRs. Held in memory for the endpoint’s lifetime; never written or returned.
ledger: Arc<CertLedger>§pairing: Arc<PairingGuard>§static_client_pins_configured: boolStatic WSS pin allowlists cannot admit freshly issued in-band certs unless the operator updates the canonical pin source out of band.
allow_unpaired_until: Option<DateTime<Utc>>RFC3339 instant before which a code-less (“unpaired”) enrollment is
accepted - the time-boxed migration window. None means closed.
relay_profile: RelayProfileRelay coordinates to hand back, when the relay bridge is configured.
bridge_ports: Option<BridgePortSet>Data dir used for local operator requests to mint additional pairing codes. This is intentionally not exposed through the public enrollment HTTP route because relay traffic reaches this listener over loopback. Ports the relay bridge dials enrollment from (None = no relay bridge).
relay_attempt_bucket: RelayAttemptBucketClass-wide attempt budget for relay-routed enrollment.
paircode_admin_data_dir: Option<PathBuf>Auto Trait Implementations§
impl !Freeze for EnrollServer
impl !RefUnwindSafe for EnrollServer
impl !UnwindSafe for EnrollServer
impl Send for EnrollServer
impl Sync for EnrollServer
impl Unpin for EnrollServer
impl UnsafeUnpin for EnrollServer
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more