pub enum BindingOutcome {
Bound {
bls_pub: [u8; 48],
},
Absent,
Invalid(&'static str),
}Expand description
The result of checking a leaf certificate for a valid BLS binding, BEFORE the policy is applied.
Variants§
Bound
A cryptographically valid binding: peer_id ↔ bls_pub is proven. Carries the verified pubkey.
Absent
No DIG BLS-binding extension is present (a legacy / un-bound peer).
Invalid(&'static str)
A binding extension IS present but did not verify — malformed, bad subgroup point, or the self-attestation signature did not check out. Carries a static reason for logging.
Trait Implementations§
Source§impl Clone for BindingOutcome
impl Clone for BindingOutcome
Source§fn clone(&self) -> BindingOutcome
fn clone(&self) -> BindingOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BindingOutcome
impl Debug for BindingOutcome
impl Eq for BindingOutcome
Source§impl PartialEq for BindingOutcome
impl PartialEq for BindingOutcome
impl StructuralPartialEq for BindingOutcome
Auto Trait Implementations§
impl Freeze for BindingOutcome
impl RefUnwindSafe for BindingOutcome
impl Send for BindingOutcome
impl Sync for BindingOutcome
impl Unpin for BindingOutcome
impl UnsafeUnpin for BindingOutcome
impl UnwindSafe for BindingOutcome
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