Struct TlsClientIdentity
pub struct TlsClientIdentity { /* private fields */ }Expand description
Secret references for one TLS client certificate chain and its key.
Implementations§
Source§impl TlsClientIdentity
impl TlsClientIdentity
Sourcepub fn new(
certificate: SecretPropertyRef,
private_key: SecretPropertyRef,
) -> Self
pub fn new( certificate: SecretPropertyRef, private_key: SecretPropertyRef, ) -> Self
Pair a certificate-chain property with its private-key property.
Sourcepub fn certificate(&self) -> &SecretPropertyRef
pub fn certificate(&self) -> &SecretPropertyRef
PEM certificate-chain secret reference.
Sourcepub fn private_key(&self) -> &SecretPropertyRef
pub fn private_key(&self) -> &SecretPropertyRef
PEM private-key secret reference.
Trait Implementations§
Source§impl Clone for TlsClientIdentity
impl Clone for TlsClientIdentity
Source§fn clone(&self) -> TlsClientIdentity
fn clone(&self) -> TlsClientIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TlsClientIdentity
impl Debug for TlsClientIdentity
impl Eq for TlsClientIdentity
Source§impl PartialEq for TlsClientIdentity
impl PartialEq for TlsClientIdentity
impl StructuralPartialEq for TlsClientIdentity
Auto Trait Implementations§
impl Freeze for TlsClientIdentity
impl RefUnwindSafe for TlsClientIdentity
impl Send for TlsClientIdentity
impl Sync for TlsClientIdentity
impl Unpin for TlsClientIdentity
impl UnsafeUnpin for TlsClientIdentity
impl UnwindSafe for TlsClientIdentity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.