pub struct JoinResponse {
pub hostname: String,
pub ca_cert: String,
pub service_cert: String,
pub service_key: String,
pub ca_fingerprint: String,
pub cert_path: String,
pub policy: CertPolicy,
}Expand description
Server response after successful enrollment.
Fields§
§hostname: String§ca_cert: String§service_cert: String§service_key: StringThe member private key. Empty for the CSR-based flow (ADR-015 F1) — the member generated and kept its own key, so the CA has nothing to return here. Only ever populated by the legacy CA-generates path.
ca_fingerprint: String§cert_path: StringPath where the CA wrote cert files, if any. Empty for CSR-based joins — the member persists its own cert locally.
policy: CertPolicyCA-held lifecycle policy (ADR-017). The member persists this so its
background loop renews on the CA’s schedule (renew_threshold_days) and
knows its grace window (grace_days). Phase 2’s signed bundle refreshes it.
Trait Implementations§
Source§impl ComposeSchema for JoinResponse
impl ComposeSchema for JoinResponse
Source§impl Debug for JoinResponse
impl Debug for JoinResponse
Source§impl<'de> Deserialize<'de> for JoinResponse
impl<'de> Deserialize<'de> for JoinResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for JoinResponse
impl Serialize for JoinResponse
Auto Trait Implementations§
impl Freeze for JoinResponse
impl RefUnwindSafe for JoinResponse
impl Send for JoinResponse
impl Sync for JoinResponse
impl Unpin for JoinResponse
impl UnsafeUnpin for JoinResponse
impl UnwindSafe for JoinResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
Converts
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>
Converts
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