Struct aws_sdk_appmesh::model::TlsValidationContext
source · #[non_exhaustive]pub struct TlsValidationContext { /* private fields */ }
Expand description
An object that represents how the proxy will validate its peer during Transport Layer Security (TLS) negotiation.
Implementations§
source§impl TlsValidationContext
impl TlsValidationContext
sourcepub fn trust(&self) -> Option<&TlsValidationContextTrust>
pub fn trust(&self) -> Option<&TlsValidationContextTrust>
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 Transport Layer Security (TLS) validation context. If you don't specify SANs on the terminating mesh endpoint, the Envoy proxy for that node doesn't verify the SAN on a peer client certificate. If you don't specify SANs on the originating mesh endpoint, the SAN on the certificate provided by the terminating endpoint must match the mesh endpoint service discovery configuration. Since SPIRE vended certificates have a SPIFFE ID as a name, you must set the SAN since the name doesn't match the service discovery name.
source§impl TlsValidationContext
impl TlsValidationContext
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TlsValidationContext
.
Trait Implementations§
source§impl Clone for TlsValidationContext
impl Clone for TlsValidationContext
source§fn clone(&self) -> TlsValidationContext
fn clone(&self) -> TlsValidationContext
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TlsValidationContext
impl Debug for TlsValidationContext
source§impl PartialEq<TlsValidationContext> for TlsValidationContext
impl PartialEq<TlsValidationContext> for TlsValidationContext
source§fn eq(&self, other: &TlsValidationContext) -> bool
fn eq(&self, other: &TlsValidationContext) -> bool
self
and other
values to be equal, and is used
by ==
.