Trait AuthClient

Source
pub trait AuthClient: Send + Sync {
    // Required methods
    fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool;
    fn verify_client_certs(
        &self,
        host: &str,
        client_name: Option<&str>,
        clinet_certs: &[u8],
    ) -> bool;
}

Required Methods§

Source

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Implementations on Foreign Types§

Source§

impl<A> AuthClient for (A,)
where A: AuthClient,

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<A> AuthClient for Box<A>
where A: AuthClient + ?Sized,

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<A> AuthClient for Arc<A>
where A: AuthClient + ?Sized,

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<B, A> AuthClient for (B, A)
where B: AuthClient, A: AuthClient,

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<C, B, A> AuthClient for (C, B, A)
where C: AuthClient, B: AuthClient, A: AuthClient,

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<D, C, B, A> AuthClient for (D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<E, D, C, B, A> AuthClient for (E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<F, E, D, C, B, A> AuthClient for (F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<G, F, E, D, C, B, A> AuthClient for (G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<H, G, F, E, D, C, B, A> AuthClient for (H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<I, H, G, F, E, D, C, B, A> AuthClient for (I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<J, I, H, G, F, E, D, C, B, A> AuthClient for (J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<K, J, I, H, G, F, E, D, C, B, A> AuthClient for (K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<Y, X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (Y, X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Source§

impl<Z, Y, X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> AuthClient for (Z, Y, X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)

Source§

fn verify_client_name(&self, host: &str, client_name: Option<&str>) -> bool

Source§

fn verify_client_certs( &self, host: &str, client_name: Option<&str>, clinet_certs: &[u8], ) -> bool

Implementors§