Interface CommonTlsContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonTlsContext
,CommonTlsContext.Builder
public interface CommonTlsContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAlpnProtocols
(int index) Supplies the list of ALPN protocols that the listener should expose.com.google.protobuf.ByteString
getAlpnProtocolsBytes
(int index) Supplies the list of ALPN protocols that the listener should expose.int
Supplies the list of ALPN protocols that the listener should expose.Supplies the list of ALPN protocols that the listener should expose.Combined certificate validation context holds a default CertificateValidationContext and SDS config.Combined certificate validation context holds a default CertificateValidationContext and SDS config.Custom TLS handshaker.Custom TLS handshaker.TLS key log configurationTLS key log configurationDeprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificate_certificate_provider is deprecated.Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificate_certificate_provider_instance is deprecated.Deprecated.Deprecated.Certificate provider instance for fetching TLS certs.Certificate provider instance for fetching TLS certs.getTlsCertificates
(int index) Only a single TLS certificate is supported in client contexts.int
Only a single TLS certificate is supported in client contexts.getTlsCertificateSdsSecretConfigs
(int index) Configs for fetching TLS certificates via SDS API.int
Configs for fetching TLS certificates via SDS API.Configs for fetching TLS certificates via SDS API.getTlsCertificateSdsSecretConfigsOrBuilder
(int index) Configs for fetching TLS certificates via SDS API.List
<? extends SdsSecretConfigOrBuilder> Configs for fetching TLS certificates via SDS API.Only a single TLS certificate is supported in client contexts.getTlsCertificatesOrBuilder
(int index) Only a single TLS certificate is supported in client contexts.List
<? extends TlsCertificateOrBuilder> Only a single TLS certificate is supported in client contexts.TLS protocol versions, cipher suites etc.TLS protocol versions, cipher suites etc.How to validate peer certificates.Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.validation_context_certificate_provider is deprecated.Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.validation_context_certificate_provider_instance is deprecated.Deprecated.Deprecated.How to validate peer certificates.Config for fetching validation context via SDS API.Config for fetching validation context via SDS API.boolean
Combined certificate validation context holds a default CertificateValidationContext and SDS config.boolean
Custom TLS handshaker.boolean
TLS key log configurationboolean
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificate_certificate_provider is deprecated.boolean
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificate_certificate_provider_instance is deprecated.boolean
Certificate provider instance for fetching TLS certs.boolean
TLS protocol versions, cipher suites etc.boolean
How to validate peer certificates.boolean
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.validation_context_certificate_provider is deprecated.boolean
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.validation_context_certificate_provider_instance is deprecated.boolean
Config for fetching validation context via SDS API.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTlsParams
boolean hasTlsParams()TLS protocol versions, cipher suites etc.
.envoy.extensions.transport_sockets.tls.v3.TlsParameters tls_params = 1;
- Returns:
- Whether the tlsParams field is set.
-
getTlsParams
TlsParameters getTlsParams()TLS protocol versions, cipher suites etc.
.envoy.extensions.transport_sockets.tls.v3.TlsParameters tls_params = 1;
- Returns:
- The tlsParams.
-
getTlsParamsOrBuilder
TlsParametersOrBuilder getTlsParamsOrBuilder()TLS protocol versions, cipher suites etc.
.envoy.extensions.transport_sockets.tls.v3.TlsParameters tls_params = 1;
-
getTlsCertificatesList
List<TlsCertificate> getTlsCertificatesList()Only a single TLS certificate is supported in client contexts. In server contexts, :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates and support SNI-based selection. If ``tls_certificate_provider_instance`` is set, this field is ignored. If this field is set, ``tls_certificate_sds_secret_configs`` is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.TlsCertificate tls_certificates = 2;
-
getTlsCertificates
Only a single TLS certificate is supported in client contexts. In server contexts, :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates and support SNI-based selection. If ``tls_certificate_provider_instance`` is set, this field is ignored. If this field is set, ``tls_certificate_sds_secret_configs`` is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.TlsCertificate tls_certificates = 2;
-
getTlsCertificatesCount
int getTlsCertificatesCount()Only a single TLS certificate is supported in client contexts. In server contexts, :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates and support SNI-based selection. If ``tls_certificate_provider_instance`` is set, this field is ignored. If this field is set, ``tls_certificate_sds_secret_configs`` is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.TlsCertificate tls_certificates = 2;
-
getTlsCertificatesOrBuilderList
List<? extends TlsCertificateOrBuilder> getTlsCertificatesOrBuilderList()Only a single TLS certificate is supported in client contexts. In server contexts, :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates and support SNI-based selection. If ``tls_certificate_provider_instance`` is set, this field is ignored. If this field is set, ``tls_certificate_sds_secret_configs`` is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.TlsCertificate tls_certificates = 2;
-
getTlsCertificatesOrBuilder
Only a single TLS certificate is supported in client contexts. In server contexts, :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the same context to allow both RSA and ECDSA certificates and support SNI-based selection. If ``tls_certificate_provider_instance`` is set, this field is ignored. If this field is set, ``tls_certificate_sds_secret_configs`` is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.TlsCertificate tls_certificates = 2;
-
getTlsCertificateSdsSecretConfigsList
List<SdsSecretConfig> getTlsCertificateSdsSecretConfigsList()Configs for fetching TLS certificates via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake. The same number and types of certificates as :ref:`tls_certificates <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificates>` are valid in the the certificates fetched through this setting. If ``tls_certificates`` or ``tls_certificate_provider_instance`` are set, this field is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig tls_certificate_sds_secret_configs = 6;
-
getTlsCertificateSdsSecretConfigs
Configs for fetching TLS certificates via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake. The same number and types of certificates as :ref:`tls_certificates <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificates>` are valid in the the certificates fetched through this setting. If ``tls_certificates`` or ``tls_certificate_provider_instance`` are set, this field is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig tls_certificate_sds_secret_configs = 6;
-
getTlsCertificateSdsSecretConfigsCount
int getTlsCertificateSdsSecretConfigsCount()Configs for fetching TLS certificates via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake. The same number and types of certificates as :ref:`tls_certificates <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificates>` are valid in the the certificates fetched through this setting. If ``tls_certificates`` or ``tls_certificate_provider_instance`` are set, this field is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig tls_certificate_sds_secret_configs = 6;
-
getTlsCertificateSdsSecretConfigsOrBuilderList
List<? extends SdsSecretConfigOrBuilder> getTlsCertificateSdsSecretConfigsOrBuilderList()Configs for fetching TLS certificates via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake. The same number and types of certificates as :ref:`tls_certificates <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificates>` are valid in the the certificates fetched through this setting. If ``tls_certificates`` or ``tls_certificate_provider_instance`` are set, this field is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig tls_certificate_sds_secret_configs = 6;
-
getTlsCertificateSdsSecretConfigsOrBuilder
Configs for fetching TLS certificates via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake. The same number and types of certificates as :ref:`tls_certificates <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificates>` are valid in the the certificates fetched through this setting. If ``tls_certificates`` or ``tls_certificate_provider_instance`` are set, this field is ignored.
repeated .envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig tls_certificate_sds_secret_configs = 6;
-
hasTlsCertificateProviderInstance
boolean hasTlsCertificateProviderInstance()Certificate provider instance for fetching TLS certs. If this field is set, ``tls_certificates`` and ``tls_certificate_provider_instance`` are ignored. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance tls_certificate_provider_instance = 14;
- Returns:
- Whether the tlsCertificateProviderInstance field is set.
-
getTlsCertificateProviderInstance
CertificateProviderPluginInstance getTlsCertificateProviderInstance()Certificate provider instance for fetching TLS certs. If this field is set, ``tls_certificates`` and ``tls_certificate_provider_instance`` are ignored. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance tls_certificate_provider_instance = 14;
- Returns:
- The tlsCertificateProviderInstance.
-
getTlsCertificateProviderInstanceOrBuilder
CertificateProviderPluginInstanceOrBuilder getTlsCertificateProviderInstanceOrBuilder()Certificate provider instance for fetching TLS certs. If this field is set, ``tls_certificates`` and ``tls_certificate_provider_instance`` are ignored. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CertificateProviderPluginInstance tls_certificate_provider_instance = 14;
-
hasTlsCertificateCertificateProvider
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificate_certificate_provider is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=273Certificate provider for fetching TLS certificates. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider tls_certificate_certificate_provider = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- Whether the tlsCertificateCertificateProvider field is set.
-
getTlsCertificateCertificateProvider
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificate_certificate_provider is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=273Certificate provider for fetching TLS certificates. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider tls_certificate_certificate_provider = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- The tlsCertificateCertificateProvider.
-
getTlsCertificateCertificateProviderOrBuilder
@Deprecated CommonTlsContext.CertificateProviderOrBuilder getTlsCertificateCertificateProviderOrBuilder()Deprecated.Certificate provider for fetching TLS certificates. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider tls_certificate_certificate_provider = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
hasTlsCertificateCertificateProviderInstance
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificate_certificate_provider_instance is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=278Certificate provider instance for fetching TLS certificates. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance tls_certificate_certificate_provider_instance = 11 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- Whether the tlsCertificateCertificateProviderInstance field is set.
-
getTlsCertificateCertificateProviderInstance
@Deprecated CommonTlsContext.CertificateProviderInstance getTlsCertificateCertificateProviderInstance()Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificate_certificate_provider_instance is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=278Certificate provider instance for fetching TLS certificates. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance tls_certificate_certificate_provider_instance = 11 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- The tlsCertificateCertificateProviderInstance.
-
getTlsCertificateCertificateProviderInstanceOrBuilder
@Deprecated CommonTlsContext.CertificateProviderInstanceOrBuilder getTlsCertificateCertificateProviderInstanceOrBuilder()Deprecated.Certificate provider instance for fetching TLS certificates. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance tls_certificate_certificate_provider_instance = 11 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
hasValidationContext
boolean hasValidationContext()How to validate peer certificates.
.envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext validation_context = 3;
- Returns:
- Whether the validationContext field is set.
-
getValidationContext
CertificateValidationContext getValidationContext()How to validate peer certificates.
.envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext validation_context = 3;
- Returns:
- The validationContext.
-
getValidationContextOrBuilder
CertificateValidationContextOrBuilder getValidationContextOrBuilder()How to validate peer certificates.
.envoy.extensions.transport_sockets.tls.v3.CertificateValidationContext validation_context = 3;
-
hasValidationContextSdsSecretConfig
boolean hasValidationContextSdsSecretConfig()Config for fetching validation context via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig validation_context_sds_secret_config = 7;
- Returns:
- Whether the validationContextSdsSecretConfig field is set.
-
getValidationContextSdsSecretConfig
SdsSecretConfig getValidationContextSdsSecretConfig()Config for fetching validation context via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig validation_context_sds_secret_config = 7;
- Returns:
- The validationContextSdsSecretConfig.
-
getValidationContextSdsSecretConfigOrBuilder
SdsSecretConfigOrBuilder getValidationContextSdsSecretConfigOrBuilder()Config for fetching validation context via SDS API. Note SDS API allows certificates to be fetched/refreshed over the network asynchronously with respect to the TLS handshake.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig validation_context_sds_secret_config = 7;
-
hasCombinedValidationContext
boolean hasCombinedValidationContext()Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;
- Returns:
- Whether the combinedValidationContext field is set.
-
getCombinedValidationContext
CommonTlsContext.CombinedCertificateValidationContext getCombinedValidationContext()Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;
- Returns:
- The combinedValidationContext.
-
getCombinedValidationContextOrBuilder
CommonTlsContext.CombinedCertificateValidationContextOrBuilder getCombinedValidationContextOrBuilder()Combined certificate validation context holds a default CertificateValidationContext and SDS config. When SDS server returns dynamic CertificateValidationContext, both dynamic and default CertificateValidationContext are merged into a new CertificateValidationContext for validation. This merge is done by Message::MergeFrom(), so dynamic CertificateValidationContext overwrites singular fields in default CertificateValidationContext, and concatenates repeated fields to default CertificateValidationContext, and logical OR is applied to boolean fields.
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CombinedCertificateValidationContext combined_validation_context = 8;
-
hasValidationContextCertificateProvider
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.validation_context_certificate_provider is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=300Certificate provider for fetching validation context. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider validation_context_certificate_provider = 10 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- Whether the validationContextCertificateProvider field is set.
-
getValidationContextCertificateProvider
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.validation_context_certificate_provider is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=300Certificate provider for fetching validation context. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider validation_context_certificate_provider = 10 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- The validationContextCertificateProvider.
-
getValidationContextCertificateProviderOrBuilder
@Deprecated CommonTlsContext.CertificateProviderOrBuilder getValidationContextCertificateProviderOrBuilder()Deprecated.Certificate provider for fetching validation context. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProvider validation_context_certificate_provider = 10 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
hasValidationContextCertificateProviderInstance
Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.validation_context_certificate_provider_instance is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=305Certificate provider instance for fetching validation context. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance validation_context_certificate_provider_instance = 12 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- Whether the validationContextCertificateProviderInstance field is set.
-
getValidationContextCertificateProviderInstance
@Deprecated CommonTlsContext.CertificateProviderInstance getValidationContextCertificateProviderInstance()Deprecated.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.validation_context_certificate_provider_instance is deprecated. See envoy/extensions/transport_sockets/tls/v3/tls.proto;l=305Certificate provider instance for fetching validation context. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance validation_context_certificate_provider_instance = 12 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Returns:
- The validationContextCertificateProviderInstance.
-
getValidationContextCertificateProviderInstanceOrBuilder
@Deprecated CommonTlsContext.CertificateProviderInstanceOrBuilder getValidationContextCertificateProviderInstanceOrBuilder()Deprecated.Certificate provider instance for fetching validation context. [#not-implemented-hide:]
.envoy.extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance validation_context_certificate_provider_instance = 12 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getAlpnProtocolsList
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;
- Returns:
- A list containing the alpnProtocols.
-
getAlpnProtocolsCount
int getAlpnProtocolsCount()Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;
- Returns:
- The count of alpnProtocols.
-
getAlpnProtocols
Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;
- Parameters:
index
- The index of the element to return.- Returns:
- The alpnProtocols at the given index.
-
getAlpnProtocolsBytes
com.google.protobuf.ByteString getAlpnProtocolsBytes(int index) Supplies the list of ALPN protocols that the listener should expose. In practice this is likely to be set to one of two values (see the :ref:`codec_type <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.codec_type>` parameter in the HTTP connection manager for more information): * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. * "http/1.1" If the listener is only going to support HTTP/1.1. There is no default for this parameter. If empty, Envoy will not expose ALPN.
repeated string alpn_protocols = 4;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the alpnProtocols at the given index.
-
hasCustomHandshaker
boolean hasCustomHandshaker()Custom TLS handshaker. If empty, defaults to native TLS handshaking behavior.
.envoy.config.core.v3.TypedExtensionConfig custom_handshaker = 13;
- Returns:
- Whether the customHandshaker field is set.
-
getCustomHandshaker
TypedExtensionConfig getCustomHandshaker()Custom TLS handshaker. If empty, defaults to native TLS handshaking behavior.
.envoy.config.core.v3.TypedExtensionConfig custom_handshaker = 13;
- Returns:
- The customHandshaker.
-
getCustomHandshakerOrBuilder
TypedExtensionConfigOrBuilder getCustomHandshakerOrBuilder()Custom TLS handshaker. If empty, defaults to native TLS handshaking behavior.
.envoy.config.core.v3.TypedExtensionConfig custom_handshaker = 13;
-
hasKeyLog
boolean hasKeyLog()TLS key log configuration
.envoy.extensions.transport_sockets.tls.v3.TlsKeyLog key_log = 15;
- Returns:
- Whether the keyLog field is set.
-
getKeyLog
TlsKeyLog getKeyLog()TLS key log configuration
.envoy.extensions.transport_sockets.tls.v3.TlsKeyLog key_log = 15;
- Returns:
- The keyLog.
-
getKeyLogOrBuilder
TlsKeyLogOrBuilder getKeyLogOrBuilder()TLS key log configuration
.envoy.extensions.transport_sockets.tls.v3.TlsKeyLog key_log = 15;
-
getValidationContextTypeCase
CommonTlsContext.ValidationContextTypeCase getValidationContextTypeCase()
-