Struct rustls::client::handy::AlwaysResolvesClientCert
source · pub(super) struct AlwaysResolvesClientCert(Arc<CertifiedKey>);
Tuple Fields§
§0: Arc<CertifiedKey>
Implementations§
source§impl AlwaysResolvesClientCert
impl AlwaysResolvesClientCert
pub(super) fn new( chain: Vec<Certificate>, priv_key: &PrivateKey, ) -> Result<Self, Error>
Trait Implementations§
source§impl ResolvesClientCert for AlwaysResolvesClientCert
impl ResolvesClientCert for AlwaysResolvesClientCert
source§fn resolve(
&self,
_acceptable_issuers: &[&[u8]],
_sigschemes: &[SignatureScheme],
) -> Option<Arc<CertifiedKey>>
fn resolve( &self, _acceptable_issuers: &[&[u8]], _sigschemes: &[SignatureScheme], ) -> Option<Arc<CertifiedKey>>
With the server-supplied acceptable issuers in
acceptable_issuers
,
the server’s supported signature schemes in sigschemes
,
return a certificate chain and signing key to authenticate. Read moreAuto Trait Implementations§
impl Freeze for AlwaysResolvesClientCert
impl !RefUnwindSafe for AlwaysResolvesClientCert
impl Send for AlwaysResolvesClientCert
impl Sync for AlwaysResolvesClientCert
impl Unpin for AlwaysResolvesClientCert
impl !UnwindSafe for AlwaysResolvesClientCert
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
Mutably borrows from an owned value. Read more