pub struct At9pAdmission<'a> {
pub capsule_bytes: &'a [u8],
pub gate: &'a dyn At9pCapsuleResolver,
pub pq_store: &'a mut KeyedPqTrustStore,
}Expand description
Inputs for the did:at9p admission arm (D2/#894).
Parallel to the is_did_key arm, but a did:at9p proof upgrades a verified
application signer to a hybrid-PQC anchor, so the arm additionally needs:
- the capsule bytes carried with the application proof,
- a GATE verifier (
At9pCapsuleResolver) that runs the A4 canon→hash→sig pipeline (#884) and returns the content-verified subject keys, - the
KeyedPqTrustStoreto bind those verified hybrid keys into — the atomiced25519 → ml_dsa_65binding that replaces the out-of-bandmesh_peersconfig path fordid:at9ppeers.
The arm is exercised by passing Some(At9pAdmission { .. }) to
admit_key_against_did; the live mesh admission flow is not wired beyond
this arm, so FederationAdmissionGate::admit passes None (a did:at9p
peer reaching that path fails closed until the accept path feeds capsule bytes).
Fields§
§capsule_bytes: &'a [u8]The raw genesis capsule bytes the peer presented for did:at9p:<cid512>.
gate: &'a dyn At9pCapsuleResolverThe GATE verifier (implemented in hyprstream-pds over verify_did_at9p).
pq_store: &'a mut KeyedPqTrustStoreThe native PQ trust store to bind the verified hybrid keys into.
Auto Trait Implementations§
impl<'a> Freeze for At9pAdmission<'a>
impl<'a> !RefUnwindSafe for At9pAdmission<'a>
impl<'a> Send for At9pAdmission<'a>
impl<'a> Sync for At9pAdmission<'a>
impl<'a> Unpin for At9pAdmission<'a>
impl<'a> UnsafeUnpin for At9pAdmission<'a>
impl<'a> !UnwindSafe for At9pAdmission<'a>
Blanket Implementations§
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> 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>
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more