Package io.envoyproxy.envoy.api.v2.auth
Interface DownstreamTlsContextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DownstreamTlsContext,DownstreamTlsContext.Builder
public interface DownstreamTlsContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommonTlsContextgetCommonTlsContext()Common TLS context settings.CommonTlsContextOrBuildergetCommonTlsContextOrBuilder()Common TLS context settings.booleangetDisableStatelessSessionResumption()Config for controlling stateless TLS session resumption: setting this to true will cause the TLS server to not issue TLS session tickets for the purposes of stateless TLS session resumption.com.google.protobuf.BoolValuegetRequireClientCertificate()If specified, Envoy will reject connections without a valid client certificate.com.google.protobuf.BoolValueOrBuildergetRequireClientCertificateOrBuilder()If specified, Envoy will reject connections without a valid client certificate.com.google.protobuf.BoolValuegetRequireSni()If specified, Envoy will reject connections without a valid and matching SNI.com.google.protobuf.BoolValueOrBuildergetRequireSniOrBuilder()If specified, Envoy will reject connections without a valid and matching SNI.TlsSessionTicketKeysgetSessionTicketKeys()TLS session ticket key settings.TlsSessionTicketKeysOrBuildergetSessionTicketKeysOrBuilder()TLS session ticket key settings.SdsSecretConfiggetSessionTicketKeysSdsSecretConfig()Config for fetching TLS session ticket keys via SDS API.SdsSecretConfigOrBuildergetSessionTicketKeysSdsSecretConfigOrBuilder()Config for fetching TLS session ticket keys via SDS API.DownstreamTlsContext.SessionTicketKeysTypeCasegetSessionTicketKeysTypeCase()com.google.protobuf.DurationgetSessionTimeout()If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session.com.google.protobuf.DurationOrBuildergetSessionTimeoutOrBuilder()If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session.booleanhasCommonTlsContext()Common TLS context settings.booleanhasDisableStatelessSessionResumption()Config for controlling stateless TLS session resumption: setting this to true will cause the TLS server to not issue TLS session tickets for the purposes of stateless TLS session resumption.booleanhasRequireClientCertificate()If specified, Envoy will reject connections without a valid client certificate.booleanhasRequireSni()If specified, Envoy will reject connections without a valid and matching SNI.booleanhasSessionTicketKeys()TLS session ticket key settings.booleanhasSessionTicketKeysSdsSecretConfig()Config for fetching TLS session ticket keys via SDS API.booleanhasSessionTimeout()If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCommonTlsContext
boolean hasCommonTlsContext()
Common TLS context settings.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;- Returns:
- Whether the commonTlsContext field is set.
-
getCommonTlsContext
CommonTlsContext getCommonTlsContext()
Common TLS context settings.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;- Returns:
- The commonTlsContext.
-
getCommonTlsContextOrBuilder
CommonTlsContextOrBuilder getCommonTlsContextOrBuilder()
Common TLS context settings.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;
-
hasRequireClientCertificate
boolean hasRequireClientCertificate()
If specified, Envoy will reject connections without a valid client certificate.
.google.protobuf.BoolValue require_client_certificate = 2;- Returns:
- Whether the requireClientCertificate field is set.
-
getRequireClientCertificate
com.google.protobuf.BoolValue getRequireClientCertificate()
If specified, Envoy will reject connections without a valid client certificate.
.google.protobuf.BoolValue require_client_certificate = 2;- Returns:
- The requireClientCertificate.
-
getRequireClientCertificateOrBuilder
com.google.protobuf.BoolValueOrBuilder getRequireClientCertificateOrBuilder()
If specified, Envoy will reject connections without a valid client certificate.
.google.protobuf.BoolValue require_client_certificate = 2;
-
hasRequireSni
boolean hasRequireSni()
If specified, Envoy will reject connections without a valid and matching SNI. [#not-implemented-hide:]
.google.protobuf.BoolValue require_sni = 3;- Returns:
- Whether the requireSni field is set.
-
getRequireSni
com.google.protobuf.BoolValue getRequireSni()
If specified, Envoy will reject connections without a valid and matching SNI. [#not-implemented-hide:]
.google.protobuf.BoolValue require_sni = 3;- Returns:
- The requireSni.
-
getRequireSniOrBuilder
com.google.protobuf.BoolValueOrBuilder getRequireSniOrBuilder()
If specified, Envoy will reject connections without a valid and matching SNI. [#not-implemented-hide:]
.google.protobuf.BoolValue require_sni = 3;
-
hasSessionTicketKeys
boolean hasSessionTicketKeys()
TLS session ticket key settings.
.envoy.api.v2.auth.TlsSessionTicketKeys session_ticket_keys = 4;- Returns:
- Whether the sessionTicketKeys field is set.
-
getSessionTicketKeys
TlsSessionTicketKeys getSessionTicketKeys()
TLS session ticket key settings.
.envoy.api.v2.auth.TlsSessionTicketKeys session_ticket_keys = 4;- Returns:
- The sessionTicketKeys.
-
getSessionTicketKeysOrBuilder
TlsSessionTicketKeysOrBuilder getSessionTicketKeysOrBuilder()
TLS session ticket key settings.
.envoy.api.v2.auth.TlsSessionTicketKeys session_ticket_keys = 4;
-
hasSessionTicketKeysSdsSecretConfig
boolean hasSessionTicketKeysSdsSecretConfig()
Config for fetching TLS session ticket keys via SDS API.
.envoy.api.v2.auth.SdsSecretConfig session_ticket_keys_sds_secret_config = 5;- Returns:
- Whether the sessionTicketKeysSdsSecretConfig field is set.
-
getSessionTicketKeysSdsSecretConfig
SdsSecretConfig getSessionTicketKeysSdsSecretConfig()
Config for fetching TLS session ticket keys via SDS API.
.envoy.api.v2.auth.SdsSecretConfig session_ticket_keys_sds_secret_config = 5;- Returns:
- The sessionTicketKeysSdsSecretConfig.
-
getSessionTicketKeysSdsSecretConfigOrBuilder
SdsSecretConfigOrBuilder getSessionTicketKeysSdsSecretConfigOrBuilder()
Config for fetching TLS session ticket keys via SDS API.
.envoy.api.v2.auth.SdsSecretConfig session_ticket_keys_sds_secret_config = 5;
-
hasDisableStatelessSessionResumption
boolean hasDisableStatelessSessionResumption()
Config for controlling stateless TLS session resumption: setting this to true will cause the TLS server to not issue TLS session tickets for the purposes of stateless TLS session resumption. If set to false, the TLS server will issue TLS session tickets and encrypt/decrypt them using the keys specified through either :ref:`session_ticket_keys <envoy_api_field_auth.DownstreamTlsContext.session_ticket_keys>` or :ref:`session_ticket_keys_sds_secret_config <envoy_api_field_auth.DownstreamTlsContext.session_ticket_keys_sds_secret_config>`. If this config is set to false and no keys are explicitly configured, the TLS server will issue TLS session tickets and encrypt/decrypt them using an internally-generated and managed key, with the implication that sessions cannot be resumed across hot restarts or on different hosts.
bool disable_stateless_session_resumption = 7;- Returns:
- Whether the disableStatelessSessionResumption field is set.
-
getDisableStatelessSessionResumption
boolean getDisableStatelessSessionResumption()
Config for controlling stateless TLS session resumption: setting this to true will cause the TLS server to not issue TLS session tickets for the purposes of stateless TLS session resumption. If set to false, the TLS server will issue TLS session tickets and encrypt/decrypt them using the keys specified through either :ref:`session_ticket_keys <envoy_api_field_auth.DownstreamTlsContext.session_ticket_keys>` or :ref:`session_ticket_keys_sds_secret_config <envoy_api_field_auth.DownstreamTlsContext.session_ticket_keys_sds_secret_config>`. If this config is set to false and no keys are explicitly configured, the TLS server will issue TLS session tickets and encrypt/decrypt them using an internally-generated and managed key, with the implication that sessions cannot be resumed across hot restarts or on different hosts.
bool disable_stateless_session_resumption = 7;- Returns:
- The disableStatelessSessionResumption.
-
hasSessionTimeout
boolean hasSessionTimeout()
If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session. Currently this value is used as a hint for the `TLS session ticket lifetime (for TLSv1.2) <https://tools.ietf.org/html/rfc5077#section-5.6>`_. Only seconds can be specified (fractional seconds are ignored).
.google.protobuf.Duration session_timeout = 6 [(.validate.rules) = { ... }- Returns:
- Whether the sessionTimeout field is set.
-
getSessionTimeout
com.google.protobuf.Duration getSessionTimeout()
If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session. Currently this value is used as a hint for the `TLS session ticket lifetime (for TLSv1.2) <https://tools.ietf.org/html/rfc5077#section-5.6>`_. Only seconds can be specified (fractional seconds are ignored).
.google.protobuf.Duration session_timeout = 6 [(.validate.rules) = { ... }- Returns:
- The sessionTimeout.
-
getSessionTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getSessionTimeoutOrBuilder()
If specified, ``session_timeout`` will change the maximum lifetime (in seconds) of the TLS session. Currently this value is used as a hint for the `TLS session ticket lifetime (for TLSv1.2) <https://tools.ietf.org/html/rfc5077#section-5.6>`_. Only seconds can be specified (fractional seconds are ignored).
.google.protobuf.Duration session_timeout = 6 [(.validate.rules) = { ... }
-
getSessionTicketKeysTypeCase
DownstreamTlsContext.SessionTicketKeysTypeCase getSessionTicketKeysTypeCase()
-
-