pub struct FederatedTrustStore { /* private fields */ }Implementations§
Source§impl FederatedTrustStore
impl FederatedTrustStore
pub fn new() -> Self
pub fn add(&mut self, att: FederationAttestation)
pub fn remove(&mut self, attestation_id: &str) -> bool
pub fn list(&self) -> Vec<&FederationAttestation>
pub fn find_for( &self, actor: &str, subject_domain: &str, now: Option<&str>, ) -> Option<&FederationAttestation>
pub fn verify_foreign( &self, actor: &str, subject_domain: &str, signed: Option<(&[u8], &[u8])>, now: Option<&str>, ) -> ForeignIdentityCheck
Trait Implementations§
Source§impl Default for FederatedTrustStore
impl Default for FederatedTrustStore
Source§fn default() -> FederatedTrustStore
fn default() -> FederatedTrustStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FederatedTrustStore
impl RefUnwindSafe for FederatedTrustStore
impl Send for FederatedTrustStore
impl Sync for FederatedTrustStore
impl Unpin for FederatedTrustStore
impl UnsafeUnpin for FederatedTrustStore
impl UnwindSafe for FederatedTrustStore
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
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