#[non_exhaustive]pub struct ListenerTlsValidationContext { /* private fields */ }
Expand description
An object that represents a listener's Transport Layer Security (TLS) validation context.
Implementations§
source§impl ListenerTlsValidationContext
impl ListenerTlsValidationContext
sourcepub fn trust(&self) -> Option<&ListenerTlsValidationContextTrust>
pub fn trust(&self) -> Option<&ListenerTlsValidationContextTrust>
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
sourcepub fn subject_alternative_names(&self) -> Option<&SubjectAlternativeNames>
pub fn subject_alternative_names(&self) -> Option<&SubjectAlternativeNames>
A reference to an object that represents the SANs for a listener's Transport Layer Security (TLS) validation context.
source§impl ListenerTlsValidationContext
impl ListenerTlsValidationContext
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListenerTlsValidationContext
.
Trait Implementations§
source§impl Clone for ListenerTlsValidationContext
impl Clone for ListenerTlsValidationContext
source§fn clone(&self) -> ListenerTlsValidationContext
fn clone(&self) -> ListenerTlsValidationContext
Returns a copy 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 moresource§impl Debug for ListenerTlsValidationContext
impl Debug for ListenerTlsValidationContext
source§impl PartialEq<ListenerTlsValidationContext> for ListenerTlsValidationContext
impl PartialEq<ListenerTlsValidationContext> for ListenerTlsValidationContext
source§fn eq(&self, other: &ListenerTlsValidationContext) -> bool
fn eq(&self, other: &ListenerTlsValidationContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.