pub enum PqProvenance {
TofuBound,
OobVerified,
}Expand description
How a PQ verifying key came to be associated with an Ed25519 identity.
The absence of an entry is the third state of the model — Classical, no PQ
key bound — and is deliberately not a variant here: it is not something the
overlay records.
Variants§
TofuBound
Recorded at first contact, over a channel authenticated only classically. Proves the client held both private keys at that moment and nothing more. Sufficient to check a signature; insufficient to believe the signer any harder than a classical one.
OobVerified
Confirmed through a channel with different compromise assumptions than the one being bootstrapped — an operator-published deployment fingerprint, or an already-authenticated session on another device.
Implementations§
Source§impl PqProvenance
impl PqProvenance
Sourcepub fn key_material(self) -> VerifiedKeyMaterial
pub fn key_material(self) -> VerifiedKeyMaterial
The verified key material this provenance supports.
This is the single point where a binding is allowed to influence
assurance, and the only mapping that reaches
VerifiedKeyMaterial::PqHybrid is PqProvenance::OobVerified.
Sourcepub fn assurance_ceiling(self) -> Assurance
pub fn assurance_ceiling(self) -> Assurance
The highest MAC assurance this provenance can support.
Trait Implementations§
Source§impl Clone for PqProvenance
impl Clone for PqProvenance
Source§fn clone(&self) -> PqProvenance
fn clone(&self) -> PqProvenance
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PqProvenance
impl Debug for PqProvenance
Source§impl Hash for PqProvenance
impl Hash for PqProvenance
Source§impl PartialEq for PqProvenance
impl PartialEq for PqProvenance
Source§fn eq(&self, other: &PqProvenance) -> bool
fn eq(&self, other: &PqProvenance) -> bool
self and other values to be equal, and is used by ==.impl Copy for PqProvenance
impl Eq for PqProvenance
impl StructuralPartialEq for PqProvenance
Auto Trait Implementations§
impl Freeze for PqProvenance
impl RefUnwindSafe for PqProvenance
impl Send for PqProvenance
impl Sync for PqProvenance
impl Unpin for PqProvenance
impl UnsafeUnpin for PqProvenance
impl UnwindSafe for PqProvenance
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§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