Class TlsValidationContext
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.TlsValidationContext
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TlsValidationContext.Builder,TlsValidationContext>
@Generated("software.amazon.awssdk:codegen") public final class TlsValidationContext extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TlsValidationContext.Builder,TlsValidationContext>
An object that represents how the proxy will validate its peer during Transport Layer Security (TLS) negotiation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTlsValidationContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TlsValidationContext.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TlsValidationContext.Builder>serializableBuilderClass()SubjectAlternativeNamessubjectAlternativeNames()A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.TlsValidationContext.BuildertoBuilder()StringtoString()Returns a string representation of this object.TlsValidationContextTrusttrust()A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
subjectAlternativeNames
public final SubjectAlternativeNames 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.
- Returns:
- 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.
-
trust
public final TlsValidationContextTrust trust()
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
- Returns:
- A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
-
toBuilder
public TlsValidationContext.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TlsValidationContext.Builder,TlsValidationContext>
-
builder
public static TlsValidationContext.Builder builder()
-
serializableBuilderClass
public static Class<? extends TlsValidationContext.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-