pub enum ClientCertificate {
SeparatePem {
cert_bytes: Vec<u8>,
key_bytes: Option<Vec<u8>>,
},
CombinedPkcs12 {
cert_bytes: Vec<u8>,
},
}
Expand description
Certificate details in various supported formats for use with TLS client authentication.
Variants§
Trait Implementations§
Source§impl Clone for ClientCertificate
impl Clone for ClientCertificate
Source§fn clone(&self) -> ClientCertificate
fn clone(&self) -> ClientCertificate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ClientCertificate
impl RefUnwindSafe for ClientCertificate
impl Send for ClientCertificate
impl Sync for ClientCertificate
impl Unpin for ClientCertificate
impl UnwindSafe for ClientCertificate
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