Enum rustls::client::common::ClientAuthDetails
source · pub(super) enum ClientAuthDetails {
Empty {
auth_context_tls13: Option<Vec<u8>>,
},
Verify {
certkey: Arc<CertifiedKey>,
signer: Box<dyn Signer>,
auth_context_tls13: Option<Vec<u8>>,
},
}
Variants§
Empty
Send an empty Certificate
and no CertificateVerify
.
Verify
Send a non-empty Certificate
and a CertificateVerify
.
Implementations§
source§impl ClientAuthDetails
impl ClientAuthDetails
pub(super) fn resolve( resolver: &dyn ResolvesClientCert, canames: Option<&[DistinguishedName]>, sigschemes: &[SignatureScheme], auth_context_tls13: Option<Vec<u8>>, ) -> Self
Auto Trait Implementations§
impl Freeze for ClientAuthDetails
impl !RefUnwindSafe for ClientAuthDetails
impl Send for ClientAuthDetails
impl Sync for ClientAuthDetails
impl Unpin for ClientAuthDetails
impl !UnwindSafe for ClientAuthDetails
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