pub struct MoqlServerIdentityProof {
pub identity: MoqlServerIdentity,
pub ed25519: SigningKey,
pub ml_dsa_65: MlDsaSigningKey,
}Expand description
Inside-carrier admission authenticator for the moql accept path.
Constructed with the daemon-owned AcceptedStateAuthority and the
operator-controlled subject→tenant resolver, then installed on the handler
via
crate::transport::iroh_moq::MoqAuthzConfig::with_admission. With no
authenticator installed the accept path keeps its pre-#1027 posture
(anonymous ⇒ refused).
Fields§
§identity: MoqlServerIdentityThe public resolver-verified state this server must prove possession of.
ed25519: SigningKeyPrivate Ed25519 half corresponding to identity.ed25519.
ml_dsa_65: MlDsaSigningKeyPrivate ML-DSA-65 half corresponding to identity.ml_dsa65.
Implementations§
Source§impl MoqlServerIdentityProof
impl MoqlServerIdentityProof
Sourcepub fn from_local_admission_proof(
proof: &MoqlAdmissionProof,
) -> Result<Self, MoqlAdmissionError>
pub fn from_local_admission_proof( proof: &MoqlAdmissionProof, ) -> Result<Self, MoqlAdmissionError>
Construct the server confirmation material from the same checkpointed local identity already used for native client admission. This does not create a credential: both public keys must exactly match the accepted witness captured by the native announcement.
Trait Implementations§
Source§impl Clone for MoqlServerIdentityProof
impl Clone for MoqlServerIdentityProof
Source§fn clone(&self) -> MoqlServerIdentityProof
fn clone(&self) -> MoqlServerIdentityProof
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for MoqlServerIdentityProof
impl RefUnwindSafe for MoqlServerIdentityProof
impl Send for MoqlServerIdentityProof
impl Sync for MoqlServerIdentityProof
impl Unpin for MoqlServerIdentityProof
impl UnsafeUnpin for MoqlServerIdentityProof
impl UnwindSafe for MoqlServerIdentityProof
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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