pub struct PeerCertChainDer(pub Vec<Bytes>);Expand description
The certificates sent by the peer in DER encoding, the end-entity certificate first.
Supported by all TLS backends. OpenSSL normalizes its native chain to include the leaf on both sides; Schannel orders issuers after the leaf and retains unrelated supplied certificates at the end. The chain need not contain a root certificate and its presence does not establish trust.
Tuple Fields§
§0: Vec<Bytes>DER-encoded certificates, with the peer’s leaf first.
Trait Implementations§
Source§impl Clone for PeerCertChainDer
impl Clone for PeerCertChainDer
Source§fn clone(&self) -> PeerCertChainDer
fn clone(&self) -> PeerCertChainDer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PeerCertChainDer
impl Debug for PeerCertChainDer
impl Eq for PeerCertChainDer
Source§impl Hash for PeerCertChainDer
impl Hash for PeerCertChainDer
Source§impl PartialEq for PeerCertChainDer
impl PartialEq for PeerCertChainDer
impl StructuralPartialEq for PeerCertChainDer
Auto Trait Implementations§
impl Freeze for PeerCertChainDer
impl RefUnwindSafe for PeerCertChainDer
impl Send for PeerCertChainDer
impl Sync for PeerCertChainDer
impl Unpin for PeerCertChainDer
impl UnsafeUnpin for PeerCertChainDer
impl UnwindSafe for PeerCertChainDer
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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.