@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TlsValidationContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TlsValidationContext.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TlsValidationContext.Builder> |
serializableBuilderClass() |
SubjectAlternativeNames |
subjectAlternativeNames()
A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.
|
TlsValidationContext.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TlsValidationContextTrust |
trust()
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS)
certificate.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public final TlsValidationContextTrust trust()
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
public TlsValidationContext.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TlsValidationContext.Builder,TlsValidationContext>public static TlsValidationContext.Builder builder()
public static Class<? extends TlsValidationContext.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.